Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority(转载)

解决方法如下:

一、

代码:sudo chown $USER:$USER /home/$USER/.ICEauthority
        sudo chmod 644 /home/$USER/.ICEauthority

Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority(转载)

时间: 2024-08-26 11:44:06

Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority(转载)的相关文章

Ubuntu12.04开机报错:could not update ICEauthority file /home/user/.ICEauthority 解决

产生原因:误将/home/user目录的用户变成了root,所以无法更新ICE导致开机警告 解决方法: 1.使用guest登录 2.打开一个console 3.Ctrl + Alt +F1 进入安全模式 4.使用你的用户名登录 5.sudo chown -R user:user /home/$user/.ICEauthority 或 sudo chown -R user:user /home/$user/.* user为你自己的用户名 sudo chmod 644 /home/$USER/.IC

写交互式脚本时,遇到到报错:not a regular file

场景:在写两台ubuntu之间需要交互式登录操作shell脚本.就是在ubantu A上,做点什么事,然后远程到ubuntu B上进行操作,shell脚本存放在ubuntu A上. 我遇到这个报错:not a regular file,我在ubantu A上查了老半天,没有问题,是ubantu B上出了问题记录下. 报错如下:not a regular file 解决方法: 1.在ubuntu B上创建的目录,赋予777权限,不用-r参数,否则会报权限错误. chmod 777 /localdi

ORA-01157报错"cannot identify/lock data file"解决

sqlplus以管理员方式接入数据库,启动时出现报错,如下: > sqlplus "/as sysdba" SQL> startup ...... ORA-01157: cannot identify/lock data file 8 - see DBWR trace file ORA-01110: data file 8: '/tmp/test.dbf' 查看数据库日志文件alert_$ORACLE_SID.log,存在对应报错信息: Errors in file ...

插入图片后R文件变红,报错“Error::app:mergeDebugResources'. > Some file crunching failed, see logs for detail”

本想做一个有爱的小东西,插入图片后发现原本之前运行成功的程序, 出现了报错“:app:mergeDebugResources'. > Some file crunching failed, see logs for detail” 一脸懵逼~~~这是什么鬼,在别人的回答和博客里找找解决办法. 不过对我好像不管用,找了好久才发现是图片的问题. 之前只是简单的在重命名的时候把图片改成“xx.png”,放在了app/src/main/res/drawable文件夹里(ps:目前每次我都是在复制图片再粘

scp报错:not a regular file,解决方法:加参数 -r

命令:scp  -P1234  /data/aa   [email protected]:/data 文件结构:/data/aa/yearmonth=2015-09 报错:not a regular file 报错原因:这是一个文件夹,而不是文件,因此要加参数-r 正确命令:scp -r -P1234  /data/aa   [email protected]:/data

【翻译自mos文章】Weblogic AdminServer 启动fail,报错为"unable to get file lock, will retry"

Weblogic AdminServer 启动fail,报错为"unable to get file lock, will retry" 参考原文: Weblogic AdminServer fails with "unable to get file lock, will retry" error message (Doc ID 1613945.1) 适用于: Oracle WebLogic Server - Version 8.1 and later Infor

Eclipse中mvn install 报错error in opening zip file

报错信息 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project wms: Compilation failure [ERROR] Failure executing javac, but could not parse the error: [ERROR] 错误: 读取C:\Users\Administrato

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

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

python2.7报错Non-ASCII character '\xe5' in file knn.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Python默认是以ASCII作为编码方式的,如果在自己的Python源码中包含了中文(或者其他非英语系的语言),此时即使你把自己编写的Python源文件以UTF-8格式保存了,但实际上,这依然是不行的. 解决办法很简单,只要在文件开头加入下面代码就行了 # -*- coding: UTF-8 -*- python2.7报错Non-ASCII character '\xe5' in file knn.py on line 3, but no encoding declared; see http