安装 CentOS 5.6 后,发现启动时无法进入图形界面,屏幕提示如下:
另外一篇博客说的也很明白:
http://blog.csdn.net/ping1214/article/details/7613638
通过 yum 安装好缺少的两个包后,重启电脑出现如下的错误信息:
网上搜到: https://bugs.gentoo.org/show_bug.cgi?id=153547#c1
init: Id "x" respawning too fast: disabled for 5 minutes.
网上分析说是由于图形界面无法正常启动导致。我个人也觉得就是这个原因,因为在用光盘安装的过程中,软件包 gdm-2.16.0-56.el5.centos.x86_64 和软件包 GConf2-2.14.0-9.el5.x86_64.rpm 似乎是安装失败的。
网上给出的信息如下:In most distributions this means that the system is booting by default into runlevel 5, which is supposed to respawn (re-start again after it's been exited) a graphical login via xdm, kdm, gdm, or whatever, and the system can't locate the program.
However, "Id" can also indicate the absence or misconfiguration of another program, like mingetty, if init tries to respawn itself more than 10 times in 2 minutes.
1
2
3
4
5
6
7
8
9
|
Id
"x"
is the number
in
the leftmost column of the
/etc/inittab
file
:
# Run gettys in standard runlevels
1:2345:respawn:
/sbin/mingetty
tty1
2:2345:respawn:
/sbin/mingetty
tty2
3:2345:respawn:
/sbin/mingetty
tty3
4:2345:respawn:
/sbin/mingetty
tty4
5:2345:respawn:
/sbin/mingetty
tty5
6:2345:respawn:
/sbin/mingetty
tty6
|
通过 yum 安装好缺少的两个包后,重启电脑出现如下的错误信息:
Power Manager GConf schema installer error, battery_low_percentage cannot be zero桌面显示和黑屏差不多,除了能看到两个图标。
网上搜到: https://bugs.gentoo.org/show_bug.cgi?id=153547#c1
fixed in cvs. pkg_postinst was being overridden without calling the gnome2_pkg_postinst that actually installs the schemas.
没看明白上面说明的意思,暂时不解决。直接使用命令行方式操作。