anyone gotten vnc 4.0 to compile yet?

Edmonds, Alan Alan.Edmonds at t-mobile.net
Fri Oct 22 02:24:23 PDT 2004


I got it to compile by placing

#include <sys/types.h>

in <vncsrc>/xc/programs/Xserver/vnc/XserverDesktop.h on line 34 (just after the #include <os.h>)

I built this against the X430src- tree on FreeBSD 4.7.  I then copied the vnc.so module 
to a FreeBSD 4.10-STABLE box running Xorg 6.7.  The 4.10 box is running with i810 drivers.
I also tried the module on a 5-latest laptop with DRM enabled and ATI Radeon drivers.  When
I connected, the laptop screen started flickering and the laptop locked up hard.  Power cycle
to recover.  I haven't tried it with the DRM disabled.

I modified the XF86Config file as per the instructions on RealVNC's page: http://www.realvnc.com/v4/x0.html

If your native X server is an XFree86 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



-- 
Alan Edmonds
+44 20 8762 5195 Office
+44 7950 203 918 Mobile
Infrastructure Specialist
T-Mobile International



More information about the freebsd-questions mailing list