Hello community, here is the log from the commit of package x11vnc checked in at Fri Aug 10 17:20:43 CEST 2007. -------- --- x11vnc/x11vnc.changes 2007-07-24 01:09:56.000000000 +0200 +++ /mounts/work_src_done/STABLE/x11vnc/x11vnc.changes 2007-08-08 00:39:51.782338000 +0200 @@ -1,0 +2,8 @@ +Wed Aug 8 00:01:01 CEST 2007 - garloff@suse.de + +- Updated x11vnc_ssh script: + * Probe for free port on server. + * Remove hextile from list of preferred encodings. +- Build with SSL support for encrypting VNC auth + traffic. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ x11vnc.spec ++++++ --- /var/tmp/diff_new_pack.r16302/_old 2007-08-10 17:20:36.000000000 +0200 +++ /var/tmp/diff_new_pack.r16302/_new 2007-08-10 17:20:36.000000000 +0200 @@ -11,12 +11,12 @@ # norootforbuild Name: x11vnc -BuildRequires: libjpeg-devel unzip xorg-x11-devel +BuildRequires: libjpeg-devel openssl-devel unzip xorg-x11-devel License: GPL v2 or later Group: Development/Libraries/X11 Autoreqprov: on Version: 0.9.2 -Release: 2 +Release: 7 Summary: Export running X11 session via VNC URL: http://libvncserver.sf.net/ Source0: %{name}-%{version}.tar.bz2 @@ -84,6 +84,11 @@ /usr/share/x11vnc/* %changelog +* Wed Aug 08 2007 - garloff@suse.de +- Updated x11vnc_ssh script: + * Probe for free port on server. + * Remove hextile from list of preferred encodings. +- Build with SSL support for encrypting VNC auth + traffic. * Tue Jul 24 2007 - ro@suse.de - added unzip to buildreq * Tue Jul 17 2007 - garloff@suse.de ++++++ x11vnc_ssh ++++++ --- x11vnc/x11vnc_ssh 2006-07-28 08:00:00.000000000 +0200 +++ /mounts/work_src_done/STABLE/x11vnc/x11vnc_ssh 2007-08-07 23:55:27.000000000 +0200 @@ -18,7 +18,7 @@ # 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 hextile zlib corre rre raw" +enc="copyrect tight zlib corre rre raw" port=4 @@ -39,14 +39,39 @@ exit 1 } +find_server_port () +{ +ssh $host " +port_is_free () +{ + while read proto rq sq local remote rest; do + if [ \${local##*:} = \$1 ]; then return 1; fi + done < <(LANG=POSIX netstat -tan) + return 0 +} + +find_free_port () +{ + for port in \`seq 5900 5931\`; do + if port_is_free \$port; then echo \$port; return; fi + done + echo 'ERROR: No free port 5900 -- 5931 found' + exit 1 +} +find_free_port +" +} + find_free_port +sport=`find_server_port` -echo "ssh -f -L $((port+5900)):localhost:5900 $host \"$cmd\"" -ssh -f -L $((port+5900)):localhost:5900 $host "$cmd" +echo "ssh -f -L $((port+5900)):localhost:$sport $host \"$cmd -rfbport $sport\"" +ssh -f -L $((port+5900)):localhost:$sport $host "$cmd -rfbport $sport" for i in 1 2 3 do sleep 2 + echo "vncviewer -quality 8 -compresslevel 6 -encodings $enc :$port $3" if vncviewer -quality 8 -compresslevel 6 -encodings "$enc" :$port $3; then break; fi done ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org