Java TurboVNC Viewer
====================
The Java TurboVNC Viewer is based largely on the Java TigerVNC Viewer, but it
contains additional features and GUI modifications that make it behave and
perform as much like the TurboVNC native viewers as possible. One of the
most notable of these features is the ability to use the libjpeg-turbo library
(through JNI) to accelerate JPEG decoding, giving the Java TurboVNC Viewer,
when run as a standalone application, similar levels of performance to the
native TurboVNC viewers.
The Java TurboVNC Viewer is:
Copyright (C) 2000-2003 Constantin Kaplinsky
Copyright (C) 2004 Red Hat, Inc.
Copyright (C) 2004-2005 Cendio AB
Copyright (C) 2002-2005 RealVNC Ltd.
Copyright (C) 2005-2006 Martin Koegler
Copyright (C) 2006 OCCAM Financial Technology
Copyright (C) 2009-2011 Pierre Ossman for Cendio AB
Copyright (C) 2010-2012 TigerVNC Team
Copyright (C) 2010 m-privacy GmbH
Copyright (C) 2011-2013 Brian P. Hinz
Copyright (C) 2011-2014 D. R. Commander
All rights reserved.
This software is distributed under the GNU General Public Licence as
published by the Free Software Foundation. See the file LICENSE.txt for the
conditions under which this software is made available. TurboVNC 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.
NOTE: On Mac platforms, the Java TurboVNC Viewer is bundled as a self-contained
app and can be launched by opening the "TurboVNC Viewer" app located in the
"TurboVNC" Applications folder or by running /opt/TurboVNC/bin/vncviewer from a
Terminal window. On Linux/Un*x platforms, the Java TurboVNC Viewer can be
launched by running /opt/TurboVNC/bin/vncviewer-java from a command prompt. On
Windows platforms, the Java TurboVNC Viewer can be launched by selecting "Java
TurboVNC Viewer" in the "TurboVNC" Start Menu group or by running
c:\Program Files\TurboVNC\vncviewer-java.bat from a command prompt. If using
the Java TurboVNC Viewer in this manner, then the instructions below do not
apply. See the TurboVNC User's Guide for more information.
Installation
============
There are three basic ways to use the Java TurboVNC Viewer:
1. Running the applet as part of a TurboVNC Server installation.
The TurboVNC Server includes a small built-in HTTP server that can serve
the Java TurboVNC Viewer to web clients. This enables easy access to the
remote desktop without the need to install any software on the client
machine.
The TurboVNC Server (Xvnc) is able to serve up any set of files that
are present in a particular directory, which is specified in the -httpd
argument to Xvnc. In the default version of the vncserver script, this
argument is set to ../java, relative to the directory containing the
vncserver script. Thus, one can easily deploy a modified version of
the Java TurboVNC Viewer by simply copying a new JAR file into this
directory.
2. Running the applet from a standalone web server.
Another possibility for using the Java TurboVNC Viewer is to install it
under a fully-functional HTTP server, such as Apache or IIS. Due to Java
security restrictions, the applet must be signed in order for it to
connect to a VNC server running on a different machine from the HTTP
server.
One can install the Java TurboVNC Viewer by simply copying the .jar file
into a directory that is under the control of the HTTP server. Also, an
HTML page should be created to act as a the base document for the Java
TurboVNC Viewer applet (see the "Parameters" section below for example
HTML code.)
3. Running the viewer as a standalone application.
Finally, the Java TurboVNC Viewer can be executed locally on the client
machine, but this method requires installation of either a JRE (Java
Runtime Environment) or a JDK (Java Development Kit). If VncViewer.jar is
in the current directory, then the Java TurboVNC Viewer can be launched
with the following command line:
java -jar VncViewer.jar [parameters]
Add an argument of -? to the above command line to print a list of
optional parameters supported by VncViewer.
Parameters
==========
The Java TurboVNC Viewer accepts a number of optional parameters, allowing you
to customize its behavior.
Parameters can be specified in one of the two ways, depending on how the Java
TurboVNC Viewer is used:
1. When the Java TurboVNC Viewer is run as an applet (embedded within an HTML
document), parameters should be specified using the HTML tags
within the appropriate