今天用VMvare登录Ubuntu,发现用户名密码正确的情况下,登录不进去,循环出现登录界面,但是guset可以登录,在网上查找资料,找到了解决的办法:
1、用putty登录管理员帐号
2、执行startx,提示一大堆的错误:
xiang@xiang-Ubuntu:~$ ls
board Documents examples.desktop Pictures Templates
Desktop Downloads Music Public Videos
xiang@xiang-Ubuntu:~$ startx
xauth: error in locking authority file /home/xiang/.Xauthority
xauth: error in locking authority file /home/xiang/.Xauthority
X: user not authorized to run the X server, aborting.
No protocol specified
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth: error in locking authority file /home/xiang/.Xauthority
3、执行sudo chown xiang /home/xiang/.Xauthority
解决问题
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)