Set VNCServer$Dir <Obey$Dir>

| load ZLib if possible (required for zlib & zrle encodings)
RMEnsure ZLib 0.00 IfThere System:Modules.ZLib Then RMLoad System:Modules.ZLib 

| first make sure the vncserver module is installed
RMEnsure vncserver 0.00 RMLoad <VNCServer$Dir>.vncserver

| arg : 1 to enable clipboard (copy & paste) integration, 0 to disable
vncserv_enable_clipboard 1

| arg : 1 to use the filter manager for tracking screen updates in the Wimp, 0 to disable
vncserv_enable_filter 0

| arg : zlib compression level, 1 (fastest) to 9 (slowest). 0 disables zlib encoding, but allows uncompressed zrle. -1 disables both zlib and zrle.
vncserv_zlib_level 0

| start up the server (args are port no. and password)
vncserv_start 5900 bob

| connect the VNC server's input to the mouse and keyboard
vncserv_mouse_kbd

| arg : 1 to swap adjust/menu or 0 to not swap
|vncserv_swap_adjust_menu 1
