本文转载自:https://blog.csdn.net/u010925447/article/details/72236387 Ubuntu一直在登陆界面循环:登陆密码是正确的,但是登陆后自动退回登陆界面.Ctrl+Alt+F1~F6进入命令行界面,尝试startx启动桌面,提示:could not connect to X serverxauth: error in locking authority file /home/xxxx/.Xauthority现分享下本人的解决方法. 问题现象
1.进入root用户提示su: Authentication failure roots@ubuntu:~$ su - Password: su: Authentication failure 2.通过sudo更改root密码就可以了 roots@ubuntu:~$ sudo passwd root [sudo] password for roots: Enter new UNIX password: Retype new UNIX password: passwd: password upda