VIRTUAL DUMP‎ > ‎

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: -

http://www.virtuallyghetto.com/2012/01/using-vnc-client-to-connect-to-vms-in.html

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: -

http://www.virtuallyghetto.com/2011/07/how-to-create-custom-firewall-rules-in.html

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

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


Comments