I want to disable lightdm from autostart.
Currenty, I run service lightdm disable from terminal, then run startx.
update-rc.d doesnt help
|
I want to disable lightdm from autostart.
Currenty, I run
|
|||
|
|
|
lightdm is started by Upstart, not SysV Init. So update-rc.d doesn't work. Use
|
|||||||||
|
|
Note that the method described above doesn't work anymore since 15.04 and later, since Upstart was replaced by Systemd. As described here, one can now disable lightdm like this: 16.04 upward
15.04, 15.10
|
|||||||||
|
|
I just remove the execution bit on the lightdm binary.
Then to re-enable it:
|
|||||||||
|
|
If you want to disable lightdm to enable gdm or kdm or any other display manager, enter the following command in the terminal:
Then enter on The same answer with screenshots is given here: Reset to Default Unity Login |
||||
|
|
|
This is handled by display-manager... Disable on systemd and you're done.
|
|||
|
|