CentOS 7自动以root身份登录GNOME桌面
Posted yinliang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS 7自动以root身份登录GNOME桌面相关的知识,希望对你有一定的参考价值。
修改配置文件 /etc/gdm/custom.conf,在 [daemon] 下面添加一下两行
AutomaticLoginEnable=true
AutomaticLogin=root
[root@localhost ~]# vim /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
以上是关于CentOS 7自动以root身份登录GNOME桌面的主要内容,如果未能解决你的问题,请参考以下文章
Debian和Ubuntu Linux下如何以root身份登录图形界面