日期:2014-05-16  浏览次数:20694 次

Linux下的xWindow启动出错
2008-05-09 09:51Linux下的xWindow启动出错

窗口报错提示
INIT: Id "x" respawning too fast: disabled for 5 minutes

配置文件
vi /etc/inittab

配置未默认启动X WINDOWS
Change Line: id:5:initdefault

改为默认启动文本模式
swith 5 to 3. (from text mode not X mode;)

启动WINDOWS模式
startx

启动报错:
xauth: creating new authority file /root/.Xauthority
xauth: creating new authority file /root/.Xauthority

X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.9-1.860_ELsmp i686 [ELF]
Current Operating System: Linux localhost.localdomain 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686
Build Date: 09 December 2004
Build Host: tweety.build.redhat.com

        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-5.EL (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May 6 20:12:58 2008
(==) Using config file: "/etc/X11/xorg.conf"
dlopen: libfreetype.so.6: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/X11R6/lib/modules/fonts/libfreetype.so
(EE) Failed to load module "freetype" (loader failed, 7)
(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

FatalError re-entered, aborting
Caught signal 11. Server aborting

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


其中这两个比较重要,应该是 因为我卸载了freetype,然后重新安装了,所以X WINDOW找不到
(EE) Failed to load /usr/X11R6/lib/modules/fonts/libfreetype.so
(EE) Failed to load module "freetype" (loader failed, 7)
拷贝过去试试
cp /usr/local/freetype/lib/*.* /usr/X11R6/lib/modules/fonts/
cp /usr/local/freetype/lib/*.* /usr/X11R6/lib/
cp /usr/local/freetype/lib/*.* /usr/lib/

该命令在本机执行,不要ssh上去执行
startx启动WINDOWS