红联Linux门户
Linux帮助

解决CentOS6系统X11提示Fatal server error:no screens found

发布时间:2016-04-29 15:18:31来源:zhukun.net作者:linux人

今天安装完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


本文永久更新地址:http://www.linuxdiyf.com/linux/20204.html