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.

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

1 Answer 1

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.