AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 969475
Accepted
Farhad Sakhaei
Farhad Sakhaei
Asked: 2019-05-31 02:21:19 +0800 CST2019-05-31 02:21:19 +0800 CST 2019-05-31 02:21:19 +0800 CST

CentOS 桌面 startx 在 VPS 上找不到屏幕

  • 772

我在 VPS 上的 CentOS 7 上安装了 Gnome/KDE/XFCE,...

yum groupinstall "Server with GUI"
yum groupinstall "GNOME Desktop"

或者

yum groupinstall "Server with GUI"
yum groupinstall "Xfce"

但是当我运行时,startx我得到所有桌面的以下结果

xauth:  file /root/.serverauth.25989 does not exist


X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
Build Operating System:  3.10.0-957.1.3.el7.x86_64
Current Operating System: Linux centos7.cs1cloud.internal 3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14 21:24:32 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-957.12.2.el7.x86_64 root=UUID=dadd7363-eae7-4b4b-85a2-ed94705b1bed ro nomodeset crashkernel=auto rhgb quiet LANG=en_US.UTF-8
Build Date: 14 March 2019  10:37:36AM
Build ID: xorg-x11-server 1.20.1-5.3.el7_6
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 30 08:54:16 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

感谢任何帮助

desktop
  • 1 1 个回答
  • 1032 Views

1 个回答

  • Voted
  1. Best Answer
    Farhad Sakhaei
    2019-06-01T16:19:25+08:002019-06-01T16:19:25+08:00

    加载显示驱动时出现问题,因此需要创建一个新的配置文件并更改显示驱动:
    您可以使用以下命令检查当前的 VGA:

    lspci | grep -e VGA -e 3D
    

    现在编辑驱动程序:

    cd /root
    X -configure
    nano /root/xorg.conf.new
    

    改变:

    Driver      "modesetting"
    

    至:

    Driver      "dummy"
    

    保存并运行:

    X -config /root/xorg.conf.new &
    
    • 1

相关问题

  • 是否有任何优质资源可用于培训用户如何保持 Windows 系统的微调?

  • 锁定桌面 USB 端口

  • 在回收/处置之前清洁 PC 的建议 [关闭]

  • 构建新工作站时要考虑的最重要的方面是什么?

  • 硬件供应商要避免

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve