From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 22 22:33:02 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 87BC31065846 for ; Fri, 22 Jun 2012 22:33:01 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by mx1.freebsd.org (Postfix) with ESMTP id 8629F8FC14 for ; Fri, 22 Jun 2012 22:33:01 +0000 (UTC) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by coco.macktronics.com (Postfix) with ESMTP id 783F54AC40; Fri, 22 Jun 2012 17:32:54 -0500 (CDT) Date: Fri, 22 Jun 2012 17:32:54 -0500 (CDT) From: Dan Mack To: Maurizio Vairani In-Reply-To: <4FE2F7DF.8050808@cloverinformatica.it> Message-ID: <20120622173029.F21389@coco.macktronics.com> References: <4FB4E9F1.3010001@cloverinformatica.it> <20120620173655.G2070@coco.macktronics.com> <4FE2F7DF.8050808@cloverinformatica.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Fri, 22 Jun 2012 22:33:02 -0000 On Thu, 21 Jun 2012, Maurizio Vairani wrote: > 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 > Ack, my bad. I still have version 0.9.8 installed; I'll re-build with 0.9.9 after 4.1.18 is released. Dan