vps 主機 安裝 centos 7
使用 xshell 遠程連接
# yum groupinstall "X Window System"
# yum groupinstall "GNOME Desktop"
安裝順利,沒有報錯
#startx
顯示如下資訊:
xauth: file /root/.serverauth.1227 does not exist
X.Org X Server 1.19.5
Release Date: 2017-10-12
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-693.17.1.el7.x86_64
Current Operating System: Linux host.localdomain 3.10.0-862.3.3.el7.x86_64 #1 SMP Fri Jun 15 04:15:27 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.3.3.el7.x86_64 root=UUID=3437f1a0-f850-4f1b-8a7c-819c5f6a29e4 ro crashkernel=auto consoleblank=0 vga=0x305 LANG=en_US.UTF-8
Build Date: 11 April 2018 04:40:54PM
Build ID: xorg-x11-server 1.19.5-5.el7
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: Wed Jun 27 10:20:31 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
init: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
請問這是什么原因? 應該怎么解決?
謝謝
uj5u.com熱心網友回復:
你好,請參考https://www.cnblogs.com/SLKnate/p/linux_centos7_XWindowSystem.html,能否解決你的問題,安裝完成后,重啟試下,本人很少去安裝X Window System,所以能力有限uj5u.com熱心網友回復:
你應該使用Xmanageruj5u.com熱心網友回復:
樓主解決了嗎[root@VM_0_13_centos ~]# startx
xauth: file /root/.serverauth.3268 does not exist
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-957.1.3.el7.x86_64
Current Operating System: Linux VM_0_13_centos 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-1062.1.2.el7.x86_64 root=UUID=4b499d76-769a-40a0-93dc-4a31a59add28 ro crashkernel=auto console=ttyS0 console=tty0 panic=5 net.ifnames=0 biosdevname=0 LANG=en_US.utf8
Build Date: 09 August 2019 03:27:09AM
Build ID: xorg-x11-server 1.20.4-7.el7
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: Mon Oct 14 08:16:55 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 15: 1013:00b8, driver (null)
(II) modeset(0): Initializing kms color map for depth 16, 6 bpc.
uj5u.com熱心網友回復:
同問,解決了么
uj5u.com熱心網友回復:
我已經解決了,我的是騰訊云服務器,只需要切換登錄服務器的方式(用VNC登錄方式登錄服務器),其他的方式登錄默認是命令列界面
uj5u.com熱心網友回復:
你這是在什么環境下的?虛擬機?還是云服務?如果你想要是使用VNC連接的話,你得在系統上安裝tigrevnc 還有gnome桌面。配置root目錄下的隱藏檔案“.vnc”。
然后再去“/etc/sysconfig/vncserver”檔案設定用戶以及桌面的解析度。
再啟動vnc服務。
如果是ssh連接的話,直接開啟sshd就行了。
uj5u.com熱心網友回復:
謝謝啦
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/39653.html
標籤:系統維護與使用區
