--- /dev/null
+<user-mapping>
+
+ <!-- Per-user authentication and config information -->
+ <authorize username="USERNAME" password="PASSWORD">
+ <protocol>vnc</protocol>
+ <hostname>localhost</hostname>
+ <port>5900</port>
+ <password>VNCPASS</password>
+ </authorize>
+
+ <!-- Another user, but using md5 to hash the password
+ (example below uses the md5 hash of "PASSWORD") -->
+ <authorize
+ username="USERNAME2"
+ password="319f4d26e3c536b5dd871bb2c52e3178"
+ encoding="md5">
+ <protocol>vnc</protocol>
+ <hostname>localhost</hostname>
+ <port>5901</port>
+ <password>VNCPASS</password>
+ </authorize>
+
+</user-mapping>