wsoh24
Contributor
Contributor

Cannot connect to ESXi clients via VNC

Hello,

I am using ESXi 6.7 and am trying to connect to a Windows 10 VM on it, using VNC.

I have gone through the configuration steps to add VNC to services.xml and update the firewall rules.

Running 'esxcli network firewall ruleset list | grep VNC' returns 'VNC true".

In the configuration for the VM I added the keys:

RemoteDisplay.vnc.enabled = TRUE

RemoteDisplay.vnc.port = 5951

When I try to connect via <ip_address>:5951, I am unable to connect.  I have tried using various VNC clients both on Linux and Windows, all with the same results.

If I install TightVNC Server on the VM, I can connect using VNC, but obviously this isn't desired and I need to be able to connect without installing a VNC Server.

Thanks in advance.

0 Kudos
2 Replies
Rajhere
Enthusiast
Enthusiast

Hi you would require a VNC server to be able to achieve this requirement..

0 Kudos
T180985
Expert
Expert

Did you power off the VM when you applied those settings? If not, it will need to be powercycled to pick up the advanced settings

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
0 Kudos