Problem starting gui, "$DISPLAY is not set or cannot connect to the x server"
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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 . . .
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
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
and for the path
The Mandriva mirrors should require no user name or password.
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.
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).
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
I probably won't get that Mandriva dvd till April (2009.1-Spring)
Last edited by GlennsPref; 02-28-2009 at 07:19 PM.