Linux centos7 配置用户自动登录

[root@CentOS6 ~]# vim /etc/gdm/custom.conf

 1 GDM configuration storage
 2 [daemon]
 3 AutomaticLoginEnable=true        #使能自动登录
 4 AutomaticLogin=root        #指定自动登录的用户
 5 [security]
 6 
 7 [xdmcp]
 8 
 9 [greeter]
10 
11 [chooser]
12 
13 [debug]

 

posted @ 2022-12-08 21:28  郑道杰  阅读(184)  评论(0编辑  收藏  举报