IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

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

    bear发表于 2015-02-02 07:47:03
    love 0

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


沪ICP备19023445号-2号
友情链接