CentOS7.4 the setup of VNC server and the connection configuration of the client
- Start the VNC service
When you first start the service, set the VNC service password as prompted;
After the service is successfully started, the relevant files will be generated under/ROOT/.VNC.
After the server starts, the open port is 5901, if the command is Vncserver:2, the open port is 5902;
Vncserver:1
- Restart VNC Service Command
Vncserver-kill:1
Vncserver:1
- Install the VNC Viewer on another client computer that needs to connect to the VNC server, where the client is the Windows system;
The official website provides the VNC Viewer for various system platforms; (Download and installation process slightly ... )
https://www.realvnc.com/en/connect/download/viewer/
VNC Server Entry: Enter the IP address and port address of the server. Columns such as: 192.168.1.1:5901
Name entry: Customize it
Prompt for VNC server password when connecting
If the connection is not on, check the server-side firewall settings
CentOS7.4 the setup of VNC server and the connection configuration of the client