Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

X just crashed on my Ubuntu 10.04 computer. GNOME is working, but I would like to use KDE instead. Running

startx

just starts GNOME, loging out through GNOME brings me back to the shell. I tried

sudo kdm

but it doesn't do anything.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Don't run startx directly, instead use the startup scripts:

sudo start kdm

For Gnome, you would use:

sudo start gdm

For reference, equivalents of these command would be:

sudo service start kdm
sudo /etc/init.d/kdm start

(to be exact, the first is actually a wrapper which calls the new Upstart script)

share|improve this answer
    
Thanks for your help! –  Ryan Hoots May 17 '11 at 16:54
    
It worked! Thanks! –  Ryan Hoots May 17 '11 at 17:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.