Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

ESXi 5 and VNC

$
0
0

Hello,

 

I have configured my ESXi 5 VMs for VNC - to enable me to VNC to the console for each of the VMs. But I cannot work out how to obfuscate the password, I wonder if anyone can help? I have set it up as follows:

 

Stop each VM

Log in to the ESXi host using SSH

Add the following to the VM's .vmx file:

 

RemoteDisplay.vnc.enabled = "TRUE" 
RemoteDisplay.vnc.port = "5901"
RemoteDisplay.vnc.password = "password"

When I restart the VM, I see that the following line has been added to the .vmx file

 

RemoteDisplay.vnc.key = "long random string blah blah blah......."

 

Now, when I try to connect to the server using a VNC client, I am not being allowed in. It is not asking for a password, it is showing me a blank screen.

 

Specifically, I am not sure if the password is working (I think this config element is deprecated in ESXi 5) and so I am not sure whether the key is my password hashed, or if it is some random password and I should generate my own key and populate the field. I would like to know how to generate the key - there is an article which details this, but when I click the link it sends me to a redirect loop. Does anyone have the details?

 

Secondly, why is my connection not working? I am trying to connect from a local machine. No firewalls should be getting in the way.

 

Any ideas?

 

Andy


Viewing all articles
Browse latest Browse all 207710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>