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

执行完成后就可以正常登陆了


你可能感兴趣的:(linux相关)