自动登陆CentOS

CentOS启动后会出现一个蓝色的登陆屏幕,输入帐号和密码后才能看到桌面。

在该台电脑只是一个人使用的情况下,可以设置成自动登入。我们只需要修改/etc/gdm/custom.conf,为[daemon]添加下面的设置:

AutomaticLoginEnable=True
AutomaticLogin=amonest
原文地址:https://www.cnblogs.com/eastson/p/2643418.html