ubuntu密碼正確卻登錄失敗

 源地址

http://www.opensoce.com/3770.html


Ubuntu升級或安裝軟件後出現Failed to load session "ubuntu",在登陸界面無法登陸,用戶登陸失效,輸入密碼後返回登陸界面,無限循環。解決方法如下:

先以gnome登陸,然後執行如下操作:

1 sudo apt-get update
2 sudo apt-get install ubuntu-desktop
3 sudo apt-get -f install
4 sudo dpkg-reconfigure ubuntu-desktop
5 sudo reboot
6 sudo apt-get install gnome-session
7 sudo apt-get install lightdm
8 sudo apt-get install unity-greeter
9 sudo dpkg-reconfigure lightdm

執行完成後就可以正常登陸了


發佈了36 篇原創文章 · 獲贊 10 · 訪問量 7萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章