Ubuntu14登录不进去循环登录的解决办法

前端之家收集整理的这篇文章主要介绍了Ubuntu14登录不进去循环登录的解决办法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

出现这个问题的时候, 我是一脸懵逼的, 昨天还好好的Ubuntu 14今天怎么抽风了… 试了好多方法,Ctrl+Alt+F2进入命令行模式, 各种命令乱试, 或者Ctrl+Alt+F7进入图形界面试, 还手残的卸载了GTX1060的驱动, 不断的 sudo reboot, 毫无起色…
最后Google Ubuntu loop login, 发现StackExchange的这个不错: Ubuntu gets stuck in a login loop, 把高票的解决办法摘录如下:

Did you end up here after running sudo startx? Nevertheless:
Press Ctrl+Alt+F3 and login into the shell.
Now run ls -lA. If you see the line
-rw------- 1 root root 53 Nov 29 10:19 .Xauthority
then you need to do chown username:username .Xauthority and try logging in.
Else,do ls -ld /tmp. Check for the first 10 letters in the left: they
should read exactly so: drwxrwxrwt.
drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp
Else,you need to do sudo chmod a+wt /tmp and check again.
If not both,I’d recommend you either
1. dpkg-reconfigure lightdm
2. or uninstall,reinstall it.
Now press Alt+-> until you reach the login screen again,and restart.

顺便附上GTX1060驱动的安装方法

sudo add-apt-repository ppa:graphics-drivers/ppa  #别忘了打回车
sudo apt update

然后, 系统设置->软件和更新->附加驱动:

原文链接:https://www.f2er.com/ubuntu/353513.html

猜你在找的Ubuntu相关文章