On Wed, 23 Jul 2014 14:53:13 -0700 Kristian Erik Hermansen
<kristian.herman...@gmail.com> wrote:
> # x11vnc -safer -listen 127.0.0.1 -no6 -bg -display :0 2>&1 | egrep -i 'tcp6'
> 23/07/2014 14:48:42 Autoprobing TCP6 port
> 23/07/2014 14:48:42 Autoprobing selected TCP6 port 5900

I've found that it's possible to avoid this behavior by using
-rfbportv6 -1 together with -rfbport in order to specify an ipv4 port.
It is necessary to specify an ipv4 port via the -rfbport argument in
order to prevent rfbScreen->autoPort from triggering the "Autoprobing"
code that opens an ipv6 socket here:

https://github.com/LibVNC/libvncserver/blob/LibVNCServer-0.9.10/libvncserver/sockets.c#L159

Reply via email to