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身份登录图形界面

CentOS 7.1重启后无法进入Gnome

CentOS 7启动与切换图形界面

Linux操作

fedora 12 系统 KDE桌面环境 如何设置 跳过用户登陆界面 自动登录root或其他用户 图形界面??

centos如何以root用户登录