天天看点

【原创】安装 CentOS 5.6 后启动无法进入图形界面

安装 centos 5.6 后,发现启动时无法进入图形界面,屏幕提示如下: 

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.

<a href="http://my.oschina.net/moooofly/blog/106804#">?</a>

1

2

3

4

5

6

7

8

9

<code>id</code><code>"x"</code> <code>is the number</code><code>in</code> <code>the leftmost column of the</code><code>/etc/inittab</code> <code>file</code><code>:</code>

<code># run gettys in standard runlevels</code>

<code>1:2345:respawn:</code><code>/sbin/mingetty</code> <code>tty1</code>

<code>2:2345:respawn:</code><code>/sbin/mingetty</code> <code>tty2</code>

<code>3:2345:respawn:</code><code>/sbin/mingetty</code> <code>tty3</code>

<code>4:2345:respawn:</code><code>/sbin/mingetty</code> <code>tty4</code>

<code>5:2345:respawn:</code><code>/sbin/mingetty</code> <code>tty5</code>

<code>6:2345:respawn:</code><code>/sbin/mingetty</code> <code>tty6</code>

通过 yum 安装好缺少的两个包后,重启电脑出现如下的错误信息: 

power manager gconf schema installer error, battery_low_percentage cannot be zero

桌面显示和黑屏差不多,除了能看到两个图标。 

fixed in cvs. pkg_postinst was being overridden without calling the gnome2_pkg_postinst that actually installs the schemas.

没看明白上面说明的意思,暂时不解决。直接使用命令行方式操作。

继续阅读