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 am looking to just force my box to end all GUI instances for server usage. I want to be able to start them back up again for desktop usage later on.

I have tried:

sudo /etc/init.d/gdm stop
sudo service gdm stop
sudo service gnome stop
sudo service gdm stop gdm: unrecognized service
sudo service gnome stop gnome: unrecognized service
sudo /etc/init.d/gdm stop sudo: /etc/init.d/gdm: command not found
share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Precise Pangolin uses lightdm instead of gdm, so something like the following should work.

sudo service lightdm stop
share|improve this answer
add comment

To stop lightdm , you can do

sudo stop lightdm

to start lightdm

sudo start lightdm

Source :LightDM

share|improve this answer
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.