Home > OS >  Ask: failed to run centos 7 X Window
Ask: failed to run centos 7 X Window

Time:09-16

VPS host install centos 7

Use xshell remote connection

# yum groupinstall "X Window System
"
# yum groupinstall "GNOME Desktop"

The correct installation smoothly, there is no

# startx

According to the following information:

Xauth: the file/root/. Serverauth. 1227 does not exist

X.Org X Server 1.19.5
Release Date: 2017-10-12
The X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-693.17.1. El7. X86_64
The 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
The Kernel command line: BOOT_IMAGE=/called - 3.10.0-862.3.3. El7. X86_64 root=UUID=3437 f1a0 - f1b f850-4-8 a7c - 819 c5f6a29e4 ro crashkernel=auto consoleblank=0 VGA=0 x305 LANG=en_US. Utf-8
The Build Date: 11 April 2018 04:40:54 PM
The Build ID: xorg - x11 server 1.19.5-5. El7
The Current version of pixman: 0.34.0
Before reporting the problems, check http://wiki.x.org
To make sure that you have the latest version.
Markers: (-) probed, (* *) from the config file, (==), the default setting,
(+ +) from the 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 the config directory:/etc/X11/xorg. Conf. "d"
(==) Using system config directory "/usr/share/X11/xorg conf. D"

Init: the connection to the X server lost
Waiting for the X server to shut down (II) server terminated successfully (0). Closing the log file.

What reason is this excuse me? How should solve?
thank you

CodePudding user response:

Hello, please refer to the https://www.cnblogs.com/SLKnate/p/linux_centos7_XWindowSystem.html, can solve your problem, after the installation is complete, restart try, I seldom go to install the X Window System, so the ability is limited

CodePudding user response:

You should use Xmanager

CodePudding user response:

The building Lord solved
/root @ VM_0_13_centos ~ # startx
Xauth: the file/root/. Serverauth. 3268 does not exist


X.Org X Server 1.20.4
The X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-957.1.3. El7. X86_64
The Current Operating System, Linux VM_0_13_centos 3.10.0-1062.1.2. El7. X86_64 # 1 SMP Mon 2019 Sep 30 14:19:46 UTC x86_64
The Kernel command line: BOOT_IMAGE=/boot/called - 3.10.0-1062.1.2. El7. X86_64 root=UUID=4 b499d76 dc - 769 - a - 40 a0-93-4 a31a59add28 ro crashkernel=auto console=ttyS0 console=tty0 panic=5 net. Ifnames=0 biosdevname=0 LANG=en_US. Utf8
The Build Date: 09 August 2019 03:27:09 AM
The Build ID: xorg - x11 server 1.20.4-7. El7
The Current version of pixman: 0.34.0
Before reporting the problems, check http://wiki.x.org
To make sure that you have the latest version.
Markers: (-) probed, (* *) from the config file, (==), the default setting,
(+ +) from the 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-00 b8, driver (null)
(II) modeset (0) : the Initializing KMS color map for the depth of 16, 6 BPC.

CodePudding user response:

The
reference 4 floor, shadder2k, reply:
solved the building Lord?
/root @ VM_0_13_centos ~ # startx
Xauth: the file/root/. Serverauth. 3268 does not exist


X.Org X Server 1.20.4
The X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-957.1.3. El7. X86_64
The Current Operating System, Linux VM_0_13_centos 3.10.0-1062.1.2. El7. X86_64 # 1 SMP Mon 2019 Sep 30 14:19:46 UTC x86_64
The Kernel command line: BOOT_IMAGE=/boot/called - 3.10.0-1062.1.2. El7. X86_64 root=UUID=4 b499d76 dc - 769 - a - 40 a0-93-4 a31a59add28 ro crashkernel=auto console=ttyS0 console=tty0 panic=5 net. Ifnames=0 biosdevname=0 LANG=en_US. Utf8
The Build Date: 09 August 2019 03:27:09 AM
The Build ID: xorg - x11 server 1.20.4-7. El7
The Current version of pixman: 0.34.0
Before reporting the problems, check http://wiki.x.org
To make sure that you have the latest version.
Markers: (-) probed, (* *) from the config file, (==), the default setting,
(+ +) from the 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-00 b8, driver (null)
(II) modeset (0) : the Initializing KMS color map for the depth of 16, 6 BPC.


With q, solved

CodePudding user response:

I have already solved, my is tencent cloud server, just need to log in the server switch mode (with VNC login login server), other ways of login default is a command line interface

CodePudding user response:

You this is in what circumstances? The virtual machine? Or cloud services?

If you want to use VNC connection, you have to install on the system tigrevnc and gnome desktop, configure the root directory of the hidden files. "VNC",
And then to "/etc/sysconfig/vncserver" file set the user and the resolution of the desktop,
nullnullnullnullnullnullnullnullnullnull
  • Related