[PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value

Maurizio Vairani maurizio.vairani at cloverinformatica.it
Thu Jun 21 10:31:05 UTC 2012


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



More information about the freebsd-virtualization mailing list