From owner-freebsd-virtualization@FreeBSD.ORG Thu Jun 21 10:31:05 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 849801065672 for ; Thu, 21 Jun 2012 10:31:05 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtplq01.aruba.it (smtplq-out15.aruba.it [62.149.158.35]) by mx1.freebsd.org (Postfix) with SMTP id 962608FC17 for ; Thu, 21 Jun 2012 10:31:04 +0000 (UTC) Received: (qmail 1944 invoked by uid 89); 21 Jun 2012 10:30:55 -0000 Received: from unknown (HELO smtp7.aruba.it) (62.149.158.227) by smtplq01.aruba.it with SMTP; 21 Jun 2012 10:30:55 -0000 Received: (qmail 18428 invoked by uid 89); 21 Jun 2012 10:30:55 -0000 Received: from unknown (HELO cloverinformatica.it) (info@cloverinformatica.it@151.55.85.29) by smtp7.ad.aruba.it with SMTP; 21 Jun 2012 10:30:55 -0000 Received: from [192.168.0.185] (ASUS-TERMINATOR [192.168.0.185]) by cloverinformatica.it (Postfix) with ESMTP id CBDE03A; Thu, 21 Jun 2012 12:30:55 +0200 (CEST) Message-ID: <4FE2F7DF.8050808@cloverinformatica.it> Date: Thu, 21 Jun 2012 12:30:55 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 4.0; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Dan Mack References: <4FB4E9F1.3010001@cloverinformatica.it> <20120620173655.G2070@coco.macktronics.com> In-Reply-To: <20120620173655.G2070@coco.macktronics.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: smtp7.ad.aruba.it 1.6.2 0/1000/N X-Spam-Rating: smtplq01.aruba.it 1.6.2 0/1000/N Cc: freebsd-virtualization@freebsd.org Subject: Re: [PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2012 10:31:05 -0000 On 21/06/2012 0.39, Dan Mack wrote: > > I think this patch is broken. I get : > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp:94: > > error: 'struct _rfbScreenInfo' has no member named 'ipv6port' > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxHeadless/FramebufferVNC.o] > Error 1 > > Dan > > On Thu, 17 May 2012, Maurizio Vairani wrote: > >> Dear list members, >> the latest libvncserver has IPv6 enabled by default. VirtualBox uses >> this library for VNC headless connection without specify the tcp6 >> port value. Running two or more virtual machines, all are trying to >> use the same tpc6 port 5900, the default value. Connecting with a >> VNC viewer to a virtual machine, different from the first started, >> it crashes with a core dump, probably due a bug in the FreeBSD >> libvncserver implementation. >> This simple patch set the tcp6 port value to the same value as tcp4 >> port avoiding the crash. >> >> Regards, >> Maurizio >> >> >> What version of libvncserver you have ? I have installed v. 0.9.9_2 $ pkg_info | grep libvnc libvncserver-0.9.9_2 Provide an easy API to write one's own vnc server Maurizio