如果系统默认启动图形界面:

vi /etc/gdm/custom.conf #找到[daemon],修改为下面的

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root

:wq 保存退出即可

 

如果系统默认启动命令行界面:(不建议这么做)

CentOS7 不带图形界面 自动登录配置

 

参考资料:

centos7下使用root免密码输入自动登陆

CentOS7自动以root身份登陆gnome桌面

相关文章:

  • 2022-12-23
  • 2022-01-03
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-24
  • 2021-09-25
  • 2022-12-23
  • 2021-11-23
  • 2021-10-24
相关资源
相似解决方案