centos 图形界面登录root账户

参考 https://blog.csdn.net/zdy1127/article/details/50659327

vi /etc/gdm/custom.conf

然后在[daemon]下面添加:

[daemon]
AutomaticLoginEnable=True
AutomaticLogin=root  #你想自动登录的用户名
原文地址:https://www.cnblogs.com/xiaoyii/p/9071892.html