LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-16-2009, 05:41 AM   #1
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Unhappy Problem starting gui, "$DISPLAY is not set or cannot connect to the x server"


Hi, I have a problem starting the gui on my system.

I messed up an upgrade to kde4.2, Which was working very nicely,

But my keyboard kept dropping out, some boots it would work, and some would not.

using both xfce4 and kde4.2

(I later figured out the batteries need changing, lol! "read, crying a lot")

I also had no responce from mouse clicks in xfce4, while it was working...

I continued the upgrade to include some mandriva pakages, and x11 from cooker

to try and resolve the keyboard and mouse malfunctions.

I have since reinstalled from 2008.1 official release and

upgraded the kernel and installed the nvidia graphics

Now My problem is...

When the system starts up, X starts (I think), but the gui remains a blank

blue screen with an 'X' shaped cursor. The mouse works!

kdm login page does not appear, not does it continue to boot to the kde4 gui.

The nvidia graphics splash appears before the blue screen.

The error I get is this
Code:
xinit: symbol lookup error: /usr/lin64/libX11.so.6: undefined symbol :xcb_take_socket
Now, I checked the deps for xinit, and noticed that xfce4 relies on it.

If I stop the xinit service from starting...

The other error is
Code:
$DISPLAY is not set or cannot connect to the x server
I have tried a few things to get around this,

type...
Code:
export DISPLAY=:0.0
But that does not seem to solve the problem.

I searched the system for missing libs with
Code:
rpm -Va | grep miss
shows no real problems, (only mesa libs missing, replaced by nVidia proprietary driver 180.29)

I have also reinstalled lib64kde4core and kdm

and renamed the .kde4 and .kde from home/glenn and /root

My system works cli mode so I can change things if need be...

working from winxp atm,

any tips?

Cheers, Glenn
 
Old 02-16-2009, 05:59 AM   #2
greeneagle
Member
 
Registered: Dec 2004
Location: Dublin Ireland via Cobh, Limerick.
Distribution: RedHat, Suse, Ubuntu.
Posts: 33

Rep: Reputation: 16
oh dear ...

When you have a blank X screen try starting any window manager. Try twm (tiny window manager) or other ones. Trying to start the kde window manager by hand and debugging that might be worth while? Does anyone know how best to manually start kde window manager or what it is called?

> xinit: symbol lookup error: /usr/lin64/libX11.so.6: undefined symbol :xcb_take_socket

That is suspicious. Something is inconsistent in your libs. That could be just the tip of the iceberg.

Maybe recoverable from but hard to know.
Possible to uninstall and reinstall some/many/all X11 packages?

Or maybe your packages are now consistent but that is a problem with them.
Google for the socket error you're getting.
http://www.google.ie/search?q=%22und...take_socket%22

Sorry not much help and can't help you any more.

Good luck!
 
Old 02-16-2009, 06:36 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Smile

Hi, thank you for the response.

I will try again, I tried to uninstall/roll-back the x11 package mentioned in that link.

But the deps were over 1200 packages to be removed. So I backed off.

But that may be it, I'll have another go at it.

I searched the other error, but got so entrenched, forgot to continue.

I've been working on this for 3 days.

Cheers, Glenn

ps, I tried icewm, xfce4, gnome and windowmaker.

Last edited by GlennsPref; 02-16-2009 at 06:38 AM. Reason: I tried other wm's
 
Old 02-16-2009, 07:31 AM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Smile

Hi, yes you were quite right, I rolled back the versions of the packages

lib64x11_6
and
lib64xcb1

and I was able to startx in root (that's where I was working on it)

And kde4.2 started. Still a few problems there, no response from icons being clicked

But the menu did respond, and I was able to exit cleanly.

But that can wait for now.

Essentially, I reinstalled the packages from 2009.0 official release dvd (edit. a local repo mentioned below).

I got a similar error when I tried to login to user glenn,

but I feel that one hurdle has been overcome.

I have to sign off till tomorrow,

Thanks heaps!

Cheers, Glenn

Last edited by GlennsPref; 02-17-2009 at 04:24 AM. Reason: local repo
 
Old 02-16-2009, 09:48 AM   #5
greeneagle
Member
 
Registered: Dec 2004
Location: Dublin Ireland via Cobh, Limerick.
Distribution: RedHat, Suse, Ubuntu.
Posts: 33

Rep: Reputation: 16
whew! sounds okay. There should be a Despair.com poster for this stuff.
 
Old 02-16-2009, 03:53 PM   #6
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Sorry, Glenn. I should have cautioned against using the cooker X11 packages. I had a similar problem here when I went too far (I was trying to use the KDE 4.2 packages from cooker before I found the repository(s) I posted about earlier). It seems there is still a significant volume of work to be done getting the X11 packages working for the 2009.1 release. What I did was to do a clean install of Mandriva 2009.0, then add the KDE 4.2.0 repositories I found (and posted about), but i stuck with the Xorg installation default with 2009.0. KDE is working well here, no trouble with either mouse or keyboard, and plasma seems to start and stop without error (not the case with KDE 4.1.3). Good luck with getting things to work correctly . . .
 
Old 02-17-2009, 03:58 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Post Some progress, Still working on it.

Hi, thanks for the messages.

I was my fault, I confused some symptoms, and charged on.

I have root working, but not the users, /home/music and /home/glenn. xinit errors still.

I have cleaned the home folders of .kde .kde4 .xfce4, thunar

I can't get firefox to start with a mouse click, or anything else from the task bar, from root account.

except the menu button and some of the programs.

Not MCC, smart (package manager) rpmdrake (mandriva software installer tool)

But kate, konsole (with zsh), vi and dolphin work, so I can do some things.

urpmi and smart work from the cli. I have not tried the other progs from cli, yet.

Under the covers all seems well, internet, and services like atomic.firewall script(iptables), squid, http, etc.

But I have not checked everything, like gtk+, python and perl. Or Plasma.

This my first boot of the day to address mail and posts, maybe I need yum!
(I should of advised to add to mdv wish list, but I'm done there.)

But this is wip!

And still quite exciting.

I have lost no real data, and just need to configure it more, But stop before it breaks, lol.

My main problem with this is I have only a 2008.1 dvd, and a 2009.0rc1 mini cdrom(kde4.1.x)

(that fails at the rebuild rpm database stage, sheesh!)

I'm using my rpms from "urpmi --noclean" pkg.name.rpm's

that I have saved and configured for a local rpm repo with genhdlist2.

Cheers, and thanks again, Glenn

btw, the arch-linux repos have the same problem, the arch thread posted by greeneagle is very current.

Last edited by GlennsPref; 02-17-2009 at 04:02 AM. Reason: clarification of what works where, root gui progs.
 
Old 02-18-2009, 08:17 AM   #8
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
I install / upgrade / repair my system using a USB flash drive here. I get the all.img file from the mirror of my choice located under ~/official/current/i586/install/images (i586) official/current/x86_64/install/images (x86_64). I install the file with dd
Code:
dd if = ~/all.img of = /dev/sdb1
Note: Replace the tilde (~) in the preceding command with the full path to the file all.img on your system. Substitute /dev/sdb1 with the true location of your USB flash drive. To use the drive, I boot from the flash drive (with a change of settings in my system BIOS), then provide the requested information at each prompt. I use DHCP and no user name or password since I use a cable internet connection (so no ppptp) and I choose the ftp install option. I choose the ftp install option, and provide the information for the ftp mirror of my choice. Aa an example, you can enter for the ftp mirror
Code:
ftp://mirrors.secsop.org
and for the path
Code:
pub/linux/mandrakelinux/official/2009.0/i586
The Mandriva mirrors should require no user name or password.

HTH,
 
Old 02-18-2009, 05:48 PM   #9
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hey, thanks Ernie.

I have to check that out.

I have a 4Gb and a 256Mb flash drive just for this type of thing.

ATm, I still have no keys in /home/...

I'll try and sort that today.

And my other probs...

I can't get the gui's for smart or drakrpm to work. (or any drak system wizards)

that is probably something I have missed, either old ver (2008.1) or a

cooker package installed that I can't find on my system.

But without the gui package managers I find it hard to sort the installed

packages by arch and version/release.

(ie. architecture x86_64 -> i586, repo release 2008.1 -> 2009.0 -> 2009.1)

Most everything else is OK, but I have not moved on to Multimedia progs yet.

But I'm still working on it, rpm -Va | grep miss still shows no real probs.

wip

Regards, Glenn
 
Old 02-18-2009, 11:20 PM   #10
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
If you can run a program at the terminal prompt, but not from the menu entry, the fix may be as simple as editing the menu entry with menu editor (ALT+Click the Kmenu icon - aka widget and choose Menu Editor in the resulting pop-up list). Sometimes I get so wrapped up in the complexity of a set of problems I overlook the simplest answers (which usually turn out to be the correct solutions . . .). If you can not run konsole, try checking the menu entry as a first step.

Good luck,

Last edited by ernie; 02-18-2009 at 11:22 PM.
 
Old 02-19-2009, 01:13 AM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Thanks, Ernie,

by mouse click I have

konsole, and firefox, kate, kompozer, kbackup, Konqueror, dolphin, Configure-your-desktop, desktop-effects

(cube etc, without compiz/compiz-fusion), xine, Amarok2

(but I don't use any of these as root, But I have no keys at home/glenn.)

but by cli or shell, It seems that gimp, run, drakconf and any other drakx program

flash up on the screen and disappear quickly. Gimp is most noticeable.

Still looking, My sister says she will rescue me with a MDV 2009.0 dvd.

Then I can start from the beginning again. Clean I hope.

I checked some of the icon links and they look fine,

the program is where it (the icon link) says it should be.

I'm still thinking I have a corrupt lib, or something.

Regards, Glenn
 
Old 02-20-2009, 07:18 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Sadness emoticons,

:'( ;-(

:'-( ;(

I should never have tried to upgrade from 2008.1 to 2009.0.

I still have a few 2008.1 packages installed, but now almost everything is working.

I decided to organise and clean up my local repos.

Then issued urpmi --update --auto-select

I got quite a few dep errors there and manually cleared the way for

the install of 463 packages, 50 to 60 of them were not on the local repo.

After it failed a few times I had all the packages on my harddrive (Local_repo).

Then because I had stopped the install process, and corrupted the rpm.db file.

I decided to install each package (with any deps), 462 of them in a shell.

I like the kde4.2 packages look,

and plasm or krunner do not crash until I start the system.

I still have a few things to sort out, but it's usable now.

Regards, Glenn
 
Old 02-28-2009, 05:42 AM   #13
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, I finally got out of dependency hell, and now my system is fully updated.

With main-updates(official) and kde4.2.

I avoided upgrading X to cooker, which confused me.

Whew!

Regards, Glenn
 
Old 02-28-2009, 09:08 AM   #14
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Happy to hear you finally got it sorted . . .

Funny though, the only thing I had to do to upgrade to KDE-4.2.0 from the default KDE-4.1.3 installed with MDV-2009.0 was to add the KDE-4.2.0 repos then install the task-kde-4.2.0 package (and all dependencies) here. The main difference I see from info in this thread is that I started with a clean install of MDV-2009.0 rather than an upgrade from MDV-2008.1 to MDV-2009.0 so I had no 2008.1 repos (or packages) to confuse things (Note: There are a few packages that are installed with MDV-2009.0 that retain the 2008.1 release identifier). I also used the unofficial MDV repository from KDE.org rather than the cooker packages. You can find the URI for the repo in Konqueror. Select the Network icon in the navigation pane (left) and expand the folders (FTP archives > KDE Official FTP > stable > 4.2.0 > Mandriva > 2009.0 > RPMS > Archetecture (x86_64 or i586). There is also a noarch repo under the RPMS directory which contains the I10n internationalization packages.

One fact has been made abundantly clear from your experience Glenn, If one is not an experienced Linux user (fully familiar with Mandriva) this is not an undertaking that should be considered as there are many possible pitfalls along the way. There are many improvements in KDE-4.2.0 which I do not want to be without now that I have them (including the ability to display desktop widgets on my screensaver), but (as with any major change to your installed system) you run the risk of system corruption resulting in partial or possibly total data loss. Even though a good set of system backups can mitigate the risk, the time and effort required to recover from such an event should not be taken lightly. Linux newbies be warned, if you can not lose the information stored on your Mandriva Linux installation, do not proceed without the aid of a Linux guru (someone very knowledgeable).

HTH,
 
Old 02-28-2009, 06:15 PM   #15
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, thanks for the reply.

And the tips.

After I had kde2.4 running

I made the mistake of trying to upgrade X (x11 and xorg packages) from cooker.

I spent the best part of 4 days with only a cli, (I also still had winxp, and the kitchen machine with kde3.5.10 on the network)

During that period my system was functioning as usual except no gui, all services and daemons working as normal.

My data was and still is safe because I use separate partitions for near everything.

I learned a heap of commands (and their args), especially rpm, urpmi and smart.

My favourite one was urpmi --noclean --excludemedia cooker (Package.name) and sometimes --resume

That enabled me to get x back.

It forced me to write and debug a shell (backup-rpms) script with vi (cli text editor)
using chmod, urpmi smart genhdlist2 and of course copy and move commands.
(in reverse order) to backup the dl'd rpms to my repo directory.

I can't prove it, but I think the problem was with incompatible x packages (from cooker).

So, this was probably an extreme case, and should not be considered to be caused by a bug.

Cheers, and thanks

Glenn

I probably won't get that Mandriva dvd till April (2009.1-Spring)

Last edited by GlennsPref; 02-28-2009 at 06:19 PM.
 
  


Reply

Tags
kde42, kdm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash / GUI Equivalent to "Go > Connect to Server" Viną Linux - Newbie 4 02-07-2009 12:25 AM
Cannot connect to X11 window server using ":).0" as DISPLAY variable cclack Linux - Newbie 4 09-06-2007 09:32 PM
"Fatal IO error 104" stops linux GUI starting NoobDave Linux - Software 4 08-08-2006 03:10 PM
Problem with "Connect to server" in Gnome/SuSE 10 ggeeoo Linux - Newbie 3 01-14-2006 01:02 PM
Problem starting Mplayer GUI "gmplayer" PunkPT Linux - Software 6 12-27-2004 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration