Commit Graph

922 Commits (f49a292783407c14869d811c05c2bbd009af27f7)
 

Author SHA1 Message Date
Johannes Schindelin f49a292783 Merge branch 'VeNCrypt' 16 years ago
Vic Lee 29990f0090 Add MSLogon security type
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin 67223b7c4d Add Alexander to the authors
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Christian Beier 76b468ceb0 SDLvncviewer: don't call clean up the same client twice.
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>
16 years ago
Christian Beier 7ed1c0aeac SDLvncviewer: add SIGINT handler to be able to actually stop program.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Christian Beier 1f6c560985 SDLvncviewer: use -listennofork when -listen specified.
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>
16 years ago
Christian Beier 0a4f1bada4 libvncclient: add a non-forking listen function.
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>
16 years ago
Christian Beier 3b608cd39b SDLvncviewer: make listen mode work _somewhat_.
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>
16 years ago
Christian Beier 4877329812 libvncclient: make listenAtTCPPort() work under windows.
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>
16 years ago
Alexander Dorokhine 62ae6bb7be libvncclient: Add FinishedFrameBufferUpdate callback
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.
16 years ago
Alexander Dorokhine b02849ab80 Fix hostname resolution problems under Windows
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.
16 years ago
runge 35c42cf3a6 Workaround for inane X_ShmAttach incompatibility in Xorg, -solid support in xfce, showrfbauth option. 16 years ago
runge 387e189b37 Synchronize ssvnc source, etc. Nearly the 1.0.24 release... 16 years ago
runge 3129ef668a Huge number of changes, see x11vnc/ChangeLog 16 years ago
runge 169ef3a042 Some broken build environments treat fprintf(fh, buf) as a fatal error... 16 years ago
runge 0142acdded Some broken build environments treat fprintf(fh, buf) as a fatal error... 16 years ago
Vic Lee 95ae56c831 Add VeNCrypt support in libvncclient
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
Christian Beier a92f7f46a6 mingw32 crosscompile fixes.
SOCKET is redefined in winsock2.h so #undef it where winsock2.h
is included. The changes in rfbproto.c circumvent crosscompiler
errors like 'S_IFMT' undeclared ...', the Makefile.am changes
avoid building linux specific stuff for a win32 host target.
Also added configure option to specify sdl-config.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin 65b68e6682 Merge remote branch 'sf/master' 16 years ago
Johannes Schindelin 68964c29d9 Fallback to --without-client-tls if GNUTLS could not be found
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Vic Lee 58a8df6ff2 Add anonymous TLS support in libvncclient
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
Johannes Schindelin 0c061f2a27 encodingstest: fix multi-threading issue
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin 2a2a60b007 encodingstest: fix whitespace
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin 3704595b93 Add Christian Beier to the AUTHORS
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Christian Beier c652b55f74 Fix IsUnixSocket()
This is a pure functionality fix: according to its manpage, stat()
returns 0 on success. Checking for a return value of zero fixes
incorrect results of IsUnixSocket().

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin bdde3f9227 Add Vic Lee to the author list
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Vic Lee 2f9836d81a Fix bug for logging unsupported security types
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
Vic Lee 4e1aba74e6 Fix bug for VNC Server version 4
Signed-off-by: Vic Lee <llyzs@163.com>
16 years ago
runge fd084b5d28 Improvements to -unixpw_cmd and -unixpw_nis.
Experimental X11VNC_WATCH_DX_DY=1 for buggy theme menus,
see: http://ubuntuforums.org/showthread.php?t=1223490
16 years ago
runge 2c6bf9234e Setup for x11vnc version 0.9.9 16 years ago
runge b6ee5f9619 Add proxyHost and proxyPort java applet params. 16 years ago
runge ac33a29f07 Merge branch 'master' of ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver 16 years ago
runge 61383c508e classes/ssl: java viewer now handles auth-basic proxy logins.
misc/enhanced_tightvnc_viewer: update ssvnc.
16 years ago
Johannes Schindelin ef33182694 Fix two issues in rfbGetClient()
There was an unnecessary assignment, and an assignment of a string that
was to be free()ed later, so it has to be strdup()ed.

Both issues spotted by Roman Held.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
runge d11b2abd8c X11VNC_REFLECT_PASSWORD env. var., warning about compiz, improve single-port. 16 years ago
Stefan Becker 0e7499fb39 Add close() to rfbClientCleanup()
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
runge 94d058b35f Thread safety. Fix -clip -in -rawfb. Try to avoid Xorg stuck
key bug.
16 years ago
runge 804335f9d2 Thread safety for zrle, zlib, tight.
Proposed tight security type fix for debian bug 517422.
16 years ago
llyzs 2cd48332e0 Export the functions SupportsClient2Server and SupportsServer2Client
These are useful functions for VNC clients, so let's export them for
everybody to use.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin 511032eaf1 Add Ben to the authors
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Johannes Schindelin 2f4f700f3a Make autogen.sh executable
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Ben Klopfenstein d7c0b34b62 libvncclient: Unix sockets support by Ben Klopfenstein
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
runge 4088906b13 rebuild for x11vnc dev 0.9.8 16 years ago
runge ea30be6c6e x11vnc 0.9.8 dev 16 years ago
Johannes Schindelin 64db4575db Add LCD4Linux to the success stories
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
runge 128ee3ec4e Add some -remap tricks. Limit rfbCFD message count. 16 years ago
runge 9ae2e8391d Insert x11vnc copyright and license notices. 16 years ago
runge b280597129 Test git commit setting username & etc. 16 years ago
Karl J. Runge bce0939c0e Tweak settings and docs for create_display. Add FD_EXTRA finishing cmd. 16 years ago
runge 03666d6a17 x11vnc: Fix off-screen bug for -ncache_cr copyrect. 16 years ago