43

I have LightDM installed and can start it with sudo start lightdm. But at boot, GDM is still the default. How can change this so LightDM is loaded automatically at boot instead of GDM?

RolandiXor
  • 51,797

3 Answers3

45
sudo dpkg-reconfigure lightdm

Will prompt you to make it default. More information here:

Jorge Castro
  • 73,717
10

/etc/X11/default-display-manager should currently contain something else than lightdm.

Like I answered in another question, since LightDM starts on your machine, you should reference the binary in /etc/X11/default-display-manager :

sudo sh -c 'echo "/usr/sbin/lightdm" > /etc/X11/default-display-manager'
2

Do this:

$ sudo systemctl disable gdm.service  
$ sudo systemctl enable lightdm.service

Here enable starts service at boot. You can know more about it here.

ThunderBird
  • 1,963
  • 13
  • 22
  • 31