The first thing to do is to install VNC in the virtual machine.
In the settings of the virtual machine, you want to enable the VNC connection.
Then enter the instruction Vncserver, you can see that there is a sequence number.
Then open the VNC software under Windows
The IP is entered here and tried many times to show the connection is refused by the host computer. Unable to connect.
At this point after the IP port number, the port number is set in 5900, still cannot connect
The correct wording is the IP port number, but this side of the port number is not set 5900, but on the basis of 5900 plus the VNC serial number in the virtual machine, as shown in the first picture of the 1. The correct wording is ip:5901 (such as my machine fill 10.136.7.174:5901)
Click OK, enter the password, the connection is successful, you can display the Linux interface in the virtual machine under Windows, so as to operate.