TightVNC Source Distribution for Unix platforms =============================================== Copyright (C) 2002-2004 RealVNC Ltd. All Rights Reserved. Copyright (C) 2000-2004 Constantin Kaplinsky. Copyright (C) 2004-2005 Peter Astrand, Cendio AB This software is distributed under the GNU General Public Licence as published by the Free Software Foundation. See the file LICENCE.TXT for the conditions under which this software is made available. TightVNC also contains code from other sources. See the Acknowledgements section below, and the individual files for details of the conditions under which they are made available. There are six programs here: vncviewer - this is the VNC viewer, or client, program for X. Xvnc - this is the X VNC server - it is both a VNC server and an X server with a "virtual" framebuffer. You normally use the vncserver script to start Xvnc. vncserver - this is a wrapper script which makes starting an X VNC server (i.e. desktop) more convenient. It is written in Perl, so to use the script you need that. vncpasswd - this program allows you to change the password used to access your X VNC desktops. The vncserver script uses this program when you first start a VNC server. vncconfig - this program is used to configure and control a running instance of Xvnc. x0vncserver - this is an inefficient VNC server which continuously polls any X display, allowing it to be controlled via VNC. It is intended mainly as a demonstration of a simple VNC server. In addition to these standalone programs, this distribution can also be used to turn the native X server for a platform into a VNC server. For X.Org servers, this is done using a module loaded at run-time. For other X servers it requires replacing the native X server binary. To build this distribution you need a C++ compiler as well as a C compiler. You also need a reasonably recent version of the X window system installed. This comes as standard with most unix machines. If you don't have it installed, see http://www.x.org. To build everything but Xvnc, do: % ./configure % make This should build first some libraries - zlib, rdr, network, Xregion, rfb and tx - then vncviewer, vncconfig and vncpasswd. If you already have zlib installed on your system you can run "./configure --with-installed-zlib" if you prefer (this is strongly advised on FreeBSD, since we've been told there are problems otherwise). Building Xvnc ============= Building Xvnc and the VNC support for native X servers is much more complex. If you don't need to build it, skip to the section below on installing. Xvnc differs from the other programs in that it is built inside the X source tree. Unlike previous versions of Xvnc, we do not provide an X source tree with this distribution. We have designed the distribution to be as independent as possible of the X tree used. We have successfully used X.Org 6.8.2 (available from http://www.x.org/). Note that the X tree is enormous and notoriously difficult to deal with - building it is not for the faint-hearted! Once you have a copy of the X source tree, make sure it is unpacked at the top level of this distribution, so that the xc directory of the X source tree matches the xc of this distribution, for example: % tar xzf X11R6.8.2-src.tar.bz2 Then you must apply a patch to some files in the X source tree: % patch -Np0 and Jef Poskanzer . This is: Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and without fee is hereby granted, provided that this copyright notice is kept intact. WIDGET WORKSHOP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WIDGET WORKSHOP SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). WIDGET WORKSHOP SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK ACTIVITIES. Copyright (C) 1996 by Jef Poskanzer . All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Visit the ACME Labs Java page for up-to-date versions of this and other fine Java utilities: http://www.acme.com/java/