步骤:
1. vim /etc/gdm/custom.conf#此时,/etc/gdm/目录下并没有custom.conf文件
2. 在文件中添加如下代码
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=5
3. 重启系统即可以root用户登陆。
步骤:
1. vim /etc/gdm/custom.conf#此时,/etc/gdm/目录下并没有custom.conf文件
2. 在文件中添加如下代码
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=5
3. 重启系统即可以root用户登陆。