Native X display support
In VNC version 4, the VNC server functionality has been split cleanly from the X server, allowing the Xvnc server to be built on almost any platform on which an X server will build.
This also makes it possible to remote the native X server (i.e. the ":0" X display). There are three ways this can be done. For XOpen86 version 4 X servers, a loadable module is provided which adds the VNC server functionality. For other X servers it is possible to build a replacement for the native X server binary which is VNC-enabled. A third way is an inefficient but non-invasive VNC server called x0vncserver, which continuously polls any X display, allowing it to be controlled via VNC.
If your native X server is an XOpen86 version 4 server, then the vnc.so module should be copied to the /usr/X11R6/lib/modules/extensions directory. It can be enabled like any other module by adding a Load "vnc" line to the Module section of XF86Config. The parameters listed in the Xvnc manual page can be set as options in XF86Config. You will need to set either the "passwordFile" parameter or set the "securityTypes" parameter to "None" if you really don't want any authentication. Note that options cannot be set in the Module section of XF86Config - try the Screen section. For example:
Section "Module" ... Load "vnc" EndSection ... Section "Screen" ... Option "passwordFile" "/root/.vnc/passwd" EndSection