VNC to VMware guests

posted 24 Feb 2016, 07:37 by DR Labs   [ updated 10 Apr 2016, 00:03 ]

Configure the VM by adding these lines to the VMX file

VM must be shut down to configure

RemoteDisplay.vnc.enabled = [true|false]

RemoteDisplay.vnc.port = [port #]

RemoteDisplay.vnc.password = [optional]

More detail here: -

Configure the ESXi firewall

In the server configuration > Security Profile

Firewall > Properties

Enable the rule for gdbserver (more ports than required)

If you wish to create a custom rule limiting the ports, more detail can be found here: -

Basically, edit /etc/vmware/firewall/service.

xml or create a custom XML file in that folder with your own custom rules.