Ubuntu – How to disable lightdm

configurationlightdm

I want to disable lightdm from autostart.
Currenty, I run service lightdm disable from terminal, then run startx.

update-rc.d doesnt help

Best Answer

lightdm is started by Upstart, not SysV Init. So update-rc.d doesn't work.

Use

 echo  "manual" | sudo tee -a /etc/init/lightdm.override
Related Question