FreeBSD Port: libvncserver-0.9.9

Maurizio Vairani maurizio.vairani at cloverinformatica.it
Mon May 14 12:44:59 UTC 2012


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 at 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.




More information about the freebsd-ports mailing list