Ubuntu11.04下开机自动以root用户登录
步骤:
1. vim /etc/gdm/custom.conf #此时,/etc/gdm/目录下并没有custom.conf文件
2. 输入如下内容:
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=5
3. 重启系统
Ubuntu11.04下开机自动以root用户登录
步骤:
1. vim /etc/gdm/custom.conf #此时,/etc/gdm/目录下并没有custom.conf文件
2. 输入如下内容:
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=5
3. 重启系统