bug #1838: Check VNC states in sunstone server
bug #1838: Use strings instead of integer in VNC_STATES