修改 /etc/gdm/custom.conf
TimedLoginEnable=false
AutomaticLoginEnable=true 这个设为true
TimedLogin=root 这个自已改成root
AutomaticLogin=root 这个自已改成root
TimedLoginDelay=30
需要注意的是ubuntu安装好后,默认是不启动root用户的,你可以给root设置个密码就可以启用root 了。
转载于:https://www.cnblogs.com/c3055/archive/2011/08/30/2159519.html