安装完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 用起来爽。
时间: 2024-09-25 14:47:52