RHEL 7.0
Edit /etc/gdm/custom.conf to add [daemon]
add the following two lines in the [daemon]
section:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
SLES 12
Open Terminal.
Edit the /etc/sysconfig/displaymanager file.
To enable the autologin, place your user name (in my case “raj”) in the DISPLAYMANAGER_AUTOLOGIN field; it will look like below.
To disable auto login, remove the username from the DISPLAYMANAGER_AUTOLOGIN field; it will look like below.
沒有留言:
張貼留言