Chinaunix

标题: I cannot start the X server 问题的解决 [打印本页]

作者: chinaunix_lb    时间: 2008-11-04 01:16
标题: I cannot start the X server 问题的解决
从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这个日志文件,一般都能找到原因。
详细请查看
http://blog.chinaunix.net/u1/55468/showart_464339.html


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/83134/showart_1358814.html
作者: lotustyp    时间: 2019-01-21 17:34
您好,我最近也遇到了同样的问题,而且按“yes”之后没有出现您描述的那些字;再者,请问如何在这种系统下进入文本模式呀?似乎按“CTRL+Fn”并没有用呢?求救~




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2