Linux 配置开机root用户自动登录

1、用root用户登录系统

2、输入编辑命令 vim /etc/gdm/custom.conf 

3、在[daemon]下添加两行命令

 AutomaticLoginEnable=True
 AutomaticLogin=root

4、输入 reboot  重启机器即可

posted @ 2021-01-05 15:53  脉动丶  阅读(2372)  评论(0)    收藏  举报