The objective is to instruct Gnome Desktop Manager to automatically login a specified system user.
Privileged access to your CentOS 7 installation and existing user account to enable Automatic login upon.
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ – requires given linux commands to be executed as a regular non-privileged user
Update GDM settings
Add the following stanza into a
[daemon] section of your
/etc/gdm/custom.conf while replacing keyword “linuxconfig” with a username of your autologin user:
[daemon] AutomaticLogin=linuxconfig AutomaticLoginEnable=True
All should be ready now. Your specified user will now be automatically logged using Gnome Desktop manager.