In this tutorial, we will help you enable automatic login on Debian 8 Jessie  for both GDM3 and LightDM Display Managers. If you find problems in enabling automatic login on Debian Jessie, then this guide may be useful for you.

1. Automatic Login for GDM3

Make a backup copy of the file we are going to edit using this command:

su -
 cp /etc/gdm3/daemon.conf /etc/gdm3/daemon.conf.back 

Let's edit this file using this command:

gedit  /etc/gdm3/daemon.conf 


nano /etc/gdm3/daemon.conf

Under [daemon] entry uncomment these two lines:

AutomaticLoginEnable = true
AutomaticLogin = user1

Replace user with your own username:

Save the file, then run this command:

 dpkg-reconfigure gdm3 

2. Automatic Login for LightDM

Open the terminal and make first a backup of the file we are going to edit:

su - 
gedit /etc/lightdm/lightdm.gedit /etc/lightdm/lightdm.conf.back

Edit now this file:

gedit /etc/lightdm/lightdm.conf


nano /etc/lightdm/lightdm.conf

Uncomment these two lines:


Replace USERNAME with your own username. Save the file and exit. Run now this command so that changes are taken into effect:

dpkg-reconfigure lightdm 

Post a Comment

  1. for LightDM, make sure the changes are under the [SeatDefaults] directive.