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,自动登录
转载于:https://www.cnblogs.com/niewj/archive/2012/12/14/4041242.html