Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116074 - kdm doesn't find /usr/bin/X after Update from KDE-3.1.5 to KDE-3.4.3
Summary: kdm doesn't find /usr/bin/X after Update from KDE-3.1.5 to KDE-3.4.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 11:52 UTC by mail
Modified: 2005-12-24 03:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail 2005-12-19 11:52:37 UTC
Today, I've updated my old KDE-3.1.5 to the most recent (stable) version, KDE-3.4.3. Everything worked fine until I had to reboot my box: kdm didn't start anymore. After a while, I figgured out why:

$ tail /var/log/messages
[...]
Dec 19 20:22:26 ares kdm[15710]: X server "/usr/bin/X" cannot be executed
Dec 19 20:22:26 ares kdm[15708]: X server for display :0 can't be started, session disabled
[...]

Obviously, kdm wants to run /usr/bin/X - which just doesn't (didn't) exist on my system for some reason. Perhaps it's because of an older version of X.org (4.3.0-r5)? 

Anyway, I just had to set a symlink to /usr/bin/X11/X manually:

$ cd /usr/bin
$ ln -s X11/X X
$ ls -lah | grep X
[...]
lrwxr-xr-x    1 root     root            5 19. Dez 20:23 X -> X11/X
lrwxrwxrwx    1 root     root           12  4. M
Comment 1 mail 2005-12-19 11:52:37 UTC
Today, I've updated my old KDE-3.1.5 to the most recent (stable) version, KDE-3.4.3. Everything worked fine until I had to reboot my box: kdm didn't start anymore. After a while, I figgured out why:

$ tail /var/log/messages
[...]
Dec 19 20:22:26 ares kdm[15710]: X server "/usr/bin/X" cannot be executed
Dec 19 20:22:26 ares kdm[15708]: X server for display :0 can't be started, session disabled
[...]

Obviously, kdm wants to run /usr/bin/X - which just doesn't (didn't) exist on my system for some reason. Perhaps it's because of an older version of X.org (4.3.0-r5)? 

Anyway, I just had to set a symlink to /usr/bin/X11/X manually:

$ cd /usr/bin
$ ln -s X11/X X
$ ls -lah | grep X
[...]
lrwxr-xr-x    1 root     root            5 19. Dez 20:23 X -> X11/X
lrwxrwxrwx    1 root     root           12  4. Mär 2004  X11 -> ../X11R6/bin

I didn't find other users with the same problem, but maybe you guys are interested in this... and maybe anyone out there can tell me why /usr/bin/X wasn't available on my box (I'm just interested...).
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-12-24 03:04:43 UTC
Yes, since some time now xorg-x11 installs itself in /usr/bin. I'm closing the bug since such old X versions are not supported anymore. However if you don't want to upgrade (and switch from xfree86 to xorg-x11) you can just correct the location of the X binary in the "ServerCmd=..." entry in /usr/kde/3.4/share/config/kdm/kdmrc