一聚教程网:一个值得你收藏的教程网站

热门教程

CentOS6 X11提示Fatal server error:no screens found的解决办法

时间:2022-06-30 21:19:14 编辑:袖梨 来源:一聚教程网

安装完CentOS-6.6-x86_64-minimal以后,再给它装个桌面,于是运行了yum groupinstall “Desktop”,按理说,应该是桌面环境应该可以正常运行了。但当运行start命令时,却遇到了如下错误:

Fatal server error:
....... 
no screens found
(EE) 
Please consult the CentOS support 
 at http://wiki.centos.org/Documentation
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
Server terminated with error (1). Closing log file.

解决办法:

$ yum groupinstall -y 'X Window System'
$ rm -rf /etc/X11/xorg.conf
$ Xorg -configure              #会提示生成了新的配置文件xorg.conf.new
$ cp ~/xorg.conf.new /etc/X11/xorg.conf
$ startx

提醒:Centos 毕竟是服务器用的,他在卓面环境在我的电脑上比较卡,图形界面没有 windows 用起来爽。

热门栏目