KDM no longer automatically starts on bootup
Hey,
I thought that i'd have a change and use GDM instead of KDM on my Kubuntu 7.04 install. However, this proved to be a bit problematic and led to session problems using Xgl (don't ask me why), and i decided it was too much trouble for what essentially is a bit of eyecandy. However, now that i have reverted back to KDM it no longer automatically starts on bootup, it just gives me the text login. I can login then sudo kdm, but this is a) annoying and b) means that there is always an extra session running that is not needed. Anybody have any ideas about how to fix this, as i really don't know much about how to configure KDM and google isn't wealding much.... Cheers |
Not sure if it works on (K)Ubuntu, but on Debian I use sudo dpkg-reconfigure kdm.
|
Hi,
Yer i'd already tried that, and it doesn't help unfortunately. Anybody got any other ideas?? |
You should try using xdm... lighter, more effective than (g)kdm... imho, of course...
|
- check the file /etc/X11/default-display-manager, it should contain '/usr/bin/kdm'. This is also what the dpkg-reconfigure command is supposed to do.
- check the runlevel links in /etc/rcX.d, they should contain links to the startscript. rc2 is for the multiuser runlevel and should contain something like S99kdm, rc0 (for halt) and rc6 (for reboot) should contain K01kdm. If this is not the case you can manually correct it like this: update-rc.d -f remove kdm update-rc.d kdm start 99 2 . stop 01 0 6 . |
Thanks for the replies
Quote:
Quote:
Quote:
rc0 and rc6 contain K01kdm However, the when i run update-rc.d -f remove kdm i get update-rc.d: /etc/init.d/remove: file does not exist so the file /etc/init.d/kdm does not exit.... How do i create it?? sudo update-rc.d kdm start 99 2 . stop 01 0 6 tells me that the file does not exist... Oh and i've already tried a reinstall of KDM...;) Thanks in advance... |
Quote:
However, if the symlinks are there but the startscript is not, then you don't need to use those commands. Check manually if /etc/init.d/kdm exists or not. It is part of the kdm package, so reinstalling should solve the problem. You could also download the package (aptitude install -d kdm) and then extract the file. |
Quote:
Code:
update-rc.d -f kdm remove |
Quote:
What file needs to be in here? Do i just symlink to /usr/bin?? |
Why don't you try aptitude reinstall kdm and it should give you back the startup script.
|
Quote:
|
Maybe someone can post their /etc/init.d/kdm file for you to create it.
What is the output of ls -l |grep kdm when you're in the /etc/init.d directory? Is the file not there at all, or maybe the execute bit is just unset? |
Quote:
|
I still feel like sudo aptitude -f reinstall kdm should work... But I dug this out of the package file from the repository, but I'm not sure if it's correct (since I don't have Kubuntu)
Code:
#!/bin/sh |
Created the file, and then tried a reboot... However nothing doing!!! I might just leave it to be fair, it's not that much of a problem and i don't think that i'm going to get to the bottom of it!! Thanks for all your help.
|
All times are GMT -5. The time now is 01:21 PM. |