Linux AS 2.4.21-4.EL
Error Senario:
Repro showing "init: Id "x" respawning too fast: disabled for 5 minutes.", and the system is in the state of blank screen mode, fail to enter X- Windows.
1. 上网查了资料,检查是否是显示器刷新率问题:
xconf
xrandr
Result: Both fail to excute the two command.
2. http://www.unixguide.net/linux/faq/09.24.shtml
还以为自己E文不错,看半天没看懂,不过总算知道是个什么,瞎改了一下:
vi /etc/inittab:
Change Line: id:5:initdefault
Swith 5 to 3. (from text mode not X mode;)
Startx
4. 发现错误信息:
Fail to log file: /etc/x11/XF86.0.0.log
/sur/bin/gnome-session: error while loading shared libraries:
libwrap.so.0: cannot open shared object file:
No such file or directory
5. 下载组件:
Find the component from ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/tcp_wrappers-7.6-34.i386.rpm
rmpom -ivh w<tab>
6. 问题在组件安装过程中解决,自动再启X.
7. 这个PP问题花了我一个星期,经历周末,搞得我好不安宁!!
结果GuanDX说:一个星期算什么,有的问题1个月都难以解决。。汗!!!!!!!!!
其中走了n弯路,因为没有好好看错误信息,:(
资料:
http://www.unixguide.net/linux/faq/09.24.shtml