Centos7开机自动登录root用户

先使用root用户

然后打开/etc/gdm/custom.conf

# GDM configuration storage

[daemon]
AutomaticLoginEnable=true 
AutomaticLogin=root

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

 

posted @ 2023-05-22 15:55  icmaxwell  阅读(286)  评论(0编辑  收藏  举报