系统:Ubuntu10.04
操作步骤:
1.su 进入root账号,
然后
vim /etc/gdm/custom.conf
etc/gdm/目录下并没有custom.conf文件,直接创建这个文件
2. 将以下内容复制进去:
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=30
3. 重启系统:
直接进入root账户了。
系统:Ubuntu14.04
操作步骤:
1.su 进入root账号,
然后 vim
/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf ,如果
目录下并没有50-ubuntu.conf f文件,直接创建这个文件
2. 将以下内容复制进去:
[SeatDefaults]
user-session=ubuntu
autologin-user=root
greeter-session=unity-greete
greeter-show-manual-login=true
allow-guest=false
3. 重启系统:
直接进入root账户了。
系统:Ubuntu12.04
操作步骤:
1.su 进入root账号,
2. vim /etc/lightdm/lightdm.conf. 修改配置文件
[SeatDefaults]
allow-guest=false
autologin-user=root
autologin-user-timeout=0
autologin-session=lightdm-autologin
user-session=ubuntu
greeter-session=unity-greeter
3. 重启系统:
直接进入root账户了。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/36619.html