-   Linux - Desktop (
-   -   Having minor issues with Xserver. (

hacker supreme 04-14-2007 12:17 PM

Having minor issues with Xserver.
Having started with Ubuntu and it's plain GNOME desktop, I decided to add KDE to it.

When it asked me which Display manager I wanted as default I left it on GDM (As I didn't know what KDE was like). However I would like to make KDM the default.

This didn't seem like much of a problem until yesterday. Every time I boot up I get faced with a login prompt, not the wonderful KDE graphical login (obviously Xserver isn't starting).

I have to log in to TTY1 in command mode and 'sudo kdm' to get the KDM (and X) running.

This is not a major issue but I would like to not have to do this every time I boot up.

Sorry if this makes no sense. :D.

And it's not urgent. Everything works fine after I manually start KDM.

reddazz 04-14-2007 12:24 PM

Try the following,

$sudo update-rc.d -f kdm defaults

hacker supreme 04-14-2007 12:30 PM

Thanks you. A very prompt response, even though I did say it wasn't urgent! :D

" System startup links for /etc/init.d/kdm already exist."

Mara 04-14-2007 04:15 PM

Moved: This thread is more suitable in Linux-Desktop and has been moved accordingly to help your thread/question get the exposure it deserves.

You write that you have left GDM after install. Have you used it and then changed something to get KDM or was it the same way it is now from the first time?

hacker supreme 04-15-2007 08:51 AM

Mara: I left it at first and changed the default on the login window to load KDM after I logged in.
GDM is still installed.

Mara 04-15-2007 04:13 PM

You probably are running on runlevel 2. To check, run /etc/sbin/runlevel. You should get output like:

N 2
Then look into /etc/rc2.d/ (rc3.d if you're running runlevel 3 and so on). You should have S21kdm (or any other SXXkdm) pointing to /etc/init.d/kdm. If it's not there create it using

ln -s /etc/init.d/kdm /etc/rc2.d/S21kdm

hacker supreme 04-16-2007 02:13 AM

Ok, thanks Mara. I've tried that but I'm not sure if it works yet. (I'll try it when I get home again today.)

nx5000 04-16-2007 04:44 AM

Did you try
sudo dpkg-reconfigure kdm

If you haven't yet messed with the links, it should ask you which Session manager you want.
Should :)

Also take care with the S21. On my debian it is S99 which means that it's the last thing to be launched. You should still have an intact /etc/rc3.d/* so you might also check what was there before.

hacker supreme 04-17-2007 10:48 AM

Mara: Nope. it didn't work. thanks though.

nx5000: Yay! That worked. Thanks!

(And there was much rejoicing. :D)

All times are GMT -5. The time now is 03:07 PM.