kdm does not start (upstart) - error in /etc/init/kdm.conf

Bug #437067 reported by Kubicle
116
This bug affects 21 people
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Karmic by Brian Murray

Bug Description

Binary package hint: kdm

Kubuntu version:
9.10 (Karmic Koala

kdm version:
4:4.3.1-0ubuntu10
(switching kdm to upstart)

Symptoms:
kdm fails to start on boot-up, leaving user to a CLI login.

Suggested Fix:
/etc/init/kdm.conf:
16c16
< [ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/kdm" ]
---
> [ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/kdm" ]

Changed in kdebase-workspace (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Brooks (mjbrooks) wrote :

I can independently confirm that this resolves the issue that came in with the update I did today.

Revision history for this message
Jari Salo (jari-salo) wrote :

The solution suggested seems to fix this issue.

Revision history for this message
Wesley Schwengle (wesleys) wrote :

Confirming as well

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

The suggested solutions does not fix the problem for me. I've changed the path of kdm in kdm.conf as shown above, but when I do a restart, no KDM is started - I only see the virtual terminal. I can then start KDE with "startx".

Revision history for this message
Terry (terry-kryogenic) wrote :

I also confirm that the solution works for me.

Revision history for this message
kiki (pinnwandnagel) wrote :

The solution doesn't work for me either!

Revision history for this message
dyug (dyug) wrote :

Yes, confirmed.
fixed, working

Revision history for this message
Maik (maik-adamietz) wrote :

Same problems here too after te update last night, command line login. Could start the desktop by typing startx but there are Icons missing (restart and shutdown, no sound at all, KPackagekit throws an error at me whilest clicking on Refresh that i don't have enough rights or something like that. I also tried the daily build of today but it wasn't working either.

Revision history for this message
Harry (harry33) wrote :

So it is suggested to change the path: "/usr/sbin/kdm" into "/usr/bin/kdm".
My question is now, is there a file named kdm in the /usr/bin directory?
There is, however, the file kdm in the directory /usr/sbin.
At least in gnome the file named gdm cannot be found in the directory /usr/bin.

Using false directory is obviously not a fix to this bug.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Yes, there is a file named "kdm" ind "/usr/bin", but there is none in "/usr/sbin". It was there before the recent update too.

I too do not have sound now - but is this really related to this update? Or is this caused by the recent update of the kernel?

I have to emphasise that the fix mentioned here does not work for me.

tags: added: regression-potential
Revision history for this message
Gareth Hart (tghe-retford) wrote :

@Christrian: I found that if I used 'startx' to get to the desktop, both the sound and DVB card on my computer would not work.

Using 'sudo start kdm' and then 'sudo kdm' to get to the desktop worked.

Revision history for this message
Harry (harry33) wrote :

OK Christian, so there is a difference between kdm and gdm setups.
I did check this from both of my PC's (32-bit Karmic Ubuntu and 64-bit Karmic Ubuntu).
These both have the file "gdm" only in the directory "/urs/sbin", not in "usr/bin".
Both of these PC:s are updated from the main server. Just checked a few minutes ago.

Revision history for this message
MyXelf (jasmyxelf) wrote :

I was having the same issue after the update to 4:4.3.1-0ubuntu10. Fixed with the suggestion made by Kubicle. I don't know why the importance of this bug isn't set yet. Taking into account that everybody updating their current KDE packages in Karmic will be landing to the same cli. Can anybody give me an explanation?

(I'm just trying to understand what is happening, not criticizing or anything related...)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.3.1-0ubuntu11

---------------
kdebase-workspace (4:4.3.1-0ubuntu11) karmic; urgency=low

  * Fix path to KDM in kdm.upstart, Closes LP: #437067

 -- Jonathan Riddell <email address hidden> Sat, 26 Sep 2009 16:47:38 +0100

Changed in kdebase-workspace (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
MyXelf (jasmyxelf) wrote :

IMHO the fix should be deeper. I guess at least the vars DEFAULT_DISPLAY_MANAGER_FILE and DAEMON should be moved up in the script and use those vars in the [ -f ] conditional instead of the hard coded values used in the current script. Any comments?

Revision history for this message
Siegie (siegie) wrote :

It's fixed in the last upgrades,

Revision history for this message
Giuseppe Pennisi (giupenni78) wrote :

With today update the problem is come back. KDM not starts and persists a black screen. I must reboot and I must remove from grub the 'quiet' and 'splah' parametres for start KDM.

Package:
 kdm 4:4.3.1-0ubuntu14
 usplash 0.5.39

giuseppe

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Works for me without problems after update.

Revision history for this message
jamey0824 (jamesforyst) wrote :

Well, this isn't fixed properly because if for example you have kdm package installed (But not kde) then it doesn't fix the path issue for kdm. I have no idea how you reopent this so I will just open a new one. If I am doing this incorrectly let me know.

Revision history for this message
Kubicle (kubicle-deactivatedaccount) wrote :

@jamey0824:
Could you explain a bit more, kdm installs to /usr/bin/kdm whether or not you have kde installed (as opposed to gdm that installs in /usr/sbin/).

For kdm to start, it needs to be set as the default display manager ("/usr/bin/kdm" in /etc/X11/default-display-manager)

Revision history for this message
jajaX (jajaplanet) wrote :

Hi ! (sorry for my bad english)

same problem since my upgrade of kuntu jaunty to kubuntu karmic beta today.

kdm => 4.4.3.2-0ubuntu6(karmic)

see my kdm log

Revision history for this message
jajaX (jajaplanet) wrote :

in a kdm.conf files the fix is here :

[ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/kdm" ]

but kdm doesn't...

Revision history for this message
jajaX (jajaplanet) wrote :

/etc/X11/default-display-manager

Revision history for this message
Jonathan Riddell (jr) wrote :

jajax I think the error here is "(EE) Failed to load module "freetype" (module does not exist, 0)" which is a problem with X not KDM. Please file a bug with the command "ubuntu-bin xserver-xorg"

Revision history for this message
Jonathan Riddell (jr) wrote :

That should be "ubuntu-bug xserver-xorg"

Revision history for this message
jajaX (jajaplanet) wrote :

Hi (sorry for my bad english)

I don't modify nothing and kdm load fine this morning...

here my xorg.conf and my last Xorg.0.log

Revision history for this message
jajaX (jajaplanet) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.