Commit a3c971ba authored by runge's avatar runge

x11vnc: tweaks to prepare_x11vnc_dist.sh. set cd->unixname in apply_opts().

parent bcc2383c
...@@ -13,6 +13,8 @@ sed -e "s/LibVNCServer, [^,)]*\([(,]\)*/x11vnc, $VERSION\1/g" \ ...@@ -13,6 +13,8 @@ sed -e "s/LibVNCServer, [^,)]*\([(,]\)*/x11vnc, $VERSION\1/g" \
-e "s/\(contrib\|examples\|vncterm\|test\|client_examples\)\/Makefile//g" \ -e "s/\(contrib\|examples\|vncterm\|test\|client_examples\)\/Makefile//g" \
-e "s/LibVNCServer.spec/x11vnc.spec/g" \ -e "s/LibVNCServer.spec/x11vnc.spec/g" \
-e "s/AC_PROG_LIBTOOL/AC_PROG_RANLIB/" \ -e "s/AC_PROG_LIBTOOL/AC_PROG_RANLIB/" \
-e "s/PKG_CHECK/#PKG_CHECK/" \
-e 's/if test "x$with_gnutls/with_gnutls=no; if test "x$with_gnutls/' \
> configure.ac > configure.ac
mv Makefile.am Makefile.am.LibVNCServer mv Makefile.am Makefile.am.LibVNCServer
......
2010-05-08 Karl Runge <runge@karlrunge.com>
* x11vnc: set cd->unixname in apply_opts. Print message in
vnc_reflect_resize. Some tweaks to prepare_x11vnc_dist.sh
2010-05-01 Karl Runge <runge@karlrunge.com> 2010-05-01 Karl Runge <runge@karlrunge.com>
* x11vnc: X11VNC_DISABLE_SSL_CLIENT_MODE option to disable SSL * x11vnc: X11VNC_DISABLE_SSL_CLIENT_MODE option to disable SSL
client role in reverse connections. Improvements to logging in client role in reverse connections. Improvements to logging in
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Copyright (C) 2002-2010 Karl J. Runge <runge@karlrunge.com> Copyright (C) 2002-2010 Karl J. Runge <runge@karlrunge.com>
All rights reserved. All rights reserved.
x11vnc README file Date: Sun May 2 18:25:14 EDT 2010 x11vnc README file Date: Sat May 8 19:32:50 EDT 2010
The following information is taken from these URLs: The following information is taken from these URLs:
...@@ -912,7 +912,7 @@ make ...@@ -912,7 +912,7 @@ make
* Coming Soon. * Coming Soon.
Here are some features that will appear in the 0.9.10 release: Here are some features that appeared in the 0.9.10 release:
* The included SSL enabled Java applet viewer now supports Chained * The included SSL enabled Java applet viewer now supports Chained
SSL Certificates. The debugCerts=yes applet parameter aids SSL Certificates. The debugCerts=yes applet parameter aids
troubleshooting certificate validation. The x11vnc -ssl mode has troubleshooting certificate validation. The x11vnc -ssl mode has
...@@ -11217,7 +11217,7 @@ Unix and Mac OS X: ...@@ -11217,7 +11217,7 @@ Unix and Mac OS X:
Unpack the archive: Unpack the archive:
% gzip -dc ssvnc-1.0.27.tar.gz | tar xvf - % gzip -dc ssvnc-1.0.28.tar.gz | tar xvf -
Run the GUI: Run the GUI:
...@@ -11225,7 +11225,7 @@ Unix and Mac OS X: ...@@ -11225,7 +11225,7 @@ Unix and Mac OS X:
% ./ssvnc/MacOSX/ssvnc (for Mac OS X) % ./ssvnc/MacOSX/ssvnc (for Mac OS X)
The smaller file "ssvnc_no_windows-1.0.27.tar.gz" The smaller file "ssvnc_no_windows-1.0.28.tar.gz"
could have been used as well. could have been used as well.
On MacOSX you could also click on the SSVNC app icon in the Finder. On MacOSX you could also click on the SSVNC app icon in the Finder.
...@@ -11271,8 +11271,8 @@ Unix/MacOSX Install: ...@@ -11271,8 +11271,8 @@ Unix/MacOSX Install:
For the conventional source tarball it will compile and install, e.g.: For the conventional source tarball it will compile and install, e.g.:
gzip -dc ssvnc-1.0.27.src.tar.gz | tar xvf - gzip -dc ssvnc-1.0.28.src.tar.gz | tar xvf -
cd ssvnc-1.0.27 cd ssvnc-1.0.28
make config make config
make all make all
make PREFIX=/my/install/dir install make PREFIX=/my/install/dir install
...@@ -11285,7 +11285,7 @@ Windows: ...@@ -11285,7 +11285,7 @@ Windows:
Unzip, using WinZip or a similar utility, the zip file: Unzip, using WinZip or a similar utility, the zip file:
ssvnc-1.0.27.zip ssvnc-1.0.28.zip
Run the GUI, e.g.: Run the GUI, e.g.:
...@@ -11297,7 +11297,7 @@ Windows: ...@@ -11297,7 +11297,7 @@ Windows:
select Open, and then OK to launch it. select Open, and then OK to launch it.
The smaller file "ssvnc_windows_only-1.0.27.zip" The smaller file "ssvnc_windows_only-1.0.28.zip"
could have been used as well. could have been used as well.
You can make a Windows shortcut to this program if you want to. You can make a Windows shortcut to this program if you want to.
...@@ -11964,25 +11964,25 @@ r ...@@ -11964,25 +11964,25 @@ r
"ssvnc_unix_only" (or "ssvnc_no_windows" to recompile). "ssvnc_unix_only" (or "ssvnc_no_windows" to recompile).
On Mac OS X? Use "ssvnc_no_windows". On Mac OS X? Use "ssvnc_no_windows".
On Windows? Use "ssvnc_windows_only". On Windows? Use "ssvnc_windows_only".
ssvnc_windows_only-1.0.26.zip Windows Binaries Only. No source included ssvnc_windows_only-1.0.27.zip Windows Binaries Only. No source included
(6.2MB) (6.2MB)
ssvnc_no_windows-1.0.26.tar.gz Unix and Mac OS X Only. No Windows binarie ssvnc_no_windows-1.0.27.tar.gz Unix and Mac OS X Only. No Windows binarie
s. Source included. (10.1MB) s. Source included. (10.1MB)
ssvnc_unix_only-1.0.26.tar.gz Unix Binaries Only. No source included ssvnc_unix_only-1.0.27.tar.gz Unix Binaries Only. No source included
. (7.2MB) . (7.2MB)
ssvnc_unix_minimal-1.0.26.tar.gz Unix Minimal. You must supply your own vn ssvnc_unix_minimal-1.0.27.tar.gz Unix Minimal. You must supply your own vn
cviewer and stunnel. (0.2MB) cviewer and stunnel. (0.2MB)
ssvnc-1.0.26.tar.gz All Unix, Mac OS X, and Windows binaries a ssvnc-1.0.27.tar.gz All Unix, Mac OS X, and Windows binaries a
nd source TGZ. (16.1MB) nd source TGZ. (16.1MB)
ssvnc-1.0.26.zip All Unix, Mac OS X, and Windows binaries a ssvnc-1.0.27.zip All Unix, Mac OS X, and Windows binaries a
nd source ZIP. (16.4MB) nd source ZIP. (16.4MB)
ssvnc_all-1.0.26.zip All Unix, Mac OS X, and Windows binaries a ssvnc_all-1.0.27.zip All Unix, Mac OS X, and Windows binaries a
nd source AND full archives in the zip dir. (19.2MB) nd source AND full archives in the zip dir. (19.2MB)
Here is a conventional source tarball: Here is a conventional source tarball:
ssvnc-1.0.26.src.tar.gz Conventional Source for SSVNC GUI and Unix ssvnc-1.0.27.src.tar.gz Conventional Source for SSVNC GUI and Unix
VNCviewer (0.5MB) VNCviewer (0.5MB)
it will be of use to those who do not want the SSVNC it will be of use to those who do not want the SSVNC
...@@ -12000,19 +12000,19 @@ nd source AND full archives in the zip dir. (19.2MB) ...@@ -12000,19 +12000,19 @@ nd source AND full archives in the zip dir. (19.2MB)
"ssvnc_all", you may need to run the "./build.unix" script in the top "ssvnc_all", you may need to run the "./build.unix" script in the top
directory to recompile for your operating system. directory to recompile for your operating system.
Here are the corresponding 1.0.27 development bundles (Please help Here are the corresponding 1.0.28 development bundles (Please help
test them): test them):
ssvnc_windows_only-1.0.27.zip ssvnc_windows_only-1.0.28.zip
ssvnc_no_windows-1.0.27.tar.gz ssvnc_no_windows-1.0.28.tar.gz
ssvnc_unix_only-1.0.27.tar.gz ssvnc_unix_only-1.0.28.tar.gz
ssvnc_unix_minimal-1.0.27.tar.gz ssvnc_unix_minimal-1.0.28.tar.gz
ssvnc-1.0.27.tar.gz ssvnc-1.0.28.tar.gz
ssvnc-1.0.27.zip ssvnc-1.0.28.zip
ssvnc_all-1.0.27.zip ssvnc_all-1.0.28.zip
ssvnc-1.0.27.src.tar.gz Conventional Source for SSVNC GUI and Unix ssvnc-1.0.28.src.tar.gz Conventional Source for SSVNC GUI and Unix
VNCviewer (0.5MB) VNCviewer (0.5MB)
...@@ -12035,6 +12035,7 @@ nd source AND full archives in the zip dir. (19.2MB) ...@@ -12035,6 +12035,7 @@ nd source AND full archives in the zip dir. (19.2MB)
Release 1.0.24 at Sourceforge.net Release 1.0.24 at Sourceforge.net
Release 1.0.25 at Sourceforge.net Release 1.0.25 at Sourceforge.net
Release 1.0.26 at Sourceforge.net Release 1.0.26 at Sourceforge.net
Release 1.0.27 at Sourceforge.net
Please help test the UltraVNC File Transfer support in the native Unix Please help test the UltraVNC File Transfer support in the native Unix
...@@ -12099,7 +12100,7 @@ x11vnc: a VNC server for real X displays ...@@ -12099,7 +12100,7 @@ x11vnc: a VNC server for real X displays
Here are all of x11vnc command line options: Here are all of x11vnc command line options:
% x11vnc -opts (see below for -help long descriptions) % x11vnc -opts (see below for -help long descriptions)
x11vnc: allow VNC connections to real X11 displays. 0.9.11 lastmod: 2010-05-02 x11vnc: allow VNC connections to real X11 displays. 0.9.11 lastmod: 2010-05-08
x11vnc options: x11vnc options:
-display disp -auth file -N -display disp -auth file -N
...@@ -12229,7 +12230,7 @@ libvncserver-tight-extension options: ...@@ -12229,7 +12230,7 @@ libvncserver-tight-extension options:
% x11vnc -help % x11vnc -help
x11vnc: allow VNC connections to real X11 displays. 0.9.11 lastmod: 2010-05-02 x11vnc: allow VNC connections to real X11 displays. 0.9.11 lastmod: 2010-05-08
(type "x11vnc -opts" to just list the options.) (type "x11vnc -opts" to just list the options.)
......
...@@ -160,9 +160,9 @@ char *list_clients(void) { ...@@ -160,9 +160,9 @@ char *list_clients(void) {
* <id>:<ip>:<port>:<user>:<unix>:<hostname>:<input>:<loginview>:<time>, * <id>:<ip>:<port>:<user>:<unix>:<hostname>:<input>:<loginview>:<time>,
* 8+1+64+1+5+1+24+1+24+1+256+1+5+1+1+1+10+1 * 8+1+64+1+5+1+24+1+24+1+256+1+5+1+1+1+10+1
* 123.123.123.123:60000/0x11111111-rw, * 123.123.123.123:60000/0x11111111-rw,
* so count+1 * 500 must cover it. * so count+1 * 1000 must cover it.
*/ */
list = (char *) malloc((count+1)*500); list = (char *) malloc((count+1)*1000);
list[0] = '\0'; list[0] = '\0';
......
...@@ -1341,6 +1341,8 @@ rfbBool vnc_reflect_resize(rfbClient *cl) { ...@@ -1341,6 +1341,8 @@ rfbBool vnc_reflect_resize(rfbClient *cl) {
free(cl->frameBuffer); free(cl->frameBuffer);
} }
cl->frameBuffer= malloc(cl->width * cl->height * cl->format.bitsPerPixel/8); cl->frameBuffer= malloc(cl->width * cl->height * cl->format.bitsPerPixel/8);
rfbLog("vnc_reflect_resize: %dx%dx%d first=%d\n", cl->width, cl->height,
cl->format.bitsPerPixel, first);
if (!first) { if (!first) {
do_new_fb(1); do_new_fb(1);
} }
......
...@@ -2005,9 +2005,6 @@ static void apply_opts (char *user) { ...@@ -2005,9 +2005,6 @@ static void apply_opts (char *user) {
ClientData *cd; ClientData *cd;
int i, notmode = 0; int i, notmode = 0;
if (! unixpw_list) {
return;
}
if (! unixpw_client) { if (! unixpw_client) {
rfbLog("apply_opts: unixpw_client is NULL\n"); rfbLog("apply_opts: unixpw_client is NULL\n");
clean_up_exit(1); clean_up_exit(1);
...@@ -2024,8 +2021,12 @@ static void apply_opts (char *user) { ...@@ -2024,8 +2021,12 @@ static void apply_opts (char *user) {
free(cd->unixname); free(cd->unixname);
} }
cd->unixname = strdup(user); cd->unixname = strdup(user);
rfbLog("apply_opts: set unixname to: %s\n", cd->unixname);
} }
if (! unixpw_list) {
return;
}
str = strdup(unixpw_list); str = strdup(unixpw_list);
/* apply any per-user options. */ /* apply any per-user options. */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.TH X11VNC "1" "May 2010" "x11vnc " "User Commands" .TH X11VNC "1" "May 2010" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays x11vnc - allow VNC connections to real X11 displays
version: 0.9.11, lastmod: 2010-05-02 version: 0.9.11, lastmod: 2010-05-08
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
......
...@@ -47,7 +47,7 @@ int xtrap_base_event_type = 0; ...@@ -47,7 +47,7 @@ int xtrap_base_event_type = 0;
int xdamage_base_event_type = 0; int xdamage_base_event_type = 0;
/* date +'lastmod: %Y-%m-%d' */ /* date +'lastmod: %Y-%m-%d' */
char lastmod[] = "0.9.11 lastmod: 2010-05-02"; char lastmod[] = "0.9.11 lastmod: 2010-05-08";
/* X display info */ /* X display info */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment