- 论坛徽章:
- 13
|
对于连续出现 init: Id "x" respawning too fast: disabled for 5 minutes 错误,参考下面的文档。
Boot the server into run level 3
Log in and type "init 5" at the command prompt:
# init 5
Check if the X window system shows up. If not, check for the following messages on the console and/or in /var/log/messages:
Id "x" is respawning too fast, disable every 5 minutes
Check if the correct entries are present in /etc/inittab:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
Check /etc/X11/prefdm to see what it runs.
In this case it runs gdm, kdm and xdm in that order. We wish to use gnome so check for gdm.
# Fallbacks, in order
exec gdm "$@" >/dev/null 2>&1 </dev/null
exec kdm "$@" >/dev/null 2>&1 </dev/null
exec xdm "$@" >/dev/null 2>&1 </dev/null
Check if the gdm package is installed:
$ rpm -q gdm
$ which gdm
/usr/bin/which: no gdm in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/username/bin:/sbin:/usr/sbin)
Install gdm package and/or install the GNOME Desktop Environment group:
# yum install gdm
or
# yum groupinstall "GNOME Desktop Enviroment" "X Window System" |
|