Prerequisite: CentOS has been installed graphically, installation tutorial can Baidu
cat /etc/redhat-7.4. 1708 (Core)
Installing Tigervnc-server
Yum Install -y tigervnc-server
Set the VNC connection password, the password length is at least 6 bits, long prompt to complete the password input
Check whether the configuration is successful, the port starts from 5901, each configuration, the port number is added 1,
grep 5901 000.0. 0.0:59010.0. 0.0:*00 ::5901 :::* LISTEN
Installing the VNC Viewer in Windows
https://www.realvnc.com/en/connect/download/viewer/
Enter the IP and port number of the CentOS after installation.
such as 192.168.1.2:5901
Enter confirm if the connection fails, check if CentOS Firewalld is off, shut down the firewall and connect again
[Email protected] ~~/etc/systemd/system/dbus-/etc/systemd/system/ multi-user.target.wants/0
Windows10 Graphical Connection CentOS7