首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > PowerDesigner >

linux重新启动错误 could not update ICEauthority file

2014-04-20 
linux重新启动异常 could not update ICEauthority file?linux启动时报Could not update ICEauthority fil

linux重新启动异常 could not update ICEauthority file

?

linux启动时报Could not update ICEauthority file /var/lib/gdm/.ICEauthority

?

首先需要通过linux单用户模式登陆该系统

?

出现此错误的原因是由于/var/lib/gdm/.ICEauthority下的文件被更改所引起的。我们只要操作以下命令即可:

?

[root@hsdb02 tmp]# chown -R root:root /var?

[root@hsdb02 tmp]# chown -R gdm: /var/lib/gdm

?

如果操作此命令chown -R gdm: /var/lib/gdm 提示错误,则使用以下命令

[root@hsdb02 tmp]# cd /var/lib/gdm

[root@hsdb02 tmp]#lsattr .ICEauthority? #此命令为查看此文件所具有的隐藏属性,然后次用chattr命令更改属性。

eg:这个文件的隐藏属性是i,则用命令

[root@hsdb02 tmp]# chattr -i .ICEauthority

?

最后在执行? [root@hsdb02 tmp]# chown -R gdm: /var/lib/gdm 就不会提示错误了。

?

完成相应操作后,重启系统即可。

?

?

热点排行