I’m trying to connect to the VMs console using HTML Console SDK 2.1
It fails to initialize and the browser console log says “vnc authentication not implemented”
What configuration changes are needed in ESXi host get it working?
Interestingly it works on some ESXi hosts and the browser console log says "security types/authentication scheme is 1". On the ESXi hosts where it fails, browser console log says "security types/authentication scheme is 2"
ESXi version where its NOT working: VMware ESXi, 6.0.0, 3073146
ESXi version where its working: VMware ESXi, 6.0.0, 2494585
--- browser console output where it’s not working on some ESXi hosts----
--- browser console output where its working ----
-----------
OK, the answer was staring me right in the face:
The HTML console does not currently support VNC authentication. Do you have the following set in the VMX file?
RemoteDisplay.vnc.password
Actually, upon further testing, you can have that key set, but if you have
RemoteDisplay.vnc.enabled = "FALSE"
then you can still use the HTML console. So you just need to disable VNC for that VM.
Etienne
Hi there,
Firstly, can you confirm a couple of things for me on the non-working host.
1) Has this host been upgraded from a previous version of ESXi?
2) Can you post the contents of /etc/vmware/rhttpproxy/endpoints.conf
1. Its not an upgrade.
2. Here is endpoints.conf contents
/ local 8309 redirect allow
/sdk local 8307 redirect allow
/client/clients.xml local 8309 allow allow
/vpxa local 8089 reject allow
/mob namedpipe /var/run/vmware/proxy-mob redirect allow
/wsman local 8889 redirect allow
/sdkTunnel namedpipetunnel /var/run/vmware/proxy-sdk-tunnel allow reject
/ha-nfc local 12001 allow allow
/nfc local 12000 allow allow
/folder local 8309 redirect allow
/host local 8309 redirect allow
/tmp local 8309 redirect allow
/screen local 8309 redirect allow
/guestFile local 8309 redirect allow
/cgi-bin local 8309 redirect allow
/vvold local 8090 allow allow
/ticket tickettunnel /var/run/vmware/ticket/%1 redirect allow
Thanks for supplying the info. I'm still investigating, it would also be useful if you could provide us the vmware.log file from a VM on the host where the console is not working, after you attempt to open a console.
You may have to enable logging in the VM's settings under VM options.
OK, the answer was staring me right in the face:
The HTML console does not currently support VNC authentication. Do you have the following set in the VMX file?
RemoteDisplay.vnc.password
Actually, upon further testing, you can have that key set, but if you have
RemoteDisplay.vnc.enabled = "FALSE"
then you can still use the HTML console. So you just need to disable VNC for that VM.
Etienne
Thanks Etienne!
-Thiyagu
We are also hitting the same issue even after disabling the VNC. Please suggest.