centos root登录

vi /etc/gdm/custom.conf

然后在[daemon]下面添加

  1. [daemon]
    AutomaticLoginEnable=True
    AutomaticLogin=root #你想自动登录的用户名

猜你喜欢

转载自www.cnblogs.com/hshy/p/13161330.html