博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
I cannot start the X server 问题的解决
阅读量:2509 次
发布时间:2019-05-11

本文共 1566 字,大约阅读时间需要 5 分钟。

 
从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 "
(**)   |--&gt Screen   "Screen0 "(0)
(**)   |       |--&gt Monitor   "vmware "
(**)   |       |--&gt Device   "VMware   SVGA "
(**)   |--&gt Input   Device   "Mouse0 "
(**)   |--&gt 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这个日志文件,一般都能找到原因。
详细请查看

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12330444/viewspace-613566/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12330444/viewspace-613566/

你可能感兴趣的文章
通知机制 (Notifications)
查看>>
10 Things You Need To Know About Cocoa Auto Layout
查看>>
一个异步网络请求的坑:关于NSURLConnection和NSRunLoopCommonModes
查看>>
iOS 如何放大按钮点击热区
查看>>
ios设备唯一标识获取策略
查看>>
获取推送通知的DeviceToken
查看>>
Could not find a storyboard named 'Main' in bundle NSBundle
查看>>
CocoaPods安装和使用教程
查看>>
Beginning Auto Layout Tutorial
查看>>
block使用小结、在arc中使用block、如何防止循环引用
查看>>
iPhone开发学习笔记002——Xib设计UITableViewCell然后动态加载
查看>>
iOS开发中遇到的问题整理 (一)
查看>>
为什么你的App介绍写得像一坨翔?
查看>>
RTImageAssets插件--@3x可自动生成@2x图片
查看>>
iOS开发的一些奇巧淫技
查看>>
docker容器秒死的解决办法
查看>>
Linux(SUSE 12)安装jboss4并实现远程访问
查看>>
Neutron在给虚拟机分配网络时,底层是如何实现的?
查看>>
netfilter/iptables全攻略
查看>>
Overlay之VXLAN架构
查看>>