summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation with newer automakeJohannes Schindelin2010-03-132-2/+2
| | | | | | | For some reason, this developer's automake no longer understands _SOURCES lines anymore. Work around that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Rename HAVE_X -> HAVE_X11Johannes Schindelin2010-03-132-8/+8
| | | | | | This change is just for consistency reasons. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient/vncviewer.c: don't set serverPort in rfbInitClient().Christian Beier2010-01-251-1/+0
| | | | | | | | | The serverPort member is already set in rfbGetClient(), if we set it again in rfbInitClient(), this breaks playing of vncrec files (this relies on serverPort set to -1). Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* LibVNCClient: make sure that the port is initialized correctly.Johannes Schindelin2010-01-161-6/+7
| | | | | | While at it, adjust coding style. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add UltraVNC Repeater support in libvncclientVic Lee2010-01-163-1/+76
| | | | | | | [jes: adjusted coding style, made sure port is initialized correctly] Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* x11vnc: add modeline creation to Xdummy.runge2010-01-074-32/+102
|
* libvncserver/font.c: add some checks to rfbDrawChar().Christian Beier2010-01-071-1/+2
| | | | | | | | | | In some cases (bad font data) the coordinates evaluate to <0, causing a segfault in the following memcpy(). [jes: keep the offset, but do not try to segfault] Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* LinuxVNC: Fix for no input possible because of ctrl key being stuck.Christian Beier2010-01-071-1/+2
| | | | | | | | Issue was reported as Debian bug ##555988, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555988 Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* LinuxVNC: fix segfault at "linuxvnc 1 -help".Christian Beier2010-01-042-3/+5
| | | | | | | | | This fixes Debian Bug #399501: Switch to tty1. Run "linuxvnc 1 -help". You see help text, followed by "Segmentation fault". Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* x11vnc: small tweaks to Xdummy, rx11vnc*. Apply SMALL_FOOTPRINT to ↵runge2010-01-0296-164/+179
| | | | -appshare text. Copyright year change.
* year++;runge2010-01-021-1/+1
|
* Merge branch 'master' of ↵runge2010-01-023-6/+61
|\ | | | | | | ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver
| * Add support for viewers to select security types on demandVic Lee2010-01-013-6/+61
| | | | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | tightvnc-filetransfer/rfbtightserver.c: enabled fixrunge2010-01-022-0/+12
|/ | | | for tight security type for RFB 3.8 (debian bug 517422.)
* x11vnc: rename -create_x to -create_xsrv. Hopefully done fixing Xdummy.runge2009-12-297-829/+955
|
* x11vnc: Fix problems in --without-x builds. Fix crashrunge2009-12-2818-699/+1417
| | | | | | with -QD query for dbus info. Adjust window size for small screens in -gui. Improve F1 help for xdm, etc. include ssvnc 1.0.25 source.
* Merge branch 'master' of ↵runge2009-12-241-2/+4
|\ | | | | | | ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver/libvncserver
| * Fix version checking (>=3.8) for rfbVncAuthOK confirmation when no password ↵Vic Lee2009-12-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | required It seems that vino does not send AuthOK when there is no password with anonymous TLS, and it seems that vino is the only <3.8 VNC server that handles anonymous TLS at all, so let's not wait for the packet that will never come. Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | x11vnc: prepare_x11vnc_dist.sh for 0.9.10. -xdummy_xvfb,runge2009-12-2411-298/+771
|/ | | | | -svc_xdummy_xvfb and -create_x shorthand. lxde session. Xdummy improvements and root no longer required.
* x11vnc: -DENC_HAVE_OPENSSL=0 to disable enc.h but stillrunge2009-12-217-19/+91
| | | | | have ssl. Tweak ps command in find_display. Try to handle AIX su. Ignore an initial newline at login: for -unixpw.
* ChangeLog typorunge2009-12-181-1/+1
|
* Add tag=... to unixpw opts to set FD_TAG. Prefer Xvfb over Xdummy.runge2009-12-1810-46/+190
| | | | Reduce wait time for https. Add 'Login succeeded' output to unixpw panel.
* x11vnc: fix keycode and other remote control actions underrunge2009-12-189-1271/+1336
| | | | | | | DIRECT: with an extra XFlush and other safety measures. fflush(stderr) much in su_verify. Make the -unixpw env. vars UNIXPW_DISABLE_SSL and UNIXPW_DISABLE_LOCALHOST work correctly. Make -loopbg actually imply -bg.
* X props names via env var. fakebuttonevent action, connect_switch andrunge2009-12-1520-139/+1173
| | | | | ultravnc_repeater.pl scripts, find_display try FD_XDM on failure, -quiet and -storepasswd changes, better port 113 testing.
* X11VNC_EXTRA_HTTPS_PARAMS, X11VNC_HTTP_LISTEN_LOCALHOST, ↵runge2009-12-0711-85/+340
| | | | | | X11VNC_REOPEN_SLEEP_MAX, -findauth/-auth guess FD_XDM=1 for root, work around xhost SI:localuser:root.
* Update java and scripts in classes/ssl. x11vnc: declare crypt() on all ↵runge2009-12-0513-156/+908
| | | | platforms. more wishes.
* x11vnc: -appshare mode for sharing an application windows instead of therunge2009-12-0230-1546/+4559
| | | | | | | | | entire desktop. map port + 5500 in reverse connect. Add id_cmd remote control functions for id (and other) windows. Allow zero port in SSL reverse connections. Adjust delays between multiple reverse connections; X11VNC_REVERSE_SLEEP_MAX env var. Add some missing mutex locks; add INPUT_LOCK and threads_drop_input. More safety in -threads mode for new framebuffer change. Fix some stderr leaking in -inetd mode.
* Add locks of updateMutex in rfbRedrawAfterHideCursor() andrunge2009-12-013-3/+8
| | | | rfbSetClientColourMap(). Up listen limit from 5 to 32.
* ssvnc/enhanced_tightvnc_viewer update.runge2009-11-189-1250/+4226
|
* x11vnc: -findauth, -auth guess, & etc.runge2009-11-1823-715/+2106
|
* libvncclient: better return value for non-forking listen.Christian Beier2009-11-122-11/+15
| | | | | | | | | | | | The return value now better reflects what has happened: 1 on success (incoming connection on listen socket, we accepted it successfully), -1 on error, 0 on timeout. Also change the select calls to not check _all_ possible file descriptors. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix checks for socket values, 0 is a legal value.Christian Beier2009-11-114-5/+8
| | | | | | | | | | To make this work, we also have to initialize sockets to a default value of -1. Also close a client listen socket if it's open. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* libvncclient: include winsock2.h in vncviewer.c.Christian Beier2009-11-101-0/+2
| | | | | | | fixes warning about closesocket being implicitly declared. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Change GnuTLS minimum requirement to 2.4.0Vic Lee2009-11-101-1/+1
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Fix various compilation warningsVic Lee2009-11-107-8/+11
| | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Merge branch 'VeNCrypt'Johannes Schindelin2009-11-0210-96/+1008
|\
| * Add MSLogon security typeVic Lee2009-11-024-8/+142
| | | | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Add VeNCrypt support in libvncclientVic Lee2009-10-024-7/+314
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
| * Fallback to --without-client-tls if GNUTLS could not be foundJohannes Schindelin2009-10-021-1/+1
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| * Add anonymous TLS support in libvncclientVic Lee2009-10-029-96/+567
| | | | | | | | Signed-off-by: Vic Lee <llyzs@163.com>
* | Add Alexander to the authorsJohannes Schindelin2009-10-311-1/+2
| | | | | | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: don't call clean up the same client twice.Christian Beier2009-10-311-1/+3
| | | | | | | | | | | | | | | | If rfbInitConnection fails, it cleans up the client, so protect against doing it ourselves again. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: add SIGINT handler to be able to actually stop program.Christian Beier2009-10-301-0/+2
| | | | | | | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: use -listennofork when -listen specified.Christian Beier2009-10-301-40/+84
| | | | | | | | | | | | | | | | As -listen mode isn't really working under UNIX and not at all under windows, use -listennofork and an outer listen loop instead. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: add a non-forking listen function.Christian Beier2009-10-303-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Forking the whole process from deep within a library call does not really work at all with apps that use multiple threads, i.e. every reasonably modern GUI app. So, provide a non-forking listen function so that the caller can decide if to fork, start a thread, etc. This implementation adds a timeout parameter to be able to call the listen function multiple times so that it's possible to do sth. else in between, e.g. abort listening. Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | SDLvncviewer: make listen mode work _somewhat_.Christian Beier2009-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set the port to listen on and really ensure that the window of the fork()ed instance is closed. works somewhat: it's now actually possible to listen for an incoming connection and to close it again, but the second connection attempt fails with 'XIO: fatal IO error 11 (Resource temporarily unavailable)'. this could relate to the fact that SDL uses threads internally and we're fork()ing here... Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: make listenAtTCPPort() work under windows.Christian Beier2009-10-301-5/+12
| | | | | | | | | | | | | | | | | | | | Actually, initSockets() has to be called everywhere we possibly use sockets the first time. Also fix return value of initSockets(). Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* | libvncclient: Add FinishedFrameBufferUpdate callbackAlexander Dorokhine2009-10-303-0/+6
| | | | | | | | | | | | When working on a program which searches the display for some image, one does not want to search again without getting an FB update. Add a callback to make this possible.
* | Fix hostname resolution problems under WindowsAlexander Dorokhine2009-10-301-8/+17
| | | | | | | | | | | | | | | | On Windows, the WSA system needs to be initialized to be able to look up host names. This patch also changes *addr = 0 to use the constant INADDR_LOOPBACK instead, which seems to be required on Windows.
* | Workaround for inane X_ShmAttach incompatibility in Xorg, -solid support in ↵runge2009-10-179-142/+295
| | | | | | | | xfce, showrfbauth option.