首页 > 其他 > 详细

Could not update ICEauthority file /home/user/.ICEauthority

时间:2015-04-12 10:37:15      阅读:139      评论:0      收藏:0      [点我收藏+]

1,在linux中添加用户(wuwh)后,登录时出现“Could not update ICEauthority file /home/user/.ICEauthority”

技术分享

2,试了网上好多方法

 例如 ①,sudo chown USER:USER /home/USER/.ICEauthority
        sudo chmod 644 /home/USER/.ICEauthority

 例如②,先在登录界面,用户输入密码的地方,按CTRL+ALT+F1
       进入后su到root下,然后adduser 用户名 并设置下密码
       然后reboot,重启之后发现有了刚刚新建的用户,输入密码进去 然后 su  再su 出现故障的那个用户名 并输入密码。
       进入后 到 /home/故障用户名/下 删除.ICEauthorit* 所有与其相关的 文件,再mv /home/新建的用户名/.ICEauthority $PWD
       #chown 故障用户名:故障用户名 .ICEauthority
       #chmod 644 .ICEauthority
       这样就完成了 logout
       再选原来故障的用户,输入密码 就可以正常进入 GNOME了
      都正常之后,可以在终端下 输入#userdel 新建的用户名 将这个用户删除

3,终极解决办法

     sudo chown user -R /home/user(执行后问题解决了)

4,或许你还是没解决(将user设置在root组中)

     修改/etc/sudoers 文件,找到下面一行,把前面的注释(#)去掉
     ## Allows people in group wheel to run all commands
     %wheel ALL=(ALL) ALL
     然后修改用户,使其属于root组(wheel),
     usermod -g root user


Could not update ICEauthority file /home/user/.ICEauthority

原文:http://blog.csdn.net/u010834795/article/details/45007985

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!