Native X display support

Overview

Both the Xvnc and vncserver programs create a new VNC desktop. It is also possible to remote the native X server (i.e. the ":0" X display). There are two ways this can be done:

For configuration instructions, please read our common configuration scenarios. In particular, in order to configure either x0vncserver or the vnc.so module to use encryption, you must first first generate encryption keys.

vnc.so module

The vnc.so module is supported on Linux-based platforms running an XFree86 X Server version 4.2 and above or a recent XOrg X Server. To enable or disable it you need to edit the X Server configuration file manually to add a Load or SubSection entry to the Module section of XF86Config. The parameters listed in the Xvnc manual page can be set as options in XF86Config using SubSection. For example:

Section "Module"
  ...
  Subsection "vnc"
    Option "Desktop" "Bob's Workstation"
    Option "IdleTimeout" "600"
    ...
  EndSubSection
EndSection

x0vncserver

If your operating system or X Server is not supported by the vnc.so module, you can use a less efficient but non-invasive VNC server called x0vncserver, which continuously polls any X display, allowing it to be controlled via VNC.

© RealVNC Limited