切換到root用戶:
su root
編輯
cd /usr/share/lightdm/lightdm.conf.d/
gedit 50-unity-greeter.conf
添加(如果gedit 不行,請使用vim替換 :sudo apt-get install vim-gtk)
user-session=ubuntu
greeter-show-manual-login=true
all-guest=false
重啟
此時會出現:讀取/root/.profile時發現錯誤
gedit /root/.profile
reboot重啟
輸入root和密碼