wok-stable rev 12458

x11vnc: update X11VNC_OPTIONS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 28 14:33:41 2016 +0100 (2016-12-28)
parents d4e29f7d8c7c
children 4528c1908a0b
files x11vnc/receipt
line diff
     1.1 --- a/x11vnc/receipt	Fri Oct 21 16:31:54 2016 +0200
     1.2 +++ b/x11vnc/receipt	Wed Dec 28 14:33:41 2016 +0100
     1.3 @@ -36,7 +36,7 @@
     1.4  {
     1.5  	grep -q "^X11VNC" $1/etc/daemons.conf || cat >>$1/etc/daemons.conf <<EOT
     1.6  # VNC server options.
     1.7 -X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -loop -tightfilexfer -permitfiletransfer -display :0"
     1.8 +X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -auth /var/run/slim.auth -allow 10.,192.168.,127.0.0.1 -forever -loop -tightfilexfer -permitfiletransfer -display :0"
     1.9  
    1.10  EOT
    1.11  	[ -f $1/etc/vnc.secret ] ||