Kubuntu won't run kdm or kdm-kde4

Karl Klinger karlok at fastmail.fm
Mon Apr 14 05:30:18 UTC 2008


John DeCarlo wrote:
> If I try sudo /etc/init.d/kdm or kdm-kde4, I get the same answer:
> 
> "Not starting K Display Manager (kdm-kde4); it is not the default 
> display manager."

The message is generated by this bit of code in the /etc/init.d/kdm script:

     if [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
        [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
        [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
       echo "Not starting K Display Manager (kdm); it is not the default 
display manager."

In my script contains:
	DAEMON=/usr/bin/kdm"
	DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
so if $DAEMON and the contents of /etc/X11/default-display-manager don't 
match the message is displayed and kdm is not started.

Karl




More information about the kubuntu-users mailing list