Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2012 12:30:55 +0200
From:      Maurizio Vairani <maurizio.vairani@cloverinformatica.it>
To:        Dan Mack <mack@macktronics.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: [PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value
Message-ID:  <4FE2F7DF.8050808@cloverinformatica.it>
In-Reply-To: <20120620173655.G2070@coco.macktronics.com>
References:  <4FB4E9F1.3010001@cloverinformatica.it> <20120620173655.G2070@coco.macktronics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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