Added a little bit of sanity checking on vnc session creation.