lubuntu自動登入(lxde)

tty521發表於2017-06-01
lubuntu自動登入(lxde)

1、重啟ubuntu,在grub介面長按shirft進入grub選單;

2、選擇recovery mode,按"e"鍵進入編輯頁面;

3、把ro recovery nomodeset 改成rw single init=/bin/bash

4、按ctrl+x進入單使用者模式,當前使用者即為root;

5、sudo vi /etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-user=root                  # 自動登入使用者
autologin-user-timeout=0             # 登入等待時間
greeter-session=lightdm-gtk-greeter  # lightdm-gtk 模式
greeter-session=unity-greeter        # unity 模式
user-session=ubuntu                  # 使用者標記
greeter-show-manual-login=true       # 手工輸入登陸系統的使用者名稱和密碼
allow-guest=false                    # 不允許guest登入




6、重啟ubuntu,登入視窗會有“登入”選項,這時候我們就可以通過root登入了

http://www.cnblogs.com/xiangzi888/archive/2012/06/20/2557093.html
http://blog.csdn.net/stweddy/article/details/41681169

相關文章