文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>CentOS下不能启动X问题的解决

CentOS下不能启动X问题的解决

时间:2007-04-27  来源:lagvin

之前为了在CentOS下配置服务,删掉了很多默认启动服务,机器重启后发现X启动不了了,出现如下信息:  

[root@centos gavin]# startx

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-42.ELsmp i686 [ELF]
Current Operating System: Linux centos.loboltd.com 2.6.9-42.EL #1 Sat Aug 12 09:17:58 CDT 2006 i686
Build Date: 22 August 2006
Build Host: build-i386
 
        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-42.EL (buildcentos@build-i386) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 Sat Aug 12 09:17:58 CDT 2006
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: Fri Feb 9 11:21:59 2007
(==) Using config file: "/etc/X11/xorg.conf"

    [10f] 320 x 200, 70Hz
    [134] 320 x 240, 72Hz
    [144] 400 x 300, 72Hz
    [154] 512 x 384, 70Hz
    [11e] 640 x 400, 70Hz
    [112] 640 x 480, 60Hz, 75Hz, 85Hz, 100Hz, 160Hz
    [115] 800 x 600, 60Hz, 75Hz, 85Hz
    [118] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz, 100Hz, 130Hz
    [17b] 1280 x 768, 60Hz
    [16a] 1280 x 960, 60Hz, 85Hz
    [11b] 1280 x 1024, 60Hz, 75Hz, 85Hz, 100Hz
    [13e] 1400 x 1050, 60Hz, 75Hz
    [124] 1600 x 1200, 60Hz
Could not init font path element unix/:7100, removing from

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.

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

按照提示查看了一下log file: /var/log/Xorg.0.log,发现初始化字体的那个deamon没有启动(xfs),重新配置了一下启动服务,就OK了。

操作如下:
SSH到故障机器,然后运行如下命令:

#setup

然后选: System services -> Run Tool,将接近下面的xfs勾选上,然后"OK", 退出,重启后OK了。

附:在System services里,我的机器总共开启的服务如下:

crond
gpm
iptables
microcode_ctl
mysql(自装的)
network
sshd
syslog
xfs

相关阅读 更多 +
排行榜 更多 +
僵尸猎手小明

僵尸猎手小明

动作格斗 下载
狩猎波比

狩猎波比

动作格斗 下载
花海相机

花海相机

图像拍照 下载