Linxu (Redhat/Centos)开机省略输入用户名、密码直接进GUI

1.编辑/etc/gdm/custom.conf为如下:

# GDM configuration storage
 
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
#TimedLoginEnable=true
#TimeLogin=root
#TimeLogDelay=7
[security]
 
[xdmcp]
 
[chooser]
 
[debug]
# Uncomment the line below to turn on debugging
#Enable=true

2.init 6 (重启OS)

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页