How can I disable lightdm?
I want to use startx to start my wm.
How can I disable lightdm?
I want to use startx to start my wm.
Running LightDM on demand
If you are using another display manager by default (e.g. GDM) then you will have to stop that and run LightDM on demand. Log out of any graphical sessions, go to a text terminal (alt-ctrl-F1) then switch display managers with the following commands:
sudo stop gdm sudo start lightdm
REF:HERE <<<<<< for more information
no. lightdm IS my default. I don't have gdm at all. I want to disable lightdm, so that I only have a console
at boot, then I'll log in to the console, and then do startx to start stumpwm.
This is for gdm:
http://ubuntuforums.org/showthread.p...0#post10798400
create /etc/init/lightdm.override instead of /etc/init/gdm.override
thanks that worked. i just replaced the file gdm.override with lightdm.override.
Cool!
Please don't forget to mark this thread as [SOLVED]. At the top of this page click on Thread Tools -> Mark thread as solved.
Thanks!
I'm pretty sure it can automatically restart at a later date if lightdm is updated. I disabled lightdm ages ago and it recently came back.
Number 6 in this post suggests how to have gdm permanently disabled by telling dpkg to keep the config file renamed. Seems like a better solution to me and I'm trying it.
Here's the same command for lightdm:
Code:sudo dpkg-divert --rename --add /etc/init/lightdm.conf
Bookmarks