How to enable remote desktop (RDP) in VMware
Remote connection to a virtual machine in VMware is possible in several ways. For example, you can just install TeamViewer, LogMeIn or any other software for remote access. And, you can use a standard tool for connecting to remote desktops. That’s about it today and we’ll talk.
Enable remote desktop in VMware is done through the guest operating system. In addition, in VMware you need to configure port forwarding to let the program know what to do when we ask for access through remote desktop.
First, you need to forward remote requests to an IP address used by the virtual machine.
In VMware, go to menu «Virtual machine» and select «Settings».
On the tab «Hardware» choose «Network adapter», and then specify the NAT as the connection type.
In the guest operating system, start a command prompt. Type ipconfig, hit Enter and look for IPv4 address. In my case it 192.168.80.128.
In VMware, choose the menu «edit» and then click «virtual network Editor».
Choose the network type to NAT and then click on the «NAT Settings».
In the next window, click «Add».
Enter the following information:
The host port: 9997
It’s just a public port number. If you are not sure which port to use, just specify the one that we offer.
IP address of the virtual machine: enter the IP address that command prompt.
The port of the virtual machine: 3389
This port number by default.
Now save your changes. To do this, simply click on the «OK»button.
Next, you need allow remote connections in the guest OS.
Press Win + R in the Run window, type SystemPropertiesRemote and hit Enter.
You will need to open the window with the remote settings. In this window, activate the option «Allow remote connections to this computer».
With the settings we finished, and so now you can try to remotely connect to the operating system on VMware. To do this, press Win + R on keyboard and type the command Mstsc to open the window «Connect to remote desktop».
In this window, specify the IP address or the computer name and click Connect.
Next, enter login – name and password of your account that you use on the guest OS. Click «OK».
Will start the process of connecting to a remote desktop.
If the connection process you will see a window like the screenshot below, simply click on the «Yes»button.
Once connected, you will see a window through which you can remotely manage the operating system on the virtual machine.
That’s about it. I hope this guide is useful to you.