Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 14:44:55 +0200
From:      Maurizio Vairani <maurizio.vairani@cloverinformatica.it>
To:        bapt@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: libvncserver-0.9.9
Message-ID:  <4FB0FE47.3060802@cloverinformatica.it>

next in thread | raw e-mail | index | archive | help
Disabling ipv6 in libvncserver-0.9.9 on FreeBSD 9

# uname -a
FreeBSD clover-nas-test 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 
07:46:30 UTC 2012     
root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I have compiled this library without the ipv6 support:
# cd /usr/ports/net/libvncserver
# make fetch
# make patch
# cd work/LibVNCServer-0.9.9
# ./configure --without-x --without-ipv6 --with-ssl
# make all
# make install

The supplied example:
# /usr/ports/net/libvncserver/work/LibVNCServer-0.9.9/examples/example
14/05/2012 14:15:04 Listening for VNC connections on TCP port 5900
14/05/2012 14:15:04 Listening for HTTP connections on TCP port 5800
14/05/2012 14:15:04   URL http://clover-nas-test:5800
starts, but attempting to connect it crash:
via VNC port 5900:
Bus error: 10 (core dumped)

via HTTP port 5800:
14/05/2012 14:18:39 httpd: get '' for 192.168.0.185
14/05/2012 14:18:39 httpd: defaulting to 'index.vnc'
Bus error: 10 (core dumped)

Recompiling the library with ipv6 support all works.





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