1.passwd root开启root;
2.gedit /etc/gdm/custom.conf
修改后如下:
[daemon] TimedLoginEnable=true AutomaticLoginEnable=true TimedLogin=root AutomaticLogin=root TimedLoginDelay=1 DefaultSession=gnome
3.reboot,自动登录
1.passwd root开启root;
2.gedit /etc/gdm/custom.conf
修改后如下:
[daemon] TimedLoginEnable=true AutomaticLoginEnable=true TimedLogin=root AutomaticLogin=root TimedLoginDelay=1 DefaultSession=gnome
3.reboot,自动登录