红联Linux门户
Linux帮助

X server

发布时间:2009-09-25 21:52:20来源:红联作者:kinglou
我的电脑装了RAD HAT ENTERPRISE LINUX 刚开始能正常启动 只是进去桌面只有一点大 我设置下了分辨率和大小
还有显卡类型 之后好像正常启动过一次
但是现在无法进入图形界面 提示是 I CAN NOT START THE X SERVER 说是SETUP错误
有谁遇到相似的问题么
求助
文章评论

共有 1 条评论

  1. tengyun 于 2009-09-26 00:21:06发表:

    参考http://space.itpub.net/12330444/viewspace-613566
    从windows下的VMWare虚拟机进入Redhat9时,居然出现莫名地出现一个异常。系统在字符界面和图形界面之间不断的切换,最后出现一个关于错误解释的对话框。内容大致是这样:
    I cannot start the x server (your graphical interface) 。It is likely that it is no set up correctly。 would you like to view the x sever output to diagnose the problem?

    选择Yes之后出现界面
    OS Kernel: Linux Verion 2.6.11-1.1369_FC4 (bhcompile@decompose.build.reMarkers:
    (--)probed,(**)from config file,(==)default setting, (++)fom command line,
    (!!)notice,(II) informational,(WW)warning,(EE)error,(NI) not implemented,(??)unknown.
    (==)Log file: "/var/log/Xorg.0.log ",Time: Tue Mar 20 14:25:54 2007
    (==)Using config file: "/etc/X11/xorg.conf "
    (==)ServerLayout "syingle head configuration "
    (**) |--> Screen "Screen0 "(0)
    (**) | |--> Monitor "vmware "
    (**) | |--> Device "VMware SVGA "
    (**) |--> Input Device "Mouse0 "
    (**) |--> Input Device "Keyboard0 "
    (**) FontPath set to "unix/:7100 "
    (**) RgbPath set to "/usr/X11R6/lib/X11/rgb "
    (==)ModulePath set to "/usr/X11R6/lib/modules "
    还有很多行,只粘了这些,以供参考。

    在网上看到两个解决办法
    首先进入文本模式。然后,
    办法1:将 #vi /etc/X11/xorg.conf 中的“FontPath "Unix/:7100" ”行注释掉。
    办法2:将 #vi /etc/X11/xorg.conf 中的“FontPath "Unix/:7100" ”行改为
    FontPath "/usr/X11R6/lib/X11/fonts/misc"
    可是我的/etc/X11的目录下居然没有xorg.conf文件。

    另外一个方法。
    编辑/etc/X11/XF86Config,在“Section ‘Files’”里的“FontPath”段加入以下字体路径定义:
    FontPath "/usr/X11R6/lib/X11/fonts/misc" 。保存后,重新启动X-Window(startx)即可。

    总结一下,当X-Window遇见问题时,能仔细查看/var/log/XFree86.0.log这个日志文件,一般都能找到原因。