erorr in /etc/init.d/kdm-kde4

Bug #189500 reported by Martin Gräßlin
12
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kdm-kde4

Just switched to kde-kde4 in 4.0.1. When trying to start /etc/init.d/kdm-kde4 I receive the error that genkdmconf-kde4 does not exists. And there is no such file in /usr/bin but there is a genkdmconf in /usr/lib/kde4/bin

I changed my /etc/init.d/kdm-kde4 to have /usr/lib/kde4/bin in the PATH and use genkdmconf instead of genkdmconf-kde4. But I think it would be better to have the wrapper script in /usr/bin...

I don't understand it, but I could not switch back to kdm 3.5. I tried dpkg-reconfigure kdm and dpkg-reconfigure kdm-kde4. I selected kdm in both, but every time I tried to use /etc/init.d/kdm restart I received a "kdm is not the default display manager". Really strange.

Revision history for this message
Tom Chiverton (bugs-launchpad-net-falkensweb) wrote :

I got exactly the same error after rebooting Kubuntu 7.10 after a large number of kde4-related packages showed up in adept_notifier as having an update.
I was dumped to the text console too.

My fix was to login there, and type 'startx' to boot the GUI.
Once there, I used synaptic to remove kde4's KDM, and reinstall the kde3 KDM. I did the dpkg-reconfigure for good measure, and rebooted.
The GUI login was back, and I could pick 'kde 4' from the options fine.

It *appears* that this update has moved and renamed a ton of the KDE4 binaries. I.e. kde4's version of 'konqueror' used to be 'konqueror-kde4' (or 'kde4-konqueror' can't remember) but is now just 'konqueror', and $PATH is fiddeled so that the kde4 binary is found first.
This has broken the (unchanged from the default) short cut entries on the menu, for instance, as well as kdm4.

Ho hum, beta software is like this :-)

Revision history for this message
James (james-ellis-gmail) wrote :

I got this problem as well after upgrading from 4.0.0 to 4.0.1 - kdm-kde4 fails to start. In 4.0.0 it was working fine - seems to be a pretty major thing when KDE doesn't start up because of a misconfigured kdm ?

When booting I get dumped to the shell. doing a 'startx' boots kde 3.5 and logging out of 3.5 dumps me back at the shell.

I'll try the path fix in the first note and report if it works for me.

Revision history for this message
Jeremy Melanson (jmelanson) wrote :

I had this same issue after doing an a package upgrade (via dselect) this morning.
The path fix worked, with an additional tweak. I had to edit my '/etc/X11/default-display-manager' file, and change '/usr/lib/kde4/bin/kdm-kde4' to '/usr/lib/kde4/bin/kdm'. After that, KDM-KDE4 is up and running.

Revision history for this message
anubhavrakshit (anubhavrocks) wrote :

Same error.Did a workaround by renaming "genkdmconf-kde4" to "genkdmconf" in /etc/init.d/kdm-kde4.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Should be fixed in 4:4.0.1-0ubuntu2

Changed in kdebase-workspace:
status: New → Fix Released
Revision history for this message
Tom Chiverton (bugs-launchpad-net-falkensweb) wrote :

Doesn't seem to appear in the repos yet...

Revision history for this message
Martin Gräßlin (ubuntu-martin-graesslin) wrote :

Works correctly with 4:4.0.1-0ubuntu2
thanks for fixing ;-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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