免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2330 | 回复: 1
打印 上一主题 下一主题

I cannot start the X server 问题的解决 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-04 01:16 |只看该作者 |倒序浏览
从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

论坛徽章:
0
2 [报告]
发表于 2019-01-21 17:34 |只看该作者
您好,我最近也遇到了同样的问题,而且按“yes”之后没有出现您描述的那些字;再者,请问如何在这种系统下进入文本模式呀?似乎按“CTRL+Fn”并没有用呢?求救~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP