Hello community, here is the log from the commit of package x11vnc for openSUSE:Factory checked in at 2016-02-17 10:26:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/x11vnc (Old) and /work/SRC/openSUSE:Factory/.x11vnc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "x11vnc" Changes: -------- --- /work/SRC/openSUSE:Factory/x11vnc/x11vnc.changes 2015-05-26 12:35:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.x11vnc.new/x11vnc.changes 2016-02-17 12:26:16.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Jan 16 20:15:07 UTC 2016 - [email protected] + +- again set proper options for vncclient, autodetect client type + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ x11vnc_ssh ++++++ --- /var/tmp/diff_new_pack.Oa8DGL/_old 2016-02-17 12:26:17.000000000 +0100 +++ /var/tmp/diff_new_pack.Oa8DGL/_new 2016-02-17 12:26:17.000000000 +0100 @@ -18,7 +18,18 @@ # You can add -threads here if it works stable enough for you cmd="x11vnc -display :$disp -localhost -allinput -rfbauth ~/.vnc/passwd $2" -enc="copyrect tight zlib corre rre raw" + +# Set options for a performant connection: +# detect tightvnc, tigervnc and allows VNCOPTS variable for user input +if [ -n "$VNCOPTS" ]; then + opts=$VNCOPTS +else + if [ -n "$(vncviewer -h 2>&1|grep tigervnc)" ]; then + opts="-compresslevel=6 -qualitylevel=6 -autoselect=1" + elif [ -n "$(vncviewer -h 2>&1|grep tightvnc)" ]; then + opts="-quality 8 -compresslevel 6 -encodings \"copyrect tight zlib corre rre raw\"" + fi +fi port=4 @@ -71,7 +82,7 @@ for i in 1 2 3 do sleep 2 - echo "vncviewer :$port $3" - if vncviewer :$port $3; then break; fi + echo "vncviewer $opts :$port $3" + if vncviewer $opts :$port $3; then break; fi done
