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.
Asked
Active
Viewed 2,675 times
3
Lekensteyn
- 171,743
- 65
- 311
- 401
rjh
- 167
- 2
- 9
1 Answers
3
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.
Oli
- 289,791
- 117
- 680
- 835
-
@Oli what about if I want to prevent `kdm` and `lightdm`? Will it work ok (I mean log in at system will be ok)? – catch23 Dec 29 '13 at 18:33