码迷,mamicode.com
首页 > 系统相关 > 详细

输入正确的密码,依然无法登陆ubuntu系统

时间:2014-12-08 12:08:23      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:blog   http   ar   sp   strong   on   文件   div   art   

在ubuntu14.04中启动vncserver后就出现在图形界面输入正确的密码,依然无法登陆ubuntu系统,在网上找到以下这段:

这个问题一直困扰我好几天,网上也找到好几天,今天终于找到终极解决方案了。

问题:进入ubuntu登陆界面,输入正确的登陆密码,屏幕闪一下,又回到登陆界面,无法登陆到系统

解决方法: 按<Ctrl>-<Alt>-<F1>键,通过console进入系统,删除home目录下的.Xauthor*文件:

[plain] view plaincopy
 
  1. root@kevin:/home# find -name .Xauthor*  
  2. ./kevin/.Xauthority-c  
  3. ./kevin/.Xauthority-l  
  4. ./kevin/.Xauthority  
  5.   
  6. root@kevin:/home#rm -rf .Xauthor*  

再登陆下,一切OK.

本人实际是只有.Xauthority  这个文件,删除后即可以了。

输入正确的密码,依然无法登陆ubuntu系统

标签:blog   http   ar   sp   strong   on   文件   div   art   

原文地址:http://www.cnblogs.com/sinceyou/p/4150622.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!