[PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value

Dan Mack mack at macktronics.com
Fri Jun 22 22:33:02 UTC 2012


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


More information about the freebsd-virtualization mailing list