Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With GDM removed in Oneiric, what command can I replace from the old command?

sudo /etc/init.d/gdm stop

I need to install an nvidia .run file and cannot figure out how to stop the server.

share|improve this question
up vote 3 down vote accepted

Strictly speaking the natty method was

sudo service gdm stop

For oneiric lightdm has replaced gdm - therefore to stop you would use

sudo service lightdm stop
share|improve this answer
sudo stop lightdm also works. – Eliah Kagan Nov 10 '11 at 2:16
Thanks, that's what i needed! – Drewdin May 4 '12 at 20:27

Your Answer


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