Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 272834

Summary: kdm-4.2.4 doesn't start with -kdeprefix
Product: Gentoo Linux Reporter: Leonid Podolny <leonidp.lists>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leonid Podolny 2009-06-05 21:15:39 UTC
When I run "/etc/init.d/xdm start" I receive the message saying that it can't find /usr/bin/xdm. My $DISPLAYMANAGER is kdm-4.2.
I traced the problem down to setup+dm function in /etc/init.d/xdm. There, it says:
                kdm-*)
                        EXE="/usr/kde/${MY_XDM#kdm-}/bin/kdm"
                        PIDFILE=
                        ;;
Replacing the EXE line with EXE="/usr/bin/kdm" solves the issue.
Comment 1 Leonid Podolny 2009-06-06 12:11:53 UTC
The exact message is:

* Setting up xdm...
* start-stop-daemon: /usr/bin/xdm does not exist

* ERROR: could not start the Display Manager
 [ ok ]
Comment 2 Ian Leonard 2009-06-07 09:04:56 UTC
Looks like the init script is expecting DISPLAYMANAGER=kdm for -kdeprefix. Does it work that way?
Comment 3 Leonid Podolny 2009-06-07 16:05:20 UTC
(In reply to comment #2)
> Looks like the init script is expecting DISPLAYMANAGER=kdm for -kdeprefix. Does
> it work that way?
> 

Yes, it does. I should have guessed.