Installing the CentOS Desktop
Yum Groupinstall "GNOME Desktop"
Restart, enter the terminal, change the boot mode to graphics mode
Systemctl Set-default Graphical.target
Restart
Method One: Install and configure the VNC server
Yum Install Tigervnc-server
Create a Telnet user uservnc (can be replaced with a different user name)
Useradd Uservnc
Set Password
passwd Uservnc
Attached: VNC Viewer official website https://www.realvnc.com/en/download/vnc/
Note: The firewall is powered on port 5901 and the client is connected ip:5901
Mode two: Implementing Windows Remote Desktop Connection
Configuration source
Yum Install epel*-y
Installing XRDP
Yum--enablerepo=epel-y Install XRDP
Start XRDP and set boot boot
Systemctl Start XRDP
Systemctl Enable XRDP
Check if XRDP is starting successfully, XRDP listening on port 3389
Netstat-antup | grep XRDP
Open firewall corresponding port
Firewall-cmd--permanent--zone=public--add-port=3389/tcp
Firewall-cmd--reload
CentOS7 Configuring the graphical interface and setting up VNC remote connection, Windows Remote Desktop Connection