Configure automatic login

A user with an Administrator account type can enable Automatic Login from the Settings panel. You can also set up autologin manually in the GDM custom configuration file, as follows.

Edit the /etc/gdm/custom.conf file and make sure that the [daemon] section in the file specifies the following:

custom.conf

[daemon]
AutomaticLoginEnable=True
AutomaticLogin=username

Replace the username with the user that you want to be automatically logged in.

The custom.conf file can usually be found in /etc/gdm/, but the location may differ depending on your distribution.