Software >> OS >> Unix >> Linux >> Desktop >> GNOME >> How to configure automatic login

 

RHEL 7

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

/etc/gdm/custom.conf
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=username


Ubuntu 20

Edit /etc/gdm3/custom.conf

/etc/gdm3/custom.conf
[daemon]
AutomaticLoginEnable = true
AutomaticLogin = username



Notes:
1. value of true or True are both accepted
2. we can have blank space or no blank space before and after =