From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 11:58:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DEE316A4CE for ; Mon, 27 Sep 2004 11:58:34 +0000 (GMT) Received: from o2ogate.t-mobile.co.uk (o2ogate.t-mobile.co.uk [193.131.126.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 540B443D2F for ; Mon, 27 Sep 2004 11:58:33 +0000 (GMT) (envelope-from Alan.Edmonds@t-mobile.net) Received: from tmexbridge.hammersmith.t-motion.co.uk ([172.16.134.6]) i8RBwVS9002046 for ; Mon, 27 Sep 2004 12:58:32 +0100 (BST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Sep 2004 12:58:31 +0100 Message-ID: <6C6B7241D8B46241B42826B38F023A7F1947B9@tmexbridge.hammersmith.t-motion.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: anyone gotten vnc 4.0 to compile yet? Thread-Index: AcSkiU7rrsiyAuFVQb2y55KyEiaLTg== From: "Edmonds, Alan" To: Subject: Re: anyone gotten vnc 4.0 to compile yet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 11:58:34 -0000 I got it to compile by placing #include in /xc/programs/Xserver/vnc/XserverDesktop.h on line 34 (just = after the #include ) 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