linux重新启动错误 could not update ICEauthority file
来源:互联网 发布:华为软件下载官方网站 编辑:程序博客网 时间:2024/05/17 04:44
问题描述:
linux重新启动异常 could not update ICEauthority file
linux启动时报Could not update ICEauthority file /var/lib/gdm/.ICEauthority
解决办法:
1.首先需要通过linux单用户模式登陆该系统
centos单用户模式等登录方式如下:
方式一: 使用 “a” 操作按键进入单用户模式------推荐:简单操作 这是进入单用户模式最快速的方法。在 GRUB 启动菜单里使用 “a” 操作按键编辑 kernel 参数,在行末输入 single ,以告诉 Linux 内核后续的启动过程需要进入单用户模式,回车即可 。
方式二:使用 “e” 操作按键进入单用户模式 在 GRUB 启动菜单里使用 “e” 操作按键进入 CentOS 的启动菜单向界面 ,移动光标至“kernel”配置项一行,将光标定位到 kernel 菜单项
按 “e” 键编辑 “kernel” 菜单项,在行末输入 single ,以告诉 Linux 内核后续的启动过程需要进入单用户模式。
将kernel /vmlinuz-2.6.18-53.el5 ro root=/dev/VolGroup00/LogVolRoot
更改为
kernel /vmlinuz-2.6.18-53.el5 ro root=/dev/VolGroup00/LogVolRoot single 更改后按回车返回 CentOS 启动菜单项界面
最后按 “b” 键使用更改后的 CentOS 启动菜单项启动单用户模式。
方式三:使用 “c” 操作按键进入单用户模式
这是进入单用户模式最麻烦的方法,通常不使用这种方法进入单用户模式,此处旨在熟悉 GRUB 命令行界面操作。在 GRUB 启动菜单里使用 “c” 操作按键进入 GRUB 命令行界面。分别使用 GRUB 下的 root 、kernel(在行末输入 single)、initrd 命令指定启动参数,最后使用 boot 命令启动到单用户模式,如图所示。
2.进入单用户模式后,进行如下操作
出现此错误的原因是由于/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 就不会提示错误了。
- linux重新启动错误 could not update ICEauthority file
- Linux_bug收集_linux重新启动错误 could not update ICEauthority file
- Could not update ICEauthority file
- linux启动报错 could not update ICEauthority file
- Linux 报错could not update ICEauthority file 解决方法
- 开机出现Could not update ICEauthority file /home/username/.ICEauthority
- Could not update ICEauthority file /home/username/.ICEauthority解决办法
- Could not update ICEauthority file /usr/bin/.ICEauthority
- Could not update ICEauthority file /home/user/.ICEauthority
- Could not update ICEauthority file /home/username/.ICEauthority
- Could not update ICEauthority file /home/user/.ICEauthority
- Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority
- Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority
- CentOS6.8启动报错:Could not update ICEauthority file /var/lib/gdm/.ICEauthority
- Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority
- Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority
- Ubuntu开机报错:could not update ICEauthority file /home/lstanding/.ICEauthority 并且不能进入开机页面
- 当登录UBUNTU时出现 “Could not update IDEauthority file /home/{user}/.ICEauthority”
- 安卓中的Model-View-Presenter模式介绍[Introduction to Model View Presenter on Android]
- windows下gvim隐藏工具栏
- Intersection of Multiple Arrays Sorted Unsorted
- NYoj35 表达式求值
- poj-2828-Buy Tickets(线段树)
- linux重新启动错误 could not update ICEauthority file
- Android中SharedPreferences和序列化结合保存对象数据
- struts2中怎么覆盖默认错误信息以及两种自定义类型转换器的方法
- centos6.6安装pypy
- iOS开发系列—Objective-C之Foundation框架
- 基于VirtualBox安装CoreOS
- 主席树+CDQ分治+整体二分
- Debug和Release版本的区别
- wdatepicker,自定义时间限制