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.

I would like to stop kdm from starting when my computer boots up. Is there a way to do that? kdm is my only graphical login program, I do not use gdm or xdm.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Disabling it should be as simple as:

sudo mv /etc/init/kdm.conf{,disabled}

The same should be the true for gdm (which also uses a upstart script in /etc/init/).

If you want to fine-tune it, edit /etc/init/kdm.conf and change its start on declarations. Just comment that entire section out and you'll still be able to run sudo start kdm when you want a graphical display.

share|improve this answer
    
Thank you, it works! –  Ryan Hoots Jun 15 '11 at 15:56
    
@Oli what about if I want to prevent kdm and lightdm? Will it work ok (I mean log in at system will be ok)? –  nazar_art Dec 29 '13 at 18:33
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.