Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 12:58:31 +0100
From:      "Edmonds, Alan" <Alan.Edmonds@t-mobile.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: anyone gotten vnc 4.0 to compile yet? 
Message-ID:  <6C6B7241D8B46241B42826B38F023A7F1947B9@tmexbridge.hammersmith.t-motion.co.uk>

next in thread | raw e-mail | index | archive | help

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=20
to a FreeBSD 4.10-STABLE box running Xorg 6.7.

No problems, but I haven't extensively tested it yet.

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:=20

Section "Module"
        ...
        Load "vnc"
EndSection
...
Section "Screen"
        ...
        Option "passwordFile" "/root/.vnc/passwd"
EndSection



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C6B7241D8B46241B42826B38F023A7F1947B9>