changed "get vnc port" parameter from string to hashmap

Signed-off-by: Peter <mcheung63@hotmail.com>