joyent/smartos-live — Issue #71: VNC console on KVM Machine Crashes
Author: trentster
Created: 2012-03-05 12:32:11+00:00
State: open

This seems to be a bug, I have reproduced this on lastest USB Image of SmartOS and a previous image, this also occured on 2 different SmartOS nodes running different Hardware . It seems that certain graphical vnc clients for some reason result in the VNC console losing all parameters such as port settings. This is confirmed with a "vmadmin info UUID vnc" which return blank VNC ports. The VM itself is unaffected but connectivity via the console is unavailable until the VM is restarted and new VNC ports are assigned.

The way I triggered this crash is by using the following vnc client on Mac OSX Lion:

http://www.realvnc.com/products/enterprise/

I just downloaded the enterprise version in Trial mode and only installed the vnc client component and did not install the server component. The error is triggered if you connect with the gui client "realvnc viewer" it starts by loading the vnc window which remains black and non responsive. I then close the window and try to reconnect and there is no response from smartos KVM server. Running "vmadmin info UUID vnc" shows that the VM is no longer serving a PORT and its blank.

This seems to be triggered from the Client only, and running the vncviewer session from the command line works perfectly every time. run from command line as e.g "/Applications/RealVNC/VNC\ Viewer.app/Contents/MacOS/vncviewer AutoSelect=0 FullColor=1 10.1.1.201:51312 "