CentOS 데스크탑 startx가 VPS에서 화면을 찾을 수 없습니다

CentOS 데스크탑 startx가 VPS에서 화면을 찾을 수 없습니다

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

답변1

디스플레이 드라이버를 로드하는 중 문제가 발생했으므로 새 프로필을 생성하고 디스플레이 드라이버를 변경해야 합니다. 다음을
사용하여 현재 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 &

관련 정보