The console does not work due to VNC Authentication

The console does not work due to VNC Authentication

Problem

Opening the Console in Hyalto does not start the GuestOS and instead just spins forever. Opening the Browser Inspect Console shows:

2019-09-01T11:33:49.852Z [Info ] Server security types: 2 wmks.min.js:1 2019-09-01T11:33:49.852Z [Info ] Using authentication scheme: 2 wmks.min.js:1 2019-09-01T11:33:49.852Z [Info ] vnc authentication not implemented

Cause

This could be caused by an older .vmx file that was migrated or upgraded form vCenter 5.5 or lower. The .vmx file has some properties that stop the HTML5 Console from starting up by trying to authenticate to the host via VNC.

As of vCenter 6.x ESXi no longer uses VNC to authenticate.

Solution

You will need to open the .vmx file of the affected VM and remove the following lines:

RemoteDisplay.vnc.enabled = RemoteDisplay.vnc.port = RemoteDisplay.vnc.password = RemoteDisplay.vnc.key =

And add this property to the .vmx file:

RemoteDisplay.vnc.enabled = "FALSE"

Power on the VM and try again. If you still cannot console into the VM’s GuestOS via Hyalto, Please contact Support.