Disable LightDM Ubuntu

You can disable GDM with the following command:

Code:
echo "manual" | sudo tee -a /etc/init/gdm.override

The splash screen can cause some problems, so I would suggest you to disable it. Edit the /etc/default/grub file and replace the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” with GRUB_CMDLINE_LINUX_DEFAULT=”quiet”. Then generate a new Grub2 config file:

Code:
sudo update-grub

If you want to start an X session from the virtual console, simply run:

Code:
startx

or start GDM:

Code:
sudo service gdm start

If you want to re-enable GDM, then simply remove the .override file:

Code:
sudo rm /etc/init/gdm.override