3.3.1
=====

### Significant changes relative to 3.3:

1. The simple web server for noVNC (part of the TurboVNC Server) now supports
Python 3.12 and later when using TLS encryption.


3.3
===

### Significant changes relative to 3.3 beta2:

1. For compatibility with OpenSSH, the TurboVNC Viewer's built-in SSH client
now disables multi-hop/multi-level SSH tunneling if a case-insensitive argument
of `none` is specified for the `ProxyJump` OpenSSH config file keyword.  This
is useful in conjunction with wildcard `Host` entries.

2. The TurboVNC Viewer's built-in SSH client now prints an SSH debugging
message, rather than throwing a fatal error, if it cannot parse an entry in the
SSH known hosts file.  This mimics the behavior of OpenSSH.

3. The TurboVNC Server now includes various security fixes (CVE-2025-26594,
CVE-2025-26595, CVE-2025-26596, CVE-2025-26597, CVE-2025-26598, CVE-2025-26599,
CVE-2025-26600, CVE-2025-26601, CVE-2025-49175, CVE-2025-49176, CVE-2025-49178,
CVE-2025-49179, CVE-2025-49180, CVE-2025-62229, CVE-2025-62230, and
CVE-2025-62231) from the xorg-server 21.1.x code base.


3.3 beta2
=========

### Significant changes relative to 3.3 beta1:

1. Fixed a regression introduced by 3.3 beta1[5] whereby the TurboVNC Viewer
threw a fatal error ("Cannot load from object array because 'this.sessions' is
null") if the TurboVNC Session Manager dialog was used to kill the last
TurboVNC session running under the user's account on the host.

2. The `vncserver` script now checks whether the Xvnc process associated with a
TurboVNC session is running before including the session in the session list.
This prevents an issue whereby, if the Xvnc process was killed without using
the `vncserver` script (such as by rebooting the host without shutting down the
session) and a local session or another X proxy reused the orphaned session's
display number, then the TurboVNC Session Manager listed the orphaned session
but could not connect to it.

3. Fixed an issue in the TurboVNC Server whereby the zlib stream of a
server-to-client UTF-8 clipboard transfer was sometimes truncated if
Compression Level 0 was used, causing the VNC viewer to abort.

4. Added a new advanced parameter (`HotkeyModifiers`) to the TurboVNC Viewer
that can be used to change the combination of modifier keys that trigger the
various hotkey sequences.

5. The TurboVNC Viewer's built-in SSH client has been rebased on v2.27.7 of the
JSch fork, which includes several minor security, compatibility, and
performance improvements.

6. Added a new **turbovncserver.conf** variable (`$vglrun`) that can be used to
specify the location of the `vglrun` script or to specify additional arguments
to `vglrun`, if the window manager is being launched using VirtualGL.

7. The TurboVNC Server's in-tree version of zlib-ng has been upgraded to
v2.2.5, which fixes several minor bugs.


3.3 beta1
=========

### Significant changes relative to 3.2.1:

1. The TurboVNC Viewer's desktop scaling feature now works with automatic
desktop resizing, which effectively allows the remote desktop to be zoomed in
or out without changing the viewer window size.  This is useful with HiDPI
monitors.

2. Added toolbar icons to the TurboVNC Viewer that can be used to zoom in
(increase the scaling factor), zoom out (decrease the scaling factor), or reset
the scaling factor to 100% when automatic scaling is disabled.

3. The TurboVNC Viewer's built-in SSH client can now be used to tunnel a
connection to a VNC server that is listening on a Unix domain socket.

4. The TurboVNC Session Manager now works with TurboVNC sessions that are
listening on Unix domain sockets.

5. A new security configuration file directive (`session-limit`) can now be
used to limit the number of simultaneous TurboVNC sessions allowed under each
user account.  If the number of TurboVNC sessions currently running under a
user's account is greater than or equal to the session limit, then the
`vncserver` script and the TurboVNC Session Manager will refuse to start a new
session.

6. The New TurboVNC Connection dialog in the TurboVNC Viewer now has a button
that can be used to remove an individual connection from the connection history
and optionally delete the per-host options associated with that connection.


3.2.1
=====

### Significant changes relative to 3.2:

1. Fixed an issue in the TurboVNC Viewer whereby the "Default Window
Size/Position" feature did not work properly in full-screen mode if
`TVNC_SINGLESCREEN`/`turbovnc.singlescreen` was enabled.

2. When using server-side key mapping, the Windows TurboVNC Viewer now works
around an issue whereby the operating system does not send a key release event
to applications if one of the Shift keys is released while the other Shift key
remains pressed.  2.2.4[1] worked around this issue when using client-side key
mapping, but due to an oversight, the server-side key mapping feature
introduced in 3.1 beta1[4] did not include the same workaround.

3. The default X startup script (`xstartup.turbovnc`) now assigns the same
priority to session desktop files located in **/usr/share/wayland-sessions**
and **/usr/share/xsessions**.  This prevents an issue on Fedora 40 and later
whereby, if GNOME and Xfce or MATE were installed but the (now optional)
`gnome-session-xsession` package was not installed, TurboVNC used Xfce or MATE
as the default window manager rather than GNOME.


3.2
===

### Significant changes relative to 3.2 beta1:

1. Fixed a regression introduced by 3.0.3[7] that, under rare circumstances if
automatic desktop resizing was enabled, caused the viewer to deadlock while
resizing its window in response to a remote desktop size change.

2. Fixed an issue whereby the TurboVNC Viewer threw an
IllegalComponentStateException if "Remote desktop size" was changed to "Auto"
in the TurboVNC Viewer Options dialog while the viewer was actively receiving
framebuffer updates from a VNC server.

3. Fixed an issue whereby the "Reset all options to defaults" button in the
TurboVNC Viewer Options dialog did not take into account the values specified
in **~/.vnc/default.turbovnc**.

4. The TurboVNC Viewer now works around an issue with recent versions of GNOME
that caused erratic automatic desktop resizing behavior.

5. The default X startup script (`xstartup.turbovnc`) now looks in both
**/usr/share/xsessions** and **/usr/share/wayland-sessions** for a session
desktop file corresponding to the specified window manager.  This works around
an issue whereby the GNOME Classic window manager could not be used with the
TurboVNC Server on Fedora 40 and later.

6. The default X startup script (`xstartup.turbovnc`) now attempts to launch
MATE or Xfce (in that order) if no window manager is specified and a GNOME
session desktop file cannot be found.  This fixes a regression introduced by
3.2 beta1[4] whereby the default X startup script no longer launched the
default window manager on Ubuntu MATE or Xubuntu if no window manager was
specified.

7. The "Clear the list of saved connections" button in the "Global" tab of the
TurboVNC Viewer Options dialog now clears only the connection history.  A
separate button has been added for clearing saved per-host options.


3.2 beta1
=========

### Significant changes relative to 3.1.4:

1. The TurboVNC Server now incorporates zlib-ng, which accelerates zlib
encoding significantly on x86, Arm, and PowerPC CPUs.  Relative to TurboVNC
3.1.x, this improves the encoding performance of the Lossless Tight + Zlib
encoding method, and of non-JPEG (low-color-depth) subrectangles encoded with
one of the Tight + JPEG encoding methods, by approximately 10-15% on reasonably
modern x86-64 CPUs and 25-30% on reasonably modern AArch64 CPUs.

2. Since all supported TurboVNC host platforms now contain new enough libraries
to build xorg-server 1.20.x, the TurboVNC Server is now dynamically linked
against the system-supplied versions of these libraries rather than statically
linked against in-tree versions.  The `TVNC_SYSTEMLIBS` and `TVNC_SYSTEMX11`
CMake variables have been removed, and the build system now behaves as if those
variables are always on.  A new CMake variable (`TVNC_ZLIBNG`) can be used on
x86 platforms to disable the in-tree SIMD-accelerated zlib-ng implementation
and build against the system-supplied zlib implementation.

3. The TurboVNC Server now supports the DRI3 X extension when using open source
GPU drivers.  This enables GPU acceleration in a TurboVNC session without
VirtualGL, although the performance will be better with VirtualGL.  Refer to
the description of the `-drinode` option in the Xvnc man page for more details.

4. The default X startup script (`xstartup.turbovnc`) now throws an error,
rather than trying to execute **xinitrc** or twm, if a session desktop file for
the default window manager cannot be found.

5. Configuration of the TurboVNC Viewer has been improved in the following
ways:

     - Advanced parameters (those that are rarely needed by end users) are now
listed on a separate usage screen, which can be displayed by passing `-??` to
`/opt/TurboVNC/bin/vncviewer` or `c:\Program Files\TurboVNC\vncviewer.bat`.
     - TurboVNC-specific Java system properties can now be specified in
**~/.vnc/default.turbovnc**.
     - The `turbovnc.ciphersuites` Java system property has been deprecated and
replaced with a new advanced parameter (`CipherSuites`.)
     - The `TVNC_PROFILE` environment variable has been deprecated and replaced
with a new advanced parameter (`Profile`.)
     - The `TVNC_SERVERARGS` environment variable and the `turbovnc.serverargs`
Java system property have been deprecated and replaced with a new advanced
parameter (`ServerArgs`.)
     - The `TVNC_SERVERDIR` environment variable and the `turbovnc.serverdir`
Java system property have been deprecated and replaced with a new advanced
parameter (`ServerDir`.)
     - The `VNC_VIA_CMD` and `VNC_TUNNEL_CMD` environment variables and the
`turbovnc.via` and `turbovnc.tunnel` Java system properties have been
deprecated and replaced with a new advanced parameter (`ExtSSHTemplate`.)

6. The TurboVNC Server no longer enables the "Tight Encoding Without Zlib" RFB
extension unless the VNC viewer advertises support for it.  This prevents a
fatal error that occurred in TightVNC-compatible VNC viewers (other than the
TurboVNC Viewer) when attempting to select Compression Level 0 without JPEG
while connected to a TurboVNC session.

7. The TurboVNC Viewer's built-in SSH client has been rebased on v0.2.23 of the
JSch fork, which includes the following notable security, compatibility, and
performance improvements:

     - Curve25519 key exchange (KEX) methods are now supported.
     - Diffie-Hellman Group 14 through 18 KEX methods are now supported.
     - The Ed25519 signature scheme is now supported.
     - Encrypt-then-MAC (EtM) Message Authentication Code (MAC) algorithms are
now supported.
     - Galois/Counter Mode (GCM) ciphers are now supported.
     - The `hmac-sha2-512` MAC algorithm (Hash-based Message Authentication
Code with the SHA-512 hash algorithm) is now supported.
     - Version 3 of the PuTTY Private Key (PPK) format is now supported.
     - RFC 8308 extension negotiation and the `server-sig-algs` extension are
now supported.
     - The OpenSSH strict key exchange extension is now supported (which
addresses CVE-2023-48795.)
     - Insecure signature schemes, KEX methods, and ciphers are now disabled by
default, including:
          - 3DES ciphers
          - CBC (Cipher Block Chaining) ciphers
          - Diffie-Hellman Group 1 KEX methods
          - The DSS (Digital Signature Standard) signature scheme
          - Signature schemes and KEX methods that use the SHA-1 hash algorithm

        The `Ciphers`, `HostKeyAlgorithms`, `KexAlgorithms`, and
`PubkeyAcceptedAlgorithms` OpenSSH configuration keywords or the `jsch.cipher`,
`jsch.server_host_key`, `jsch.kex`, and `jsch.client_pubkey` Java system
properties can be used to re-enable insecure algorithms when connecting to
legacy systems.

8. The TurboVNC Viewer's `SSHUser` parameter has been removed.  SSH usernames
should now be specified by prefixing the VNC host or the gateway host with the
username followed by @.  This fixes an issue whereby separate SSH usernames
could not be specified for the `Server` and `Via` parameters.

9. For compatibility with OpenSSH, the TurboVNC Viewer now accepts `-F`, `-i`,
and `-p` as command-line aliases for (respectively) the `SSHConfig`,
`SSHKeyFile`, and `SSHPort` parameters.

10. The TurboVNC Viewer's built-in SSH client now supports jump hosts, i.e.
multi-hop/multi-level SSH tunneling.  If the `Jump` parameter or the
`ProxyJump` OpenSSH config file keyword is specified, the viewer now creates an
intermediate SSH tunnel to the jump host and uses that tunnel to create the
final SSH tunnel to the VNC host.  This eliminates the need to open RFB ports
in the VNC host's firewall, it ensures that the RFB connection is encrypted on
the server-area network, and it allows the TurboVNC Session Manager to be used
with TurboVNC hosts that are behind an SSH gateway.  The OpenSSH config file
can be used to specify more than two levels of SSH tunneling.

    Similarly, when using an external SSH client, the default SSH command-line
template for TCP connections with the `Jump` parameter now takes advantage of
OpenSSH's ProxyJump feature.

    For compatibility with OpenSSH, the TurboVNC Viewer accepts `-J` as a
command-line alias for the `Jump` parameter.

    The `Via` parameter has been retained for backward compatibility, but since
it is now essentially a less secure and usable variant of the `Jump` parameter,
it has been moved to the advanced usage screen and is no longer exposed in the
TurboVNC Viewer Options dialog.

11. The TurboVNC Viewer now supports bump scrolling in full-screen mode, which
addresses a feature regression relative to the native Windows TurboVNC Viewer
in TurboVNC 2.2.x.  A new parameter (`BumpScroll`) can be used to disable bump
scrolling and use scrollbars instead.

12. The Mac TurboVNC Viewer now hides the menu bar and dock in full-screen mode
if bump scrolling is enabled.  Setting the `turbovnc.fshidedock` system
property to `0` or `1` causes the viewer to always show or always hide the menu
bar and dock in full-screen mode, irrespective of bump scrolling.

13. The TurboVNC Server and Viewer now implement the Extended Mouse Buttons
RFB extension, which allows forward and back mouse button events to be
transmitted to the VNC server.

14. The TurboVNC Viewer toolbar icons have been updated with more modern icons
derived from UltraVNC v1.2.4.

15. The TurboVNC Viewer's `CompatibleGUI` parameter is now configurable using
a new check box ("TurboVNC server") under the "Encoding" tab of the TurboVNC
Viewer Options dialog.  This facilitates using the standard 0-9 compression
level scale with specific VNC hosts.


3.1.4
=====

### Significant changes relative to 3.1.3:

1. Fixed an issue whereby the TurboVNC Viewer threw a NullPointerException if
a user clicked the "Connect" button in the New TurboVNC Connection dialog after
entering an SSH username with a blank VNC host into the "VNC server" field.

2. To better emulate the behavior of OpenSSH, the TurboVNC Viewer's built-in
SSH client now allows the value of the `SSHPort` parameter, if specified on the
command line or in a connection info file, to override any SSH ports specified
in the OpenSSH config file.

3. The TurboVNC Server now includes various security fixes (CVE-2023-5367,
CVE-2023-6377, CVE-2023-6478, CVE-2023-6816, CVE-2024-0229, CVE-2024-0408,
CVE-2024-9632, CVE-2024-21885, CVE-2024-21886, CVE-2024-31080, CVE-2024-31081,
and CVE-2024-31083) from the xorg-server 21.1.x code base.

4. Worked around an issue whereby recent versions of GNOME failed to launch in
a TurboVNC session if the initial resolution of any of the screens in the
session matched one of the default X RandR modes.

5. Fixed an issue in the Mac TurboVNC Viewer whereby the viewer window did not
display a vertical scrollbar, and the horizontal scrollbar was incorrectly
sized, if multi-screen spanning was enabled, the scaled remote desktop was
larger than the viewer window, and "Displays have separate Spaces" was enabled
in the system settings.

6. The Windows TurboVNC Viewer now sends Alt-F4 keystrokes to the VNC server
if keyboard grabbing is enabled.

7. Fixed a regression introduced by 3.1.2[2] that caused the Mac and Windows
TurboVNC Viewers to incorrectly interpret Shift + vertical scroll wheel events
as horizontal scroll wheel events.

8. Fixed an issue whereby the TurboVNC Viewer's built-in SSH client threw a
NullPointerException if a cipher algorithm supported by the SSH server but not
by the SSH client was specified using the `Ciphers` OpenSSH config file
keyword.

9. Fixed an issue in the TurboVNC Viewer's built-in SSH client whereby the SSH
connection timeout specified using the `ConnectTimeout` OpenSSH config file
keyword was interpreted as milliseconds rather than seconds.  This caused the
SSH connection to fail if the timeout was too low.

10. Fixed a regression introduced by 3.1 beta1[3] whereby the value of the
TurboVNC Viewer's `Subsampling` parameter, if specified using the `Samp` alias,
did not override per-host options that were previously saved by the TurboVNC
Viewer Options dialog.


3.1.3
=====

### Significant changes relative to 3.1.2:

1. Added a new Xvnc command-line option (`-noserverkeymap`) that can be used to
disable the server-side key mapping feature introduced in 3.1 beta1[4].

2. Added a new Xvnc command-line option (`-syslog`) that can be used to
redirect all TurboVNC Server and X.org errors, warnings, and messages to the
system log.

3. Fixed a regression introduced by 2.2 beta1[7] that prevented the TurboVNC
Server from being used as an inetd service.

4. The "Tight Encoding Without Zlib" RFB extension, which was used unofficially
by the Lossless Tight encoding method since TurboVNC v0.5, has been officially
registered with IANA as an RFB pseudo-encoding.  The TurboVNC Viewer now
advertises support for the pseudo-encoding.  (The next major release of the
TurboVNC Server will forego using the extension unless the VNC viewer
advertises support for it.)

5. Fixed an issue in the TurboVNC Viewer's built-in SSH client whereby the
`ssh-rsa` and `rsa-sha2-512` signature schemes could not be used unless they
were specified as the first argument for the `HostKeyAlgorithms` OpenSSH config
file keyword or the server did not support `rsa-sha2-256`.

6. Fixed an error ("ZlibInStream: inflate failed") that occurred in the
TurboVNC Viewer when it attempted to receive a clipboard update from QEMU's VNC
server.

7. Fixed a denial-of-service (DoS) vulnerability in the TurboVNC Server,
introduced by 3.0 beta1[20], that triggered an infinite loop in the server's
automatic WebSocket detection code if an ill-behaved client sent 3 or fewer
bytes of data immediately after connecting.  Certain versions of Apache
Guacamole were known to trigger this issue sporadically.

8. The TurboVNC Viewer now works around an issue that prevented keyboard
grabbing from working when running the viewer in a GNOME/Wayland session.


3.1.2
=====

### Significant changes relative to 3.1.1:

1. The TurboVNC Server now assigns an ordinal ID to every VNC viewer when the
viewer connects, and when possible, log entries related to a specific viewer
are prefixed by the viewer's ID.  The TurboVNC Server now also logs the total
number of simultaneously connected viewers.

2. The TurboVNC Viewer now sends horizontal scroll wheel events to the VNC
server.  (These events can be generated with horizontal scroll gestures on a
trackpad or, with certain mice, by side-clicking the scroll wheel.)

3. By default, the TurboVNC Server now limits the amount of time that it will
wait for a new pointer event from a connected viewer that is dragging the mouse
(and thus has exclusive control over the pointer.)  This prevents other viewers
connected to the same session from being locked out of pointer control
indefinitely if a viewer's network connection drops while it is dragging the
mouse.  A new Xvnc command-line option (`-pointerlocktimeout`) can be used to
specify the time limit.

4. The RPM and DEB packages generated by the TurboVNC build/packaging system
now include a polkit rules file that prevents various authentication dialogs
("Authentication is required to create a color managed device", "Authentication
is required to access the PC/SC daemon", "Authentication is required to refresh
the system repositories") from popping up when using the GNOME window manager
with the TurboVNC Server on Ubuntu 23.10 and later (if the `polkitd-pkla`
package is not installed) and on RHEL 7 and Fedora 19 and later (if the
`polkit-pkla-compat` package is not installed.)

5. The default X startup script (`xstartup.turbovnc`) now throws an error,
rather than trying to execute **xinitrc** or twm, if a window manager is
specified and the session desktop file for the window manager cannot be found.

6. Added a new parameter (`ExtSSHCommand`) to the TurboVNC Viewer that can be
used to specify the external SSH client command.  In `Via`/`Tunnel` SSH
command-line templates, including the default ones, `%S` is now replaced with
the value of this new parameter.

7. Fixed a regression introduced by 3.0 beta1[24] that caused the TurboVNC
Server to leak memory when the RFB flow control extensions were used.

8. Fixed several issues in the TurboVNC Viewer that prevented IPv6 addresses
from being used as VNC hostnames.


3.1.1
=====

### Significant changes relative to 3.1:

1. By default, each instance of the Linux TurboVNC Server now listens on the
abstract Unix domain socket, in addition to the pathname Unix domain socket
(under **/tmp/.X11-unix**), associated with its X display number.  This
prevents recent versions of GDM, when configured with `WaylandEnable=false`,
from attempting to use Display :1 for the local session if a TurboVNC session
is already using Display :1.  The previous behavior can be restored by passing
`-nolisten local` to `vncserver` or adding `-nolisten local` to the
`$serverArgs` variable in **turbovncserver.conf**.

2. The `vncserver` script now checks whether the abstract Unix domain socket
associated with an X display number is in use before assuming that the display
number is available.

3. Fixed an issue in the Windows TurboVNC Viewer whereby an F10 key press,
followed by an F10 key release, caused the keyboard focus to be redirected to
the system menu, and subsequent keystrokes were consumed by the system menu
until F10, left Alt, or Esc was pressed to dismiss the menu.

4. Fixed an issue whereby GTK applications (including the GNOME window manager)
running in a TurboVNC session attempted to display to a local Wayland session
if one was active.


3.1
===

### Significant changes relative to 3.1 beta2:

1. Improved the TurboVNC Viewer's handling of SSH usernames in the following
ways:

     - Fixed a regression introduced in 3.1 beta1[3] whereby the SSH username
was ignored if it was specified in the `Server` parameter or if it was
specified in the TurboVNC Viewer Options dialog without also specifying the
gateway host.
     - Fixed an issue whereby the SSH username was not saved and restored if it
was specified in the TurboVNC Viewer Options dialog without also specifying the
gateway host.
     - Fixed an issue whereby the SSH username was ignored if it was specified
in the `Server` or `Via` parameter in **~/.vnc/default.turbovnc**.
     - Added a new parameter (`SSHUser`) that can optionally be used to specify
the SSH username.  This parameter is set automatically from an SSH username
specified in the `Server` or `Via` parameter, or it can be set manually.
     - To better emulate the behavior of OpenSSH, the TurboVNC Viewer's
built-in SSH client now allows an SSH username specified on the command line or
in a connection info file to override an SSH username specified in the OpenSSH
config file.
     - The `LocalUsernameLC` parameter now affects the SSH username if the SSH
username is unspecified.

2. The TurboVNC Server now includes various security fixes (CVE-2022-2319,
CVE-2022-2320, CVE-2022-4283, CVE-2022-46340, CVE-2022-46341, CVE-2022-46342,
CVE-2022-46343, CVE-2022-46344, CVE-2023-0494, and CVE-2023-1393) from the
xorg-server 21.1.x code base.

3. The TurboVNC Viewer no longer requires that the VNC server support the QEMU
LED State or VMware LED State RFB extension in order to use the QEMU Extended
Key Event RFB extension.  This fixes various key mapping issues when using the
TurboVNC Viewer with wayvnc.  However, it should be noted that, if the QEMU
Extended Key Event extension is used without one of the LED State extensions,
the lock key state on the client will lose synchronization with the lock key
state on the remote desktop if a lock key is pressed outside of the TurboVNC
Viewer window.


3.1 beta2
=========

### Significant changes relative to 3.1 beta1:

1. Fixed an issue in the Windows TurboVNC Viewer that prevented certain UTF-8
characters in the clipboard from being transferred properly.


3.1 beta1
=========

### Significant changes relative to 3.0.3:

1. The TurboVNC Server and Viewer now support UTF-8 clipboard transfers.

2. The "Global" tab in the TurboVNC Viewer Options dialog now has a button that
can be used to reset all options to their default values.

3. The TurboVNC Viewer now maintains a different set of options for each unique
TurboVNC host.

4. The TurboVNC Server and Viewer now implement the QEMU Extended Key Event,
QEMU LED State, and VMware LED State RFB extensions, which allow raw keyboard
scancodes to be transmitted to the VNC server instead of X11 keysyms.
Effectively, this means that the mapping of keycodes into keysyms is performed
on the host rather than the client, which eliminates various system-specific
and locale-specific key mapping issues (including issues with dead keys on
international keyboards.)  This feature also fixes lock key synchronization
issues when using the TurboVNC Viewer with VMware's VNC server.

5. If the `NoReconnect` parameter is unset (which it is by default), the
TurboVNC Viewer will now offer to reconnect if the initial connection or
authentication fails.

6. The TurboVNC Server can now listen on a Unix domain socket, rather than a
TCP port, for connections from VNC viewers.  This is useful in conjunction with
SSH tunneling, and it also allows the Unix domain socket permissions to act as
an authentication mechanism for a TurboVNC session.  Two new Xvnc arguments,
`-rfbunixpath` and `-rfbunixmode`, can be used to specify the Unix domain
socket path and, optionally, the permissions.  A new `vncserver` argument,
`-uds`, causes the script to automatically choose an appropriate Unix domain
socket path under the TurboVNC user directory.  See the `Xvnc` and `vncserver`
man pages for more details.

7. The TurboVNC Viewer can now connect to a VNC server that is listening on a
Unix domain socket.  This is accomplished by specifying `{host}::{uds_path}` as
the VNC server, where `{host}` is the hostname or IP address of the VNC host
and `{uds_path}` is the path to the Unix domain socket on the host.  If
`{host}` is not `localhost`, then SSH tunneling with an external SSH client is
implied.  Refer to the TurboVNC Viewer's usage screen (specifically, the
documentation of the `Server` parameter) and the TurboVNC User's Guide for more
details.

8. The TurboVNC Viewer now asks for confirmation before overwriting an existing
screenshot file.

9. The TurboVNC Viewer now supports a new TurboVNC-specific connection info
file format.  TurboVNC connection info files have an extension of .turbovnc,
and each line of these files contains a TurboVNC Viewer parameter name and
value separated by an equals sign (`=`).

10. The default values of all TurboVNC Viewer parameters can now be modified by
specifying the values in **~/.vnc/default.turbovnc** using the connection info
file syntax described above.


3.0.3
=====

### Significant changes relative to 3.0.2:

1. Fixed an issue in the Windows TurboVNC Viewer whereby a left Alt key press,
followed by a left Alt key release, caused the keyboard focus to be redirected
to the system menu, and subsequent keystrokes were consumed by the system menu
until left Alt or Esc was pressed to dismiss the menu.

2. Fixed an issue whereby Rosetta was required in order to install the
TurboVNC package for Macs with Apple silicon CPUs.

3. Fixed a regression introduced by 2.2 beta1[7] that prevented the idle
timeout feature in the TurboVNC Server from working properly.

4. The Mac TurboVNC Viewer app now informs macOS that it supports HiDPI
monitors.  This improves the sharpness of the remote desktop and TurboVNC
Viewer GUI when using a Retina display.

5. Fixed a regression introduced by 3.0 beta1[24] that caused the TurboVNC
Server to become unresponsive if the network connection dropped and a VNC
viewer disconnected before the network connection was restored.

6. The `vncserver` script no longer passes `-rfbwait 120000` to Xvnc.
Effectively, that hard-coded the TurboVNC Server's send/receive timeout to 120
seconds, which doesn't make sense for most modern systems and networks.  (The
default value if `-rfbwait` is not passed to Xvnc is 20 seconds, which makes
more sense.)  The previous behavior can be restored by adding `-rfbwait 120000`
to the `$serverArgs` variable in **turbovncserver.conf**.

7. Fixed an issue in the TurboVNC Viewer that sometimes caused the Java process
to crash when closing the viewer window, particularly if multiple connections
were open.

8. Fixed a regression introduced by 3.0.1[3] whereby the TurboVNC Viewer's
built-in SSH client tried the `ssh-rsa`, `rsa-sha2-256`, and `rsa-sha2-512`
signature schemes in sequence for every RSA private key stored in the SSH
agent, even if the SSH server did not support one or more of those signature
schemes.  This caused the SSH client to prematurely exceed the SSH server's
maximum number of authentication attempts.

9. Fixed an issue in the TurboVNC Viewer's built-in SSH client whereby SSH
private keys specified using the `SSHKey` and `SSHKeyFile` parameters or the
`IdentityFile` OpenSSH config file keyword were added to the SSH agent's
persistent keychain.  The SSH client now maintains its own temporary keychain
rather than modifying the agent's keychain.

10. To better emulate the behavior of OpenSSH, the TurboVNC Viewer's built-in
SSH client has been improved in the following ways:

     - If the SSH agent already has a copy of an SSH private key that was
specified using the `SSHKey` or `SSHKeyFile` parameter or the `IdentityFile`
OpenSSH config file keyword, then the SSH client now promotes the agent's copy
of the key to the head of the SSH client's keychain rather than adding a
duplicate key to the end of the keychain.  If the SSH agent does not have a
copy of the specified SSH private key, then the SSH client now adds the new key
to the head of its keychain if a valid passphrase for the key was specified or
to the end of its keychain if a valid passphrase for the key was not specified.
     - The TurboVNC Viewer now treats **~/.ssh/id_ecdsa** as a default private
key.  Each of the default private keys **~/.ssh/id_rsa**, **~/.ssh/id_dsa**,
and **~/.ssh/id_ecdsa**, in that order, will be added to the SSH client's
keychain using the rules described above if the file exists and the `SSHKey`
and `SSHKeyFile` parameters are not specified.
     - `+`, `^`, and `-` can now be used at the beginning of the
`PubkeyAcceptedAlgorithms` OpenSSH config file keyword to specify a set of
algorithms that should be appended to, prepended to, or removed from the
default list.
     - Fixed a regression introduced by 2.2.1[5] that caused the
`PreferredAuthentications` OpenSSH config file keyword to be ignored.


3.0.2
=====

### Significant changes relative to 3.0.1:

1. The Linux/Un\*x TurboVNC Viewer now works around an issue whereby Java on
Un*x platforms generates a key release event without a corresponding key press
event for dead keys on international keyboards.

2. The TurboVNC Viewer no longer pops up the F8 menu if a modifier key (Shift,
Ctrl, Alt, etc.) is pressed along with the menu key.

3. Hotkeys in the Windows TurboVNC Viewer can no longer be triggered using the
RCtrl-LAlt-Shift modifier sequence, because Windows uses RCtrl-LAlt to
represent AltGr on international keyboards.

4. The `vncserver` script now searches **/usr/local/share/fonts** for X11
fonts, which fixes an issue whereby the TurboVNC X server had few available
fonts when running on recent FreeBSD releases.

5. The Windows TurboVNC Viewer no longer overrides Java's default choice of
high DPI scaling algorithms (nearest-neighbor interpolation) when using
integral display scaling factors such as 200%.  The viewer now emulates the
behavior of Windows, using bilinear interpolation with fractional display
scaling factors (per 3.0[6]) and nearest-neighbor interpolation with integral
display scaling factors.  This improves the sharpness of text when using the
Windows TurboVNC Viewer with integral display scaling factors.  The
`turbovnc.scalingalg` system property can be set to `bicubic`, `bilinear`, or
`nearestneighbor` to override the TurboVNC Viewer's default algorithm choice.

6. The TurboVNC Server now handles multitouch events sent by the UltraVNC
Viewer from touchscreen-equipped Windows clients.

7. The Mac TurboVNC Viewer no longer uses Command-V as a hotkey to toggle
view-only mode.  Mac applications typically use Command-V for pasting from the
clipboard.  Even though Un*x applications do not typically respond to that key
sequence, Mac users sometimes attempt to use Command-V with TurboVNC out of
habit, which caused view-only mode to be activated accidentally because of
3.0 beta1[28].  CTRL-ALT-SHIFT-V can still be used to toggle view-only mode.

8. The TurboVNC Viewer normally reserves CTRL-ALT-SHIFT-{arrow keys} as hotkeys
to move the horizontal and vertical scrollbars.  However, those key sequences
are also used by Emacs and GNOME.  Thus, the TurboVNC Viewer now sends those
key sequences to the server if no scrollbars are visible or if keyboard
grabbing is enabled.


3.0.1
=====

### Significant changes relative to 3.0:

1. Fixed an error ("JRELoadError") that occurred when attempting to use the Mac
TurboVNC Viewer app with a custom JRE based on OpenJDK 17.

2. The TurboVNC Viewer's built-in SSH client now supports the OpenSSH v1
private key format.  This fixes an "invalid privatekey" error that occurred
when attempting to use a private key generated by a recent version of OpenSSH
with the TurboVNC Viewer without `ssh-agent` or Pageant.

3. The TurboVNC Viewer's built-in SSH client now supports the `rsa-sha2-256`
and `rsa-sha2-512` signature schemes (RSA keys with, respectively, the SHA-256
and SHA-512 hash algorithms.)  This improves security and compatibility with
recent OpenSSH releases.  (OpenSSH v8.8 no longer supports the `ssh-rsa`
signature scheme by default, since `ssh-rsa` uses the now-defeated SHA-1 hash
algorithm.)  The built-in SSH client now also supports the
`PubkeyAcceptedAlgorithms` keyword in OpenSSH config files, which can be used
to disable specific signature schemes that both the client and server support.

4. The TurboVNC Server and Viewer now truncate both incoming and outgoing
clipboard updates to the number of bytes specified by the `-maxclipboard` Xvnc
argument or the `MaxClipboard` TurboVNC Viewer parameter.  Previously the
server only truncated incoming clipboard updates, and the viewer truncated
outgoing clipboard updates while ignoring incoming clipboard updates larger
than 256 kB.

5. Fixed an issue in the TurboVNC Viewer whereby specifying a key other than a
function key (`F1` through `F12`) using the `MenuKey` parameter caused "F1" to
be selected in the "Menu key" combo box in the TurboVNC Viewer Options dialog.

6. Fixed an error ("Security type not supported") that occurred when attempting
to connect to a TurboVNC session using the TurboVNC Session Manager if the
"VNC" security type was disabled in the TurboVNC Viewer (by way of the
`SecurityTypes`, `SendLocalUserName`, or `User` parameter or a corresponding
check box in the TurboVNC Viewer Options dialog) and the `SessMgrAuto`
parameter was enabled.

7. The TurboVNC Viewer now builds and runs on Macs with Apple silicon CPUs.


3.0
===

### Significant changes relative to 3.0 beta1:

1. Fixed an issue in the TurboVNC Viewer whereby scroll wheel events were
transmitted to the VNC Server with incorrect coordinates if desktop scaling was
enabled.

2. The simple web server for noVNC (part of the TurboVNC Server) now supports
Python 3, and the official TurboVNC packages now require Python 3.  The
TurboVNC Server must be built with CMake 3.12 or later in order for the
simple web server to use Python 3.

3. Fixed an error ("couldn't find '*/bin/webserver'") that occurred when
attempting to run the `vncserver` script if TurboVNC was built without the
optional noVNC web server.

4. Fixed a regression in the TurboVNC Viewer whereby specifying the `User` or
`SendLocalUserName` parameter did not automatically disable security types that
do not use the Unix Login and Plain authentication schemes.

5. The RPM package generated by the TurboVNC build/packaging system now
includes post-install and pre-uninstall scriplets that configure/unconfigure
the TurboVNC Server init.d script to run in the `unconfined_service_t` SELinux
domain rather than the `initrc_exec_t` SELinux domain.  This fixes an issue
whereby either Xvnc or the window manager failed to launch when attempting to
start a TurboVNC session from the TurboVNC Server init.d script on recent Red
Hat Enterprise Linux (and derivative), Fedora, and SuSE releases.

6. The TurboVNC Viewer now overrides Java's default choice of high DPI scaling
algorithms on Windows.  This eliminates visual artifacts when using fractional
display scaling factors such as 125%.

7. The `vncserver` script now sets the `VGL_PROBEGLX` environment variable to
`0`.  This prevents VirtualGL from probing the TurboVNC X Server for
stereo-capable X visuals.  (Such visuals will never exist in an X proxy such as
TurboVNC.)  On systems that support libglvnd, probing for stereo-capable
visuals caused the Mesa GLX vendor library to be loaded into the 3D application
process, which led to interaction issues with certain commercial 3D
applications that provide their own Mesa back ends.

8. Fixed an error ("Server TLS ERROR: Could not load libssl") that occurred
when attempting to use TLS encryption with the TurboVNC Server (built with
`TVNC_DLOPENSSL=1`, which is the default) running on a TurboVNC host with
OpenSSL 3.

9. The TurboVNC Server is now based on xorg-server 1.20.14, which fixes several
minor X server bugs.


3.0 beta1
=========

### Significant changes relative to 2.2.7:

1. A custom JRE, based on OpenJDK and containing only the modules that the
TurboVNC Viewer needs, can now optionally be included in 32-bit Windows and
64-bit Linux, Mac, and Windows TurboVNC installations and packages by setting
the `TVNC_INCLUDEJRE` CMake variable to `1`.  When including a custom JRE,
OpenJDK 11 or later must be used.

    Since it is now possible to package the Windows/Java TurboVNC Viewer in
such a way that it does not require a separate installation of Java, the native
Windows TurboVNC Viewer has been retired and replaced with the Java TurboVNC
Viewer, which means that the Java TurboVNC Viewer is now the only TurboVNC
Viewer.  The native Windows viewer will continue to be maintained in TurboVNC
2.2.x on a break/fix basis only.  The native Windows viewer, owing to its use
of raw Win32 GUI code rather than a modern GUI framework, has become difficult
to maintain and even more difficult to extend.  Meanwhile, the Java viewer
provides similar levels of performance and more features, including some
features (TLS encryption and SSH tunneling, most notably) that would have been
difficult to implement in the native viewer.

    Retiring the Windows TurboVNC Viewer has resulted in the following
(hopefully temporary) feature regressions for Windows clients, relative to
TurboVNC 2.2.x:
     - The ability to set different viewer options for each VNC server
     - The ability to save connection info files
     - 3-button mouse emulation
     - Bump scrolling in full-screen mode
     - Wacom tablet support (although the Windows TurboVNC Viewer, owing to its
use of the Wintab API, only supported older Wacom tablets)

2. Added a screenshot feature to the TurboVNC Viewer that allows an image of
the remote desktop to be saved to the client machine.

3. Added a window tiling feature to the TurboVNC Viewer that automatically
arranges all viewer windows in a grid pattern when a hotkey is pressed or an
option is selected in the F8 or Mac menu.

4. The TurboVNC Viewer can now automatically connect to multiple VNC servers,
applying a different set of options for each.  This is accomplished by
separating the command-line arguments for each VNC server with `--`.

5. The TurboVNC Viewer now includes the TurboVNC Session Manager, which allows
users to remotely manage multiple TurboVNC sessions running on a particular
TurboVNC host.  If no display number or port is specified in the "VNC server"
field, the TurboVNC Viewer will connect to the specified TurboVNC host using
SSH, list all TurboVNC sessions running under the user's account, and display a
dialog that allows the user to choose a session to which to connect, kill any
of the sessions, generate a new OTP for any of the sessions, or start a new
session.  Previously, the TurboVNC Viewer defaulted to Display :0/Port 5900
when no display number or port was specified, but it is now necessary to
specify :0 or ::5900 in order to connect to Display :0/Port 5900.  The TurboVNC
Session Manager uses the TurboVNC Viewer's built-in SSH client (it cannot use
an external SSH client because of the need to leave the SSH session open and
reuse it to run multiple commands), so it is affected by the `SSHConfig`,
`SSHKey`, `SSHKeyFile`, `SSHKeyPass`, and `SSHPort` parameters.

6. The zero-install Java Web Start feature and built-in HTTP server in the
TurboVNC Server have been removed, along with the corresponding `vncserver`
command-line option (`-nohttpd`), Xvnc command-line options (`-httpd` and
`-httpport`), security configuration file directive (`no-httpd`), and
**turbovncserver.conf** variables (`$enableHTTP` and `$vncClasses`.)  This
reflects the fact that Java Web Start is now a legacy technology.  JWS is no
longer provided in Java 11 and later, so once Java 8 stops receiving public
updates, the ability to deploy the TurboVNC Viewer using JWS will be limited.
These features will continue to be supported in TurboVNC 2.2.x on a break/fix
basis.

7. MinGW can now be used instead of Visual C++ when building the TurboVNC
Viewer (more specifically, the TurboVNC Helper library) for Windows.

8. The TurboVNC Viewer authentication dialog will now indicate whether the
connection is encrypted, unencrypted, or redundantly encrypted.

9. The `vncserver` script can now optionally start a simple web server that
serves up noVNC (an HTML 5/JavaScript VNC viewer) along with each TurboVNC
session, using a new command-line option (`-novnc`) or **turbovncserver.conf**
variable (`$noVNC`) to specify the noVNC installation directory.  The
`vncserver` script also creates a unique PID file for the noVNC web server
process and kills that process when the TurboVNC session is killed.

10. The `vncserver` script now enables the `-autokill` option by default, which
creates a more intuitive interface for new TurboVNC users.  A new command-line
option (`-noautokill`), or the existing `$autokill` **turbovncserver.conf**
variable, can be used to disable the feature.

11. The TurboVNC Viewer's built-in SSH client can now read SSH private keys
from `ssh-agent` or Pageant.  Note that the SSH client does not understand the
`IdentitiesOnly` keyword in OpenSSH config files and behaves as if
`IdentitiesOnly` is `yes`.  Otherwise, with the exception noted in 2.2.1[5],
its behavior should be the same as that of OpenSSH.

12. The X startup script (which is used to launch a window manager or other
applications in a TurboVNC session) can now be specified using two new
**turbovncserver.conf** variables, `$xstartup` and `$noxstartup`, which are the
equivalents of the `vncserver` `-xstartup` and `-noxstartup` command-line
options.

13. The TurboVNC Server now installs the default `xstartup.turbovnc` script
into the same directory as `vncserver`, and `vncserver` always uses that
default script rather than a per-user `xstartup.turbovnc` script.  This
facilitates upgrading `xstartup.turbovnc` on a system-wide basis when the
TurboVNC Server is upgraded.  A per-user X startup script can still be used by
specifying it with the `-xstartup` command-line option or the `$xstartup`
**turbovncserver.conf** variable.

14. The default X startup script (`xstartup.turbovnc`) has been streamlined to
improve cross-platform compatibility.  The script now attempts to match the
value of the `TVNC_WM` environment variable, which is set by the
`vncserver -wm` command-line option or the `$wm` **turbovncserver.conf**
variable, with a session desktop file under **/usr/share/xsessions** (or
**/usr/local/share/xsessions** on *BSD systems.)  If a matching session desktop
file exists, then `xstartup.turbovnc` populates the appropriate XDG environment
variables from the entries in that file and then executes the window manager
startup program/script specified in the file.

15. The `$autoLosslessRefresh`, `$pamSession`, `$multiThread`, and
`$numThreads` **turbovncserver.conf** variables are now deprecated, since
`$serverArgs` can be used to accomplish the same thing.

16. The TurboVNC Server can no longer be built using GnuTLS.  Supporting GnuTLS
was a stopgap measure intended for power users who needed access to encryption
features that, at the time, either OpenSSL or TurboVNC's OpenSSL wrapper did
not provide.  However, that feature gap has since been closed, and given the
fact that TurboVNC's OpenSSL wrapper has better performance and receives more
attention from the TurboVNC developers and user community, there is no
compelling reason to use the GnuTLS wrapper anymore.  The 2.2.x version of the
TurboVNC Server will continue to support GnuTLS on a break/fix basis.

17. The TurboVNC Server is now based on xorg-server 1.20.13, which fixes
several minor X server bugs.

18. The TurboVNC Server's built-in unaccelerated GLX/OpenGL implementation no
longer supports indirect rendering.  Indirect rendering is limited to the
OpenGL 1.4 API, and it performed sluggishly in the TurboVNC Server due to the
fact that X servers are single-threaded.  (On some platforms, the TurboVNC
Server would become unresponsive for seconds at a time when users interacted
with 3D applications that used indirect rendering.)  Indirect rendering was
generally only necessary on older systems that lacked libglvnd and that had
vendor-specific GPU drivers installed, but it has always been possible to use
direct rendering on such systems-- either by using VirtualGL or by manipulating
`LD_LIBRARY_PATH` or `LD_PRELOAD` to cause OpenGL applications to use the Mesa
implementation of libGL rather than the vendor-specific implementation.
Indirect rendering-- and the TurboVNC-specific X server modifications that
allowed it to perform as well as possible-- will continue to be supported in
TurboVNC 2.2.x on a break/fix basis.

19. The TurboVNC Viewer's built-in SSH client now displays the SSH server's
banner message on the command line by default.  Set the `turbovnc.sshbannerdlg`
Java system property to `1` to display the banner message in a dialog box
instead, thus restoring the default behavior of TurboVNC 2.2.x.

20. The TurboVNC Server now supports the WebSocket protocol (more specifically,
RFC 6455, AKA HyBi v13.)  The server will automatically detect WebSocket
connections on the RFB port (5900 + {display number}) and tunnel the RFB
protocol through the WebSocket protocol.  This allows browser-based VNC
viewers, such as noVNC, to connect to the TurboVNC Server without using a
proxy.  TLS encryption (WSS) is supported if an X.509 certificate is specified
using the `-x509cert` and `-x509key` arguments to Xvnc.

21. The TurboVNC Server now maintains a separate count of VNC password/OTP
authentication failures for each client IP address and temporarily blocks
connections only from IP addresses that have exceeded the maximum number of
consecutive VNC password or OTP authentication failures.

22. The Linux/Un\*x TurboVNC Helper library now uses X Input v2, which allows
the Linux/Un\*x TurboVNC Viewer to pass extended input device valuator names
from the client to the TurboVNC session.  This eliminates the need to use
Virtual Tablet Mode in the TurboVNC session when using Wacom tablets with Qt
applications.  Furthermore, the Linux/Un\*x TurboVNC Viewer no longer clones
extended input devices other than those associated with Wacom tablets or
touchscreens, since only those devices have been tested.

23. If multiple VNC viewers are sharing a single TurboVNC session, the TurboVNC
Server now automatically uses server-side cursor rendering to render and
transmit cursor updates for all viewers other than the viewer that is moving
the pointer (the "pointer owner"), thus allowing all viewers to track the
pointer's position on the remote desktop.  (Previously, this was only possible
if the viewers manually enabled server-side cursor rendering, i.e. if they
disabled cursor shape updates.)

24. The TurboVNC Server now includes overhauled congestion control algorithms
from TigerVNC v1.9.0 and later, for improved performance on
high-latency/low-bandwidth networks.

25. The automatic lossless refresh (ALR), interframe comparison, sharing, and
profiling parameters can now be configured dynamically for a running TurboVNC
session, using the newly repurposed `tvncconfig` program (or the `vncconfig`
program from any RealVNC-compatible VNC implementation.)

26. The remote X Input feature in the Linux TurboVNC Viewer and the TurboVNC
Server now supports touchscreens and can transmit X Input multitouch events
from the client to the TurboVNC session.

27. The TurboVNC Viewer Options dialog has been improved in the following ways:

     - The menu key and toolbar settings are now located under the "Connection"
tab rather than the "Global" tab.
     - The "Show toolbar" setting now takes effect immediately if "OK" is
clicked to dismiss the TurboVNC Viewer Options dialog.
     - The "Security" tab now has a separate check box for each security type.
This fixes an issue whereby certain combinations of security types (such as
VNC,TLSPlain) could not be specified using the TurboVNC Viewer Options dialog.
     - The username for Plain and Unix Login authentication can now be
specified in the "Security" tab.
     - Settings under the "Security" tab are now automatically disabled when
they are rendered irrelevant by other settings.

28. Added an F8 menu option, a Mac menu option, and corresponding hotkeys
(CTRL-ALT-SHIFT-V and Command-V) to the TurboVNC Viewer that allow view-only
mode to be toggled more quickly.  This functionality previously only existed in
the Windows TurboVNC Viewer.

29. Added F8 menu options, Mac menu options, and corresponding hotkeys
(CTRL-ALT-SHIFT-9 and Command-9, CTRL-ALT-SHIFT-8 and Command-8,
CTRL-ALT-SHIFT-0 and Command-0) to the TurboVNC Viewer that can be used to
zoom in (increase the scaling factor), zoom out (decrease the scaling factor),
or reset the scaling factor to 100% when automatic desktop resizing and
automatic scaling are disabled.  This functionality previously only existed in
the Windows TurboVNC Viewer.

30. Listen mode now supports authentication and encryption using any security
type other than the X509* security types.


2.2.7
=====

### Significant changes relative to 2.2.6:

1. The Java TurboVNC Viewer now temporarily re-enables double buffering in
Swing and Java 2D if any TurboVNC Viewer dialog other than the profiling dialog
has the keyboard focus.  This fixes various minor cosmetic issues with the
TurboVNC Viewer Options dialog, particularly on Mac platforms, that occurred if
the viewer was actively drawing framebuffer updates while the dialog was
visible.

2. Fixed an error ("java.nio.BufferOverflowException") that occurred in the
Java TurboVNC Viewer when attempting to use one of the X509* security types
with the `TLS_AES_128_GCM_SHA256` and `TLS_AES_256_GCM_SHA384` TLS 1.3 cipher
suites, which are preferred by OpenSSL 1.1.x.

3. The built-in HTTP server in the TurboVNC Server now adjusts the value sent
in the "Content-Length" HTTP header to accommodate variable substitutions in
the JNLP template.  This fixes an issue whereby certain web browsers would
refuse to download the automatically-generated JNLP file.

4. The built-in HTTP server in the TurboVNC Server now handles HTTP 1.1 HEAD
requests, which are sent by recent versions of Java Web Start.

5. `vncpasswd`, when invoked with no arguments, now creates the **~/.vnc**
directory if it does not exist.  This makes the actual behavior of `vncpasswd`
match its documented behavior.

6. The values of the `AlwaysShowConnectionDialog`, `Colors`, and `Encoding`
parameters in the Java TurboVNC Viewer are no longer saved when "OK" is clicked
to dismiss the TurboVNC Viewer Options dialog, nor are they restored when the
viewer is launched.  Because those parameters can only be specified on the
command line or in a connection info file, automatically restoring their
previous values led to confusing behavior.  (That behavior made more sense
prior to TurboVNC 2.2, because the Options dialog did not automatically save
the current options.)  Since TurboVNC 1.2.2, the Windows TurboVNC Viewer has
similarly avoided saving/restoring the values of command-line parameters that
have no GUI equivalents.

7. Fixed an issue in the Java TurboVNC Viewer whereby, in listen mode, clicking
"OK" to dismiss the Default Options dialog caused all security types and SSH
options to be disabled in or deleted from the saved defaults.  This led to
unexpected behavior if a user subsequently attempted to make a forward RFB
connection using the viewer.

8. Worked around an issue in Java whereby changing the scaling factor or
toggling view-only mode while the Mac TurboVNC Viewer was in full-screen mode
sometimes caused the viewer to exit full-screen mode.

9. Fixed an issue in the Mac TurboVNC Viewer whereby, after using Command+Tab
to switch to another application while the viewer was in full-screen mode with
multi-screen spanning enabled, switching back to the TurboVNC Viewer
effectively disabled multi-screen spanning.

10. Fixed an issue in the Linux/Un*x TurboVNC Viewer whereby automatic
multi-screen spanning sometimes behaved incorrectly if the remote desktop size
or the scaling factor was changed while the viewer was in full-screen mode or
transitioning into full-screen mode.

11. Fixed an issue whereby the Java TurboVNC Viewer would throw a
NullPointerException if view-only mode was toggled in the TurboVNC Viewer
Options dialog, and full-screen mode was not also toggled, prior to connecting
to a VNC server.

12. Added a new parameter to the Java/Mac/Un\*x TurboVNC Viewer
(`ConfirmClose`) that, when enabled, causes the viewer to prompt for
confirmation before closing a connection.


2.2.6
=====

### Significant changes relative to 2.2.5:

1. The TurboVNC Server, if started with the `-nevershared` argument, now
rejects new connections more gracefully, by sending an RFB authentication
failure message to the potential viewer to notify it of the reason behind the
rejection.

2. Fixed an issue in the Java TurboVNC Viewer's built-in SSH client whereby the
`IdentityFile` keyword in the OpenSSH config file was ignored if either
**~/.ssh/id_dsa** or **~/.ssh/id_rsa** existed.

3. Fixed an issue with the TurboVNC Mac package whereby **TurboVNC Viewer.app**
would not be installed into **/Applications/TurboVNC** if another app by the
same name already existed elsewhere on the startup disk.

4. The PAM User/Password authentication method in the TurboVNC Server (which is
used with the Unix Login and VeNCrypt *Plain security types) will no longer
succeed if a user's account or password is expired.

5. Disabled multithreaded Tight encoding on FreeBSD and similar systems,
because the feature segfaults for unknown reasons.

6. Fixed an error ("Server TLS ERROR: Could not load libssl") that occurred
when attempting to use TLS encryption with the TurboVNC Server (built with
`TVNC_DLOPENSSL=1`, which is the default) running on FreeBSD 12.x.

7. Added two Xvnc command-line options (`-maxauthfails` and `-authfailtimeout`)
that can be used to specify the maximum number of consecutive VNC password or
OTP authentication failures allowed (0 = no limit) before connections to a
TurboVNC session are temporarily blocked, as well as the initial length of time
for which those connections are blocked.  (This timeout period automatically
doubles with each subsequent consecutive VNC password or OTP authentication
failure.)

8. The `vncserver` script now invokes `/usr/bin/env perl` rather than
`/usr/bin/perl`, for compatibility with FreeBSD and other operating systems
that install Perl into a directory other than **/usr/bin**.

9. Fixed an issue in the TurboVNC Viewer whereby, with certain client-side
keyboard layouts (Spanish, for instance), an `XK_KP_Separator` (0xFFAC) key
symbol was erroneously transmitted to the VNC server when the numeric keypad
decimal key was pressed or released, even though the corresponding keyboard
layout on a Un*x system would have generated an `XK_KP_Decimal` (0xFFAE) key
symbol for the same key.

10. Fixed an issue in the Linux/Un*x TurboVNC Viewer whereby, if the current
keyboard layout generated an `XK_KP_Separator` (0xFFAC) key symbol for the
numeric keypad decimal key, an `XK_comma` (0x002C) key symbol was erroneously
transmitted to the VNC server instead.

11. If interframe comparison is enabled, the automatic lossless refresh (ALR)
feature in the TurboVNC Server now ignores redundant framebuffer updates
(framebuffer updates whose contents are completely eliminated by interframe
comparison.)  This prevents ALR from being defeated by ill-behaved applications
that continuously render the same image.

12. Fixed an issue in the TurboVNC Server whereby, when connecting over a
high-latency or low-bandwidth network with the TurboVNC Viewer or another VNC
viewer that supports the RFB flow control extensions, the automatic lossless
refresh (ALR) feature sometimes failed to send an ALR.

13. To prevent performance degradation on high-latency networks while using the
automatic lossless refresh (ALR) feature, the TurboVNC Server now temporarily
increases the ALR timeout to ensure that the timeout is always greater than the
network round-trip time measured by the RFB flow control extensions.

14. The `vncserver` script now checks for the swrast DRI driver under
**/usr/lib/aarch64-linux-gnu**, **/usr/lib/arm-linux-gnueabihf**, and
**/usr/lib/arm-linux-gnueabi**, the system library paths used by Debian-based
Arm Linux distributions.  This fixes an issue whereby the TurboVNC Server's
built-in software OpenGL implementation failed to initialize on such systems,
which prevented compositing window managers such as GNOME 3 from launching.


2.2.5
=====

### Significant changes relative to 2.2.4:

1. The value of the `MenuKey` parameter in the Java TurboVNC Viewer is now
case-insensitive.

2. Fixed several issues in the Java TurboVNC Viewer that prevented the
configuration hierarchy (Options dialog > command line > previous settings)
from being honored for certain parameters in some cases (particularly when
using listen mode or making multiple connections from the same viewer
instance.)

3. Fixed an issue in the Java TurboVNC Viewer's built-in SSH client whereby the
SSH host key for a given TurboVNC host was not added to the list of known hosts
unless the SSH known hosts file (**~/.ssh/known_hosts**) already existed.

4. Introduced a new Java system property (`turbovnc.sshbannerdlg`) that, when
set to `0`, causes the Java TurboVNC Viewer's built-in SSH client to display
the SSH server's banner message on the command line rather than in a dialog
box.

5. Fixed an issue in the Java TurboVNC Viewer whereby, in listen mode, the
full-screen mode setting did not take effect if it was changed in the Default
Options dialog.

6. The external SSH feature in the Java TurboVNC Viewer now redirects input and
output from the SSH subprocess to the console that launched the viewer.  In
addition to allowing external SSH issues to be diagnosed more easily, this also
allows interactive SSH authentication methods to be used on Windows.
Furthermore, the Java TurboVNC Viewer now throws an error if the SSH subprocess
fails to launch for any reason.

7. Fixed visual artifacts that occurred when using Hextile encoding in the Java
TurboVNC Viewer with OpenGL Java 2D blitting enabled (which is the default on
Mac platforms.)

8. Fixed an issue in the Windows TurboVNC Viewer whereby, in listen mode, the
`/jpeg`, `/nojpeg`, and `/quality` command-line arguments did not take effect.

9. The TurboVNC Viewer Options dialog can now be used to allow or disallow
Alt-Enter as an alternate hotkey for toggling full-screen mode.

10. Fixed an issue in the Windows TurboVNC Viewer whereby, if keyboard grabbing
was enabled, using the Windows-L key sequence to lock the computer caused the
Windows key (or its Un*x equivalent, the left Super key) to become stuck in the
pressed state on the server.  Fixed a similar issue in the Windows and
Windows/Java TurboVNC Viewers whereby, if keyboard grabbing was enabled, using
the Ctrl-Windows-Left or Ctrl-Windows-Right key sequence to switch virtual
desktops caused the Windows key to become stuck in the pressed state on the
client.

11. Fixed an issue in the Windows/Java TurboVNC Viewer whereby, if keyboard
grabbing was enabled, using Alt-Tab to select another window in the TurboVNC
session sometimes caused the Tab key to become stuck in the pressed state on
the server.

12. Fixed multiple issues with the handling of X.509 certificates in the Java
TurboVNC Viewer:

     - Fixed an issue whereby the viewer would not save an untrusted
certificate if a different certificate with the same Distinguished Name (DN)
had already been saved.
     - The viewer now throws an error if a certificate is not yet valid (i.e.
if the start of its validity period is in the future), regardless of whether
the certificate is trusted.
     - The viewer now asks for confirmation from the user before accepting an
expired certificate, regardless of whether the certificate is trusted.
     - Fixed an issue whereby the viewer would not save an untrusted
certificate if the saved certificates file already existed.
     - The viewer no longer displays a confirmation dialog if hostname
verification fails for a saved certificate.

13. Fixed an issue in the Java TurboVNC Viewer whereby `None` and `VNC` were
effectively removed from the security types list after clicking "OK" in the
TurboVNC Viewer Options dialog, if one of those security types had been
specified in the `SecurityTypes` parameter along with one of the TLS* or X509*
security types.

14. The RPM and DEB packages generated by the TurboVNC build/packaging system
now include a PolicyKit Local Authority (.pkla) file that prevents various
authentication dialogs ("Authentication is required to create a color managed
device", "Authentication is required to access the PC/SC daemon",
"Authentication is required to refresh the system repositories") from popping
up when using the GNOME 3 window manager with the TurboVNC Server on various
Linux distributions.

15. Fixed an issue in the Windows TurboVNC Viewer whereby keyboard grabbing was
always initially disabled in the second and subsequent connections initiated by
the viewer, regardless of the grab mode.


2.2.4
=====

### Significant changes relative to 2.2.3:

1. The Windows/Java TurboVNC Viewer now works around an issue whereby the
operating system does not send a key release event to applications if one of
the Shift keys is released while the other Shift key remains pressed.  This
issue did not affect the native Windows TurboVNC Viewer, since it does not
distinguish between the left and right Shift keys.

2. The TurboVNC Viewer now transmits an `XK_KP_Separator` (0xFFAC) key symbol
rather than an `XK_KP_Decimal` (0xFFAE) key symbol for the keypad decimal key
if the client's locale uses a comma rather than a period for a decimal symbol.
This emulates the behavior of Linux.

3. Fixed an error ("JRELoadError") that occurred when attempting to use the Mac
TurboVNC Viewer app with Java 13.

4. It is no longer necessary to set the `JAVA_HOME` environment variable in
order to use the Mac TurboVNC Viewer app with Java 11 and later.

5. Fixed an issue whereby, if the physical screens on the client had mismatched
resolutions or were offset, the TurboVNC Viewer would not use all of the
available screen real estate in full-screen mode with multi-screen spanning
enabled.  The viewer now properly fills all screens in this case, as long as
automatic desktop resizing is enabled and the VNC server supports Xinerama
(multiple virtual screens), i.e. if the server's virtual screen layout is being
set based on the client's physical screen layout.

6. The Windows TurboVNC Viewer should now build properly with Visual Studio
2015.

7. The TurboVNC Server is now based on xorg-server 1.19.7, which fixes several
minor X server bugs.

8. The TurboVNC Server now supports the X Record Extension.  This extension can
be disabled, if desired, by passing `-extension XTEST` to `vncserver`.


2.2.3
=====

### Significant changes relative to 2.2.2:

1. The Elliptic Curve Diffie-Hellman (ECDH) key exchange algorithm is now
supported by the TurboVNC Server when using OpenSSL 1.0.2 or later.

2. A new security configuration file directive (`permitted-cipher-suites`) in
the TurboVNC Server and a new Java system property (`turbovnc.ciphersuites`) in
the Java TurboVNC Viewer can now be used to specify a list of permitted TLS
cipher suites for the TLS* and X509* security types.

3. Fixed an issue in the Mac TurboVNC Viewer whereby drawing tablet stylus
buttons were ignored or mapped to incorrect mouse button events.

4. The built-in HTTP server in the TurboVNC Server now accepts `:` and `@` in
any TurboVNC Viewer parameters that are appended to the URL.  This allows for
specifying an SSH username in the `Via` parameter and an RFB display/port in
the `Server` parameter.

5. The X RandR outputs in the TurboVNC Server have been renamed to "VNC-0",
"VNC-1", etc.  This prevents a dialog ("Authentication is required to create a
color managed device") from popping up when using the GNOME 3 window manager on
recent Linux distributions, including Fedora, RHEL 8, and Ubuntu 18 and later.

6. Fixed a packaging regression, introduced by 2.2 beta1[17], that prevented
full-screen multi-screen spanning from working properly with the Mac TurboVNC
Viewer app.

7. Fixed a regression introduced by 2.2 beta1[11] that caused the TurboVNC
Server to leak memory when certain X11 applications or frameworks requested
that clipboard updates from the X server be converted to UTF-8 (by calling
`XConvertSelection()` with a target of `xaUTF8_STRING`.)

8. Fixed an error ("java.lang.IllegalArgumentException: Error in security
property. Constraint unknown: ECDH_ DH_RSA") that occurred when attempting to
use any of the TLS* security types with the Java TurboVNC Viewer running under
Java 7u211, 8u201, 11.0.2, or later with OpenSSL 1.1.x.

9. Fixed an issue (CVE-2019-15683) in the TurboVNC Server whereby a
specially-crafted VNC viewer could be used to remotely trigger a stack overflow
in the server by sending it a malformed RFB Fence message.  This issue could
never have been encountered when using any of the VNC viewers that currently
support the RFB Fence message (TurboVNC and TigerVNC.)  Furthermore, since
exploiting the issue would have first required successfully authenticating with
a TurboVNC session, the issue did not generally provide an attack vector for
anyone other than the session owner and any collaborators authorized by the
owner.

10. Fixed various issues with remote mouse events that would occur when running
the Linux TurboVNC Viewer in a Wayland session.

11. The TurboVNC Server now generates a 2048-bit DSA key for use with the TLS*
security types.  This fixed an error ("dh key too small") that occurred when
attempting to connect, using one of those security types, to a TurboVNC session
running on a RHEL 8 host.  It also fixed an error
("javax.net.ssl.SSLHandshakeException: DHPublicKey does not comply to algorithm
constraints") that occurred when attempting to connect, using one of the TLS*
security types, to a TurboVNC session with the Linux TurboVNC Viewer running on
a RHEL 8 client.  A new security configuration file directive
(`tls-key-length`) can be used to restore the behavior of previous releases of
TurboVNC (generating a 1024-bit DSA key) or to increase the key length for
additional security.


2.2.2
=====

### Significant changes relative to 2.2.1:

1. Fixed an error ("javax.net.ssl.SSLHandshakeException: No appropriate
protocol (protocol is disabled or cipher suites are inappropriate)") that
occurred when attempting to use any of the TLS* security types with the Java
TurboVNC Viewer running under Java 7u211, 8u201, 11.0.2, or later.

2. Fixed an issue in the Java TurboVNC Viewer's built-in SSH client whereby
values for the `ServerAliveInterval` keyword in the OpenSSH config file were
interpreted as milliseconds rather than seconds.  This caused the SSH
connection to fail if the value specified for `ServerAliveInterval` was too
low.

3. Fixed a regression introduced by 2.2.1[6] that caused constant flickering in
the UltraVNC Viewer when it was used with the TurboVNC Server.

4. Fixed an issue in the TurboVNC Server whereby, if interframe comparison was
enabled and the remote desktop was resized to a smaller size, the server would
sometimes send a framebuffer update that exceeded the new desktop dimensions.
This crashed the UltraVNC Viewer.

5. Fixed a denial-of-service (DoS) vulnerability in the TurboVNC Server that
was exposed when many RFB connections were made to the server and never
dropped, thus exceeding the Xvnc process's allotment of file descriptors.  When
this occurred, it triggered an infinite loop whereby the TurboVNC Server's
listener socket handler returned immediately with an `EMFILE` ("Too many open
files") error, but the handler continued to be called by the X.Org code because
the incoming RFB connection never succeeded.  This infinite loop prevented the
TurboVNC session owner from launching any X11 programs in the session (since
those require Unix domain socket connections) until one or more of the RFB
connections dropped, and the continuous flood of error messages in the session
log caused the log to grow by megabytes per second until all available disk
space was exhausted.  The TurboVNC Server now sets a reasonable RFB connection
limit (which can be adjusted using a new Xvnc argument, `-maxconnections`) and
rejects all new connections once this limit has been reached.  The upper limit
for `-maxconnections` should be low enough to avoid the aforementioned `EMFILE`
error and infinite loop.

6. Fixed an issue in the Linux/Un\*x TurboVNC Viewer whereby, if multiple
buttons on an extended input device (such as a drawing tablet) were pressed or
released in rapid succession, some of those button events could accidentally be
discarded by the TurboVNC Helper under certain circumstances, leading to a loss
of synchronization between the client's and the TurboVNC session's extended
input device button state.  From the point of view of applications running in
the TurboVNC session, the extended input device buttons appeared to stick in
the down or up position.


2.2.1
=====

### Significant changes relative to 2.2:

1. The standalone Mac TurboVNC Viewer app will now use the JRE pointed to by
the `JAVA_HOME` environment variable, if that variable is defined.  This
facilitates using the viewer with Java 11, which doesn't provide a separate JRE
and thus doesn't install anything under
**/Library/Internet Plug-Ins/JavaAppletPlugin.plugin** (the directory in which
the Mac TurboVNC Viewer app launcher normally looks for a JRE.)

2. The Windows TurboVNC Viewer packages no longer include a custom build of
PuTTY.  An optimized version of PuTTY 0.60 was originally included in TurboVNC
0.4/Sun Shared Visualization 1.1 because, at the time, the stock version of
PuTTY was slow, and installing OpenSSH generally required Cygwin.  The custom
build of PuTTY was retained in TurboVNC 1.2, because few Windows SSH
implementations had proper IPv6 support at the time.  However, in 2018,
numerous Windows SSH clients will work properly with the TurboVNC Viewer, and
generally with better performance than our custom build of PuTTY.

3. Fixed an issue in the `vncserver` script whereby generating an initial
one-time password (OTP) would fail if X11 TCP connections were disabled (which
is now the default, because of 2.2 beta1[8]) and the hostname of the TurboVNC
host resolved to its external IP address rather than to its local IP address.

4. The Java TurboVNC Viewer will now display all informational messages and
warnings from its built-in SSH client whenever the logging level is >= 110.

5. The built-in SSH client in the Java TurboVNC Viewer has been improved in the
following ways:

     - The SSH client will now prompt for an SSH key passphrase if one is
required but has not been specified using the `SSHKeyPass` parameter.  This
emulates the behavior of OpenSSH.
     - The SSH Password dialog will no longer be displayed unless SSH password
authentication is necessary.  Previously, the dialog was displayed even if the
hostname was invalid.
     - Closing the SSH Password dialog will now immediately cancel SSH
authentication.
     - The SSH client will now automatically read and process the OpenSSH
configuration file stored in **~/.ssh/config** (or the location specified in
the `SSHConfig` parameter), if the file exists.  Parameters read from the
OpenSSH configuration file will take precedence over any TurboVNC Viewer
parameters.
     - A new Java system property (`turbovnc.sshauth`) can be used to enable or
disable SSH authentication methods, as well as to specify their preferred
order.

6. Fixed a race condition in the TurboVNC Server that, under rare
circumstances, caused the TurboVNC Viewer to incorrectly assume that the server
did not support remote desktop resizing.

7. Fixed an issue in the `vncserver` script whereby changing the value of
`$vncUserDir` in **turbovncserver.conf** did not change the default locations
of the VNC password file, the X.509 certificate file, and the X.509 private key
file.  The script now defers setting the default locations of those files until
after **turbovncserver.conf** is read, and the script now allows the locations
of all three files to be specified in **turbovncserver.conf**.

8. The `vncserver` script now allows VirtualGL to be enabled using the
**turbovncserver.conf** file.

9. The `vncserver` script now allows the window manager startup script to be
specified using a new command-line option (`-wm`) or **turbovncserver.conf**
variable (`$wm`.)  This is useful when starting TurboVNC sessions at boot time,
and for other situations in which setting the `TVNC_WM` environment variable is
not possible.

10. The TurboVNC Server now properly handles installations in which the
system-wide TurboVNC configuration file (**turbovncserver.conf**) and security
configuration file (**turbovncserver-security.conf**) are located in a
directory other than **/etc**.

11. Introduced a new **turbovncserver.conf** variable (`$serverArgs`) that can
be used to specify additional arguments for Xvnc.  This allows any TurboVNC
Server option to be enabled or disabled on a system-wide or per-user basis,
even if that option has no corresponding **turbovncserver.conf** variable.

12. Fixed an issue in the Windows/Java and Un*x TurboVNC Viewers whereby, when
pressing and releasing both the left and right locations of a particular
modifier key (Shift, Ctrl, Alt, etc.), only one of the key releases was sent to
the VNC server.  Fixed a similar issue in the Mac TurboVNC Viewer under Java 11
whereby, when pressing and releasing both the left and right Alt keys in the
same order, a left Alt key press and an AltGr key release (or vice versa) were
sent to the VNC server.

13. Fixed a segfault in the TurboVNC Server that occurred, under rare
circumstances, when a viewer disconnected.

14. Fixed an issue in the TurboVNC Server, introduced by 2.2 beta1[11], that
prevented client-to-server clipboard transfers from working properly with some
Qt applications.


2.2
===

### Significant changes relative to 2.2 beta1:

1. The Alt button in the Java/Mac/Un*x TurboVNC Viewer toolbar now works
properly.  Previously, it was sending an Alt key press and a Ctrl key release.

2. Fixed an issue whereby, when using certain Command-{key} sequences in the
Mac TurboVNC Viewer (specifically: Command-`, which switches between the two
most recent viewer windows; Command-H, which hides all viewer windows;
Command-Q, which exits the viewer; and Command-P, which toggles the profiling
dialog), {key} was unintentionally transmitted to the VNC server.

3. Fixed a segfault in the TurboVNC Server that occurred when attempting to
disable the Composite extension.  This was a regression caused by a bug in the
xorg-server 1.19.6 code.

4. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
works around an issue whereby the desktop contents would not be displayed when
running the GNOME Classic window manager on RHEL/CentOS 7 or recent Fedora
releases.

5. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
launches Unity 2D by default on Ubuntu 12, as was the case with TurboVNC 2.1.x.
Unity 3D 5.20.x does not work properly with the TurboVNC X server, and Unity 2D
provides a similar user experience.

6. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
properly launches the GNOME 3, GNOME Flashback (Metacity), and MATE window
managers on Ubuntu 18.

7. Fixed an issue whereby the TurboVNC Server would fail to launch via the
`vncserver` script (giving the error "Unrecognized option: -x509cert") if the
server was built with `TVNC_USETLS=OpenSSL` or `TVNC_USETLS=GnuTLS` and the
OpenSSL or GnuTLS headers/libraries were not installed.

8. The `-list` option for the `vncserver` script no longer lists orphaned
TurboVNC sessions (sessions for which a PID file exists in the user's VNC
directory but for which the corresponding Xvnc process is no longer running.)

9. Fixed an issue in the Java TurboVNC Viewer whereby, when using SSH tunneling
with the built-in SSH client, the SSH connection would remain open even if the
associated VNC connection had been closed.

10. Fixed an issue in the `vncviewer-javaw.bat` script, which is used to
launch the Java TurboVNC Viewer on Windows without a console window, whereby
**jawt.dll** would not be found when using certain versions of the Oracle JRE.

11. The Java TurboVNC Viewer now builds successfully with JDK 11.

12. Fixed an issue in the Mac TurboVNC Viewer whereby the "Preferences..."
option in the VncViewer menu (and its associated hotkey, Command-,) would pop
up a new copy of the Options dialog even if the Options dialog was already
visible.

13. Worked around an issue in Java 9 through 11 that caused the Profiling
dialog in the Mac TurboVNC Viewer to immediately disappear if it was popped up
using the Command-P hotkey.


2.2 beta1
=========

### Significant changes relative to 2.1.2:

1. Added a system menu option and hotkey (CTRL-ALT-SHIFT-V) to the Windows
TurboVNC Viewer that can be used to quickly toggle view-only mode on and off.

2. Added system menu options and hotkeys to the Windows TurboVNC Viewer that
can be used to zoom in and out (increase or decrease the scaling factor) or
reset the view to 100% when desktop scaling is enabled.

3. The TurboVNC Server now includes a GLX extension that uses the swrast DRI
driver installed on the system to perform unaccelerated OpenGL rendering.
Using VirtualGL for OpenGL rendering will still be much faster and more
compatible, but this feature allows the TurboVNC Server to be used for casual
OpenGL rendering if VirtualGL is not installed.  Passing `-extension GLX` to
`vncserver` disables the extension.  Note that your system must have Mesa 8.x
or later installed in order for the swrast DRI driver to be available.  On
systems that do not have vendor-specific GPU drivers installed, or on systems
that provide a libglvnd-enabled build of Mesa, the TurboVNC Server's GLX
extension will use direct rendering, which improves performance and
compatibility.

4. Java 6 and earlier is no longer supported with the Java/Mac/Un*x TurboVNC
Viewer.  This increases the Mac system requirements to OS X/macOS 10.7 "Lion"
or later.  Apple's obsolete Java for OS X is no longer supported, and the
standalone "AppleJava" version of the TurboVNC Viewer is no longer provided.
Java SE 6 ceased receiving public updates in 2013 and, as of this writing,
critical bug fixes and security fixes for that platform are only available with
an Oracle Extended Support contract.  Furthermore, Red Hat ceased supporting
OpenJDK 6 in late 2016.  The TurboVNC Viewer JAR will continue to be built with
`-source 1.6 -target 1.6`, but it will only be tested with Oracle Java SE
releases that are currently receiving public updates and OpenJDK releases that
are actively supported by Red Hat.  The 2.1.x version of the TurboVNC Viewer
will continue to support Java 6 on a break/fix basis.

5. The ability to run the Java TurboVNC Viewer as an in-browser applet has been
removed.  Most popular web browsers have already abandoned the NPAPI plugin
standard around which the Java plugin was designed, because that plugin
standard grants full access to the client machine.  However, such access is
necessary in order to write a full-featured application (including a VNC
viewer), and absent any other cross-browser plugin standard, it would be
impossible for Oracle to make the Java plugin more secure without abandoning
the write-once-run-anywhere nature of the Java language.  Thus, they have
chosen not to include any kind of browser plugin in Java 9.  As of this
writing, NPAPI support can only be obtained on most platforms by installing an
older browser version.  The only advantage of using the TurboVNC Viewer as an
applet, as opposed to with Java Web Start, was the ability to embed the viewer
in a web page, but this mode of operation had some known usability issues and
was increasingly receiving little or no attention from the TurboVNC community.
The applet feature will continue to be supported in TurboVNC 2.1.x on a
break/fix basis.

6. The TurboVNC Server now has full support for the Xinerama extension, which
allows multiple virtual screens to be configured within the same remote
desktop.  This provides better usability for multi-screen environments, since
dialogs and maximized application windows are no longer split across screen
boundaries.  The server's screen layout can be configured in the following
ways:

    -  Multi-screen geometry descriptors, in the format
`W0xH0+X0+Y0[,W1xH1+X1+Y1,...,WnxHn+Xn+Yn]]`, are now accepted in these places:
        * The TurboVNC Server's `-geometry` command-line argument and the
`$geometry` variable in **turbovncserver.conf** (thus allowing the user to
specify a screen layout for the initial framebuffer)
        * The "Remote desktop size" combo box in the TurboVNC Viewer's Options
dialog, the TurboVNC Viewer's `-desktopsize` command-line argument, and the
`DesktopSize` parameter in the Java TurboVNC Viewer (thus allowing the user to
remotely request a specific screen layout)
        * A new .vnc connection info file directive (`desktopsize`) that can
be used instead of the `resizemode`, `desktopwidth`, and `desktopheight`
directives

    - The automatic desktop resize feature in the TurboVNC Viewer is now
multi-screen aware in both windowed and full-screen modes.  When the viewer
window is resized or reset to its default position, the viewer will now compute
and request a new server-side screen layout that matches not only the viewer
window boundaries but also the client's screen boundaries and the position of
the taskbar/menu bar on the client.  The single-screen automatic desktop
resizing behavior of the TurboVNC 2.1.x viewer can be restored by setting the
`TVNC_SINGLESCREEN` environment variable or the `turbovnc.singlescreen` Java
system property to `1`.

    - The X RandR extension can be used, either from the command line
(`xrandr`) or through the window manager's display configuration applet, to
modify the server's screen layout.

7. The TurboVNC Server is now based on xorg-server 1.19.6, which improves
compatibility with newer window managers.

8. By default, the TurboVNC Server will no longer listen on a TCP socket for
X11 protocol connections from X11 applications.  This mimics the behavior of
most modern X servers, which require X11 connections to be made using Unix
domain sockets.  To restore the behavior of previous versions of TurboVNC, pass
`-listen tcp` to `vncserver` (assuming that X11 TCP connections are not
globally disabled in the TurboVNC Server's security configuration file.)

9. The default `xstartup.turbovnc` script that the TurboVNC Server creates will
no longer start a 2D window manager by default on Ubuntu systems, since the
TurboVNC Server now has a software OpenGL implementation that supports running
Unity 3D without VirtualGL.  The `xstartup.turbovnc` script will now always
attempt to start the window manager specified by the system or user defaults,
unless the `TVNC_WM` environment variable is set.  Setting the `TVNC_WM`
environment variable to `2d` will start the GNOME fallback/flashback or Unity
2D session on Ubuntu systems instead of Unity 3D.  Setting the `TVNC_WM`
environment variable to `2d` will also start the GNOME classic session on RHEL
7 and recent Fedora releases.  To start MATE, set the `TVNC_WM` environment
variable to `mate-session`.

10. The `-3dwm` option for the `vncserver` script has been renamed to `-vgl`,
to reflect the fact that the TurboVNC Server is now able to run 3D window
managers without using VirtualGL.

11. Clipboard synchronization is now performed within the TurboVNC Server
process, so the `tvncconfig` utility is no longer needed or provided.

12. The TurboVNC Server now uses a 30-bit default visual (BGRX 10/10/10/2 on
little endian machines and XRGB 2/10/10/10 on big endian machines) when
launched with `-depth 30`.  This is mainly useful for application testing at
the moment, since the pixels are downsampled to 8-bit RGB prior to
transmission.

13. Introduced a new CMake variable (`TVNC_SYSTEMLIBS`) that, when enabled,
will cause the TurboVNC Server to be built against the system-supplied versions
of zlib, bzip2, and FreeType.

14. Introduced a new CMake variable (`TVNC_SYSTEMX11`) that, when enabled,
will cause the TurboVNC Server to be built against the system-supplied versions
of the X11 and OpenGL headers and libraries.  This will probably fail unless
the system is using xorg-server 1.19.x or later.

15. Fixed a bug in the TurboVNC Server's VeNCrypt implementation that prevented
it from working properly with LibVNCClient.

16. The TurboVNC Server and Windows TurboVNC Viewer, when built with
`TVNC_SYSTEMLIBS=0` (which is the default), now incorporate the Intel zlib
library, which accelerates zlib encoding and decoding significantly on
SSE2-equipped CPUs.  This improves the end-to-end performance of the Lossless
Tight + Zlib encoding method, and of non-JPEG (low-color-depth) subrectangles
encoded with one of the Tight + JPEG encoding methods, by approximately 20-40%.

17. The Mac/Java TurboVNC Viewer now includes remote drawing tablet support.
This feature is implemented using a TurboVNC Helper JNI library, which is
similar to the TurboVNC Helper included with the Un*x TurboVNC Viewer.  This
library connects the built-in drawing tablet drivers for OS X/macOS with the
existing remote X Input feature in the Java TurboVNC Viewer and TurboVNC
Server.

18. Fixed an issue in the Un*x/X11 TurboVNC Viewer and the Windows/Java
TurboVNC Viewer whereby keyboard grabbing was always initially disabled in the
second and subsequent connections initiated by the viewer, regardless of the
grab mode.

19. The Java TurboVNC Viewer now builds and runs with Java 9 and later.

20. The SSH tunneling feature in the Java TurboVNC Viewer now works properly
when the SSH username contains a @ character.

21. The Windows TurboVNC Viewer now disables the Windows IME (Input Method
Editor) system in the TurboVNC Viewer window.  This system is normally used to
input language-specific characters in Asian languages, but since the TurboVNC
Viewer does not handle those characters, the IME does nothing but interfere
with the normal operation of the viewer.

22. Introduced a new security configuration file directive (`no-remote-resize`)
that can be used to disable remote desktop resizing on a system-wide basis.

23. The Java TurboVNC Viewer now saves the current options as defaults when
"OK" is clicked to dismiss the Options dialog.  This more closely mimics the
behavior of the Windows TurboVNC Viewer and other applications.

24. The TurboVNC Server now enables multithreaded Tight encoding by default.
Because of 2.1.2[1], there is no longer any danger of incompatibility with
non-TurboVNC viewers when using this feature with default settings, so there is
no downside to enabling it.


2.1.2
=====

### Significant changes relative to 2.1.1:

1. Improved the usability of multithreaded Tight encoding in the TurboVNC
Server:

    - The `TVNC_MT` and `TVNC_NTHREADS` environment variables now have
corresponding Xvnc command-line options (`-mt` and `-nthreads`), which makes it
easy to enable multithreaded Tight encoding in TurboVNC Server instances
spawned by init.d/systemd.
    - The **turbovncserver.conf** file, which is parsed by the `vncserver`
script, now includes two new variables (`$multiThread` and `$numThreads`) that
can be used to configure multithreading on a system-wide basis or for all
TurboVNC sessions started under a particular user account.
    - Previously, if multithreaded Tight encoding was enabled, the Tight
encoder would use as many threads as there were CPU cores on the TurboVNC host,
up to a maximum of 8.  However, because of limitations in the Tight encoding
type, using more than 4 threads requires the rfbTightNoZlib extension, which is
only supported by the TurboVNC Viewer.  To avoid confusion, the TurboVNC Server
will no longer use more than 4 threads (regardless of the number of CPU cores)
unless the thread count is explicitly specified.

2. Fixed an issue in the console version of the Windows TurboVNC Viewer
(`cvncviewer.exe`) whereby the console output of the viewer could not be
redirected to a file.

3. The Java/Mac/Un\*x TurboVNC Viewer now includes an option for reversing the
direction of mouse scroll wheel events that are sent to the VNC server.  This
is useful when connecting from clients that have "natural scrolling" enabled.

4. Fixed an issue whereby, under certain rare circumstances (for instance, if
the Xvnc binary was setuid root), the TurboVNC Server would allow any user of
the system (not just the session owner) to authenticate with a TurboVNC session
using PAM User/Password Authentication, if the user ACL feature was disabled.

5. Fixed a BadMatch X11 error that occurred when attempting to resize the
TurboVNC Server desktop to a smaller size using the X RandR 1.2 API (for
instance, by executing `xrandr --output TurboVNC --mode {new_mode}`.)

6. Fixed an issue whereby the TurboVNC Server could not be built using GnuTLS
3.4.0 or later.

7. Improved the TLS encryption feature in the following ways:

     - The anonymous Elliptic Curve Diffie-Hellman (ECDH) key exchange
algorithm is now supported when the TurboVNC Server is built using GnuTLS 3.0.0
and later.  (The Java/Mac/Un\*x TurboVNC Viewer already supports ECDH.)
     - The TurboVNC Server will now use the most recent version of the TLS
protocol that both the server and the viewer support.
     - The "VNC connection info" dialog in the Java/Mac/Un*x TurboVNC Viewer
will now display the TLS protocol version currently in use.
     - The TurboVNC Server can now be built with OpenSSL 1.1, and if it is
built with `TVNC_DLOPENSSL=1` (the default), it can use OpenSSL 1.1 at run time
regardless of whether it was built on a machine that has OpenSSL 1.1 installed.
     - When using OpenSSL, the TurboVNC Server will now log a more meaningful
error message if the TLS handshake fails.

8. Fixed an issue in the Mac (Java) TurboVNC Viewer whereby the initial
non-full-screen window was positioned incorrectly if it spanned multiple
screens.

9. Fixed an issue in the Windows (native) TurboVNC Viewer whereby multi-screen
spanning did not work at all if the secondary display was to the left of the
primary display.

10. Multi-screen spanning now works with the Linux/Un\*x TurboVNC Viewer in
full-screen mode, if the viewer is using the TurboVNC Helper library.  (Due to
limitations in X11, it is still not possible to use multi-screen spanning with
the Linux/Un\*x TurboVNC Viewer in windowed mode.)  Also, the Linux/Un\*x
TurboVNC Viewer now falls back to Java's built-in full-screen window feature,
thus allowing full-screen mode to work with single-screen (Primary) spanning
even if the TurboVNC Helper library is not available.

11. The TurboVNC Server will now clamp the desktop dimensions to 32767x32767
regardless of the `max-desktop-size` setting in the security configuration
file.  This prevents two issues:

    - The server would fail to send framebuffer updates and would continuously
log messages of the form "WARNING: Framebuffer update at 0,0 with dimensions
0x0 has been clipped to the screen boundaries" if the desktop width or height
was set, by way of the `-geometry` command-line argument or a remote desktop
resize request, to a value greater than 32767.
    - The server would segfault if a mode with a width or height greater than
32767 was configured and enabled using the X RandR extension.

    Although TurboVNC can handle framebuffer dimensions larger than this, the
underlying X.org screen structure uses a signed short to represent width and
height, and thus values larger than 32767 overflow the data type and can
sometimes be interpreted as negative numbers.

12. Closed a loophole that allowed users to use X RandR functions to make the
desktop larger than the dimensions allowed by the `max-desktop-size` setting in
the security configuration file.

13. When automatic desktop resizing and automatic spanning are both enabled,
the TurboVNC Viewer will now use single-screen spanning ("Primary monitor
only") when in windowed mode and multi-screen spanning ("All monitors") when in
full-screen mode.

14. Fixed an issue whereby the Java TurboVNC Viewer, when launched from the
`vncviewer-java.bat` script, the Start Menu shortcut, or Java Web Start on
Windows clients with a 32-bit JRE, would fail with "Error: missing 'server'
JVM".  On Windows, the 32-bit JRE only provides the client VM, and the 64-bit
JRE only provides the server VM, so specifying `-server` in the launch scripts
was unnecessary.

15. Worked around an issue whereby, when the TurboVNC Viewer was running on
macOS 10.12 "Sierra", pressing and holding certain keys would cause the viewer
to stop processing subsequent keystrokes if ApplePressAndHoldEnabled was set to
true in the macOS user defaults (which it is by default in recent macOS
releases.) It is still necessary to set ApplePressAndHoldEnabled to false,
either in the global domain or the com.turbovnc.vncviewer.VncViewer domain, in
order for key repeat to work with the TurboVNC Viewer.

16. The Java/Mac/Un*x TurboVNC Viewer now supports the `user` and
`noremotecursor` directives in .vnc connection info files.

17. Fixed an issue that prevented the keyboard grabbing feature from working
properly in the Java TurboVNC Viewer on 32-bit Windows systems.

18. Fixed an issue whereby, when server-side cursor rendering was enabled, the
cursor would flicker on and off as the mouse was dragged.

19. Fixed an issue whereby the Java/Mac/Un*x TurboVNC Viewer would, under
certain circumstances (specifically, when receiving a desktop size update from
the server with automatic desktop resizing enabled, toggling on/off the
toolbar, or changing the scaling settings), always behave as if the
`CurrentMonitorIsPrimary` parameter was disabled.

20. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
allows the window manager startup script/executable to be specified using
an environment variable (`TVNC_WM`.)  This facilitates using a different window
manager for local and remote desktop sessions on the same machine, or
temporarily switching the window manager used by TurboVNC.

21. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
sets the `XDG_SESSION_TYPE` environment variable to `x11`.  This is necessary
when running GNOME 3 on Fedora 25 and later.  Otherwise, GNOME 3 will assume it
is operating in a Wayland environment.

22. Worked around an issue whereby desktop resizing in the TurboVNC Server
would fail on Ubuntu 12.04 LTS (and likely on Ubuntu 12.10 and 13.04 as well,
although those releases are EOL as of this writing) due to Ubuntu's inclusion
of an experimental extension to the XFixes protocol that was never accepted
upstream in X.org.

23. Fixed a bug in the X.org code that prevented the TurboVNC Server from
working properly on little endian PowerPC systems.

24. Fixed a couple of issues in the TurboVNC Server that prevented cursors from
being rendered and transmitted properly if the server was running on a big
endian system.

25. Fixed an issue in the Windows TurboVNC Viewer whereby, if keyboard grabbing
was disabled, using Alt-Tab to select another window would sometimes leave the
Alt key in a pressed state on the server.  Fixed a similar issue in the Mac
TurboVNC Viewer whereby, when quitting the viewer using Command-Q or closing
the connection using Command-W, the Super/Windows key would be left in a
pressed state on the server.

26. Fixed an issue in the Java TurboVNC Viewer whereby the client clipboard
contents would not be transferred to the server if text was selected in the
VNC session and the middle mouse button was clicked in the viewer window
without first bringing the window to the foreground.

27. Improved the zero-install Java Web Start feature in the following ways:

    - The built-in HTTP server in the TurboVNC Server now sends the
"Content-Length" and "Last-Modified" HTTP headers.  These headers are used by
Java Web Start to determine whether the server's copy of the TurboVNC Viewer
JAR is newer than the client's copy, and the addition of the headers prevents
an issue whereby Java Web Start would never update the cached copy of the
TurboVNC Viewer JAR on the client.
    - The JNLP file generated by the TurboVNC Server now contains directives
that disable background updating of the TurboVNC Viewer JAR.  Under certain
circumstances, background updating was causing the TurboVNC Server to become
unresponsive, since it is running the VNC, X11, and HTTP servers in the same
thread.

28. Worked around an issue in OS X whereby the TurboVNC Viewer window would not
be brought to the foreground if a mouse button other than the primary button
was clicked in it.  Because OS X sends only mouse press events to
non-foreground windows, this issue was causing mouse buttons other than the
primary button to become stuck in the pressed state on the server if one of
those buttons was clicked in the viewer window while the window was in the
background.

29. Fixed an issue in the TurboVNC Server whereby it would hang and eventually
time out when attempting to negotiate VeNCrypt capabilities with the viewer.
This issue was known to affect only Solaris 11 hosts, but it might have also
affected other platforms under rare circumstances.

30. Worked around an issue in Java that caused Control-Underscore (the keyboard
shortcut for the Undo command in Emacs) to be transmitted incorrectly when
using the Java TurboVNC Viewer.  Worked around another issue in Java that
caused AltGr symbols associated with a dead key (for instance, the '|' symbol
on Danish keyboards) to be transmitted incorrectly.


2.1.1
=====

### Significant changes relative to 2.1:

1. Fixed an XML error ("The processing instruction target matching
'[xX][mM][lL]' is not allowed" or "Could not parse launch file") that occurred
when attempting to launch the Java TurboVNC Viewer using the built-in
zero-install Java Web Start feature in the TurboVNC Server.  Apparently recent
releases of Java did not like the fact that the JNLP file generated by the
TurboVNC Server began with an XML comment.

2. Arguments to the `vncserver` script are now case-insensitive.

3. The TurboVNC Server init.d script was erroneously checking for the existence
of **~/.vnc/passwd**, even if the permitted and selected security types did not
require a VNC password file.  The init.d script now invokes `vncserver` with a
new argument (`-quiet`) that causes `vncserver` to fail if a VNC password file
is required but does not exist.

4. The Java TurboVNC Viewer now supports the rfbTLS security descriptor used by
Vino.  This should allow the viewer to connect to encrypted Vino sessions using
either the TLSVnc or TLSNone security types.

5. The default behavior of the TurboVNC Server is to refuse new non-shared
connections if a viewer is already connected.  Previously, the server
accomplished this by hard-coding the `-dontdisconnect` argument to Xvnc inside
of the `vncserver` wrapper script.  This release of TurboVNC instead makes
`-dontdisconnect` the default in Xvnc and introduces a new Xvnc argument
(`-disconnect`) to reverse the behavior.  This new option allows TurboVNC to
mimic the behavior of other VNC implementations that disconnect existing
viewers when a new non-shared connection is established.

6. Added a new parameter to the Java TurboVNC Viewer (`LocalCursor`) that, when
enabled, causes cursor shape updates to be ignored and the local cursor to
always be displayed.  This mimics the behavior of the Windows TurboVNC Viewer
when "Local cursor shape" is set to "Normal arrow" and "Mouse cursor" is set to
"Don't show remote cursor".  This option is useful when connecting to broken
VNC server implementations that do not properly support server-side cursor
rendering or cursor shape updates.

7. Fixed an issue in the Windows TurboVNC Viewer whereby the mouse scroll wheel
would stop working if the viewer was moved to a monitor above or to the left of
the Windows "main"/"primary" display.

8. Fixed an issue whereby zero-height PutImage requests (issued by XCB) would
crash the TurboVNC X server.  This was known to affect certain Qt5 applications
running under Debian Stretch but may have also affected other applications and
platforms.


2.1
===

### Significant changes relative to 2.1 beta2:

1. Added a new parameter to the Java TurboVNC Viewer (`LocalUsernameLC`) that,
when enabled along with the `SendLocalUsername` parameter, will cause the local
username to be sent to the server in lowercase.  This can be useful for Windows
clients, since Windows allows mixed-case usernames but Un*x machines generally
don't.

2. Fixed a regression introduced in 2.0 beta1[1] whereby connecting to the
TurboVNC Server with cursor shape updates (client-side cursor rendering)
enabled and continuous updates disabled (or with a viewer, such as the TurboVNC
1.1 Viewer, that doesn't support continuous updates) would cause the server and
viewer to get into an infinite ping-pong loop whenever the cursor shape
changed.  This infinite loop caused TurboVNC to consume an inordinate amount
of CPU and network resources until the next non-cursor-related framebuffer
update was sent.

3. Fixed several serious visual artifacts with server-side cursor rendering
(regression introduced in 2.0 beta1[1].)  Server-side cursor rendering is not
generally the default in TurboVNC, but it is useful for collaboration purposes.

4. Fixed an issue whereby the TurboVNC Server would become unresponsive to
input if a viewer connected while the MATE screensaver was active.

5. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
includes a workaround for a bug in GNOME 3 whereby the pointer disappears when
mousing over the top bar.

6. Fixed an issue in the Java TurboVNC Viewer whereby, when the remote desktop
size was changed in the Options dialog, the new desktop size request was not
sent to the server until the next framebuffer update was received.

7. Fixed an issue in the TurboVNC Server's implementation of the X RANDR
extension that was causing viewer-initiated remote desktop resizes to fail or
otherwise behave incorrectly with GNOME 3.

8. The TurboVNC Server now ignores remote desktop resize requests from viewers
that authenticated with view-only credentials.

9. Fixed a regression introduced by 2.1 beta1\[2\] (but, for reasons
unexplained, not exposed until 2.1 beta1[4]) whereby the TurboVNC Server, when
built without TLS encryption, would sometimes segfault when a viewer
disconnected.  Oddly, this was not reproducible except on older platforms, such
as RHEL 4.

10. Fixed a regression introduced in 2.1 beta1[2] whereby the TurboVNC Server,
when built without TLS encryption, would fail to launch via the `vncserver`
script and display the following error: "Unrecognized option: -x509cert".

11. Fixed an issue with the TurboVNC Server's 3D window manager feature that
was known to affect Red Hat- and Ubuntu-compatible systems (and may have
affected others as well.)  When running `vncserver` with the `-3dwm` option,
the window manager would behave as if VirtualGL was not active (thus causing
the WM to crash, if it required OpenGL.)  The underlying cause of this was code
executed from within **/etc/X11/xinit/xinitrc** that launches the WM using
ssh-agent if the `SSH_AGENT_PID` (Red Hat) or `SSH_AUTH_SOCK` (Ubuntu)
environment variable is unset.  ssh-agent clobbers the `LD_PRELOAD` environment
variable, so in order to make it work properly with VirtualGL, vglrun has to be
launched by ssh-agent, not vice versa.

    The default `xstartup.turbovnc` script that the TurboVNC Server creates now
launches the window manager in VirtualGL and launches VirtualGL in ssh-agent if
3D window manager support is enabled and there is no existing ssh-agent
session.  Furthermore, the `-3dwm` option to `vncserver` now simply sets the
`TVNC_3DWM` environment variable to `1` rather than invoking VirtualGL
directly.  The default `xstartup.turbovnc` script launches the WM in VirtualGL
if that environment variable is set, using a second environment variable
(`TVNC_VGLRUN`, which can be overridden by the user) to specify the VirtualGL
command line.  However, users can craft their own `xstartup.turbovnc` scripts
that handle the `TVNC_3DWM` environment variable differently, if desired.

12. The default `xstartup.turbovnc` script that the TurboVNC Server creates
will now properly launch the GNOME Flashback (Metacity) window manager on
Ubuntu 16.04, if 3D window manager support is not activated.  This eliminates
the need to install MATE on that platform.

13. The default `xtartup.turbovnc` script that the TurboVNC Server creates now
contains a fix for an issue whereby Unity 7.2 on Ubuntu 14 would automatically
disable the compiz OpenGL plugin if the window manager was launched in a
broken OpenGL environment (such as if the user forgot to specify `-3dwm`.)
Symptomatically, this issue caused the menus and launcher to disappear, leaving
only a blank desktop.  When launching Unity, the `xstartup.turbovnc` script now
attempts to create an environment similar to the one created by GDM or LightDM.

    This fix also allows Unity 7.4 under Ubuntu 16.04 to run in TurboVNC, if
3D window manager support is enabled.

14. The "OracleJava" TurboVNC package is now the default Mac package, since
Oracle Java performs much better than Apple's (deprecated) Java distribution on
OS X 10.10 "Yosemite" and later.  Hence, the "OracleJava" suffix has been
removed from that package.  The "AppleJava" TurboVNC package is still provided,
but it should only be used on OS X 10.9 and earlier.

15. Fixed a regression introduced in 2.1 beta1[2] whereby Xvnc would segfault
if the `-rfbauth` argument was not specified and a viewer attempted to
authenticate using a VNC password.

16. Dead keys should now fully work when using Java 8 or later on Windows and
OS X.  They still do not work properly when using Java 6 or Linux, due to bugs
in Java.

17. Fixed two issues in the TurboVNC Viewer related to keyboard handling:

     - An issue whereby, when pressing Shift or AltGr, then pressing a
"printable" (alphanumeric or symbol) key, then releasing the keys in the same
order, the viewer would compute and send a different key symbol for the release
event than it did for the press event (because the key was no longer modified.)
This would confuse the XKEYBOARD handler in the server, which would ignore the
release event, thus causing the printable key to appear pressed from the point
of view of applications running in the TurboVNC session.
     - An issue whereby, when a key was pressed, the viewer window lost focus,
then the key was released in another window, the key would similarly continue
to appear pressed from the point of view of applications running in the
TurboVNC session.

18. Fixed a regression in the standalone Linux TurboVNC Viewer caused by
2.1 beta1[4] (remote X Input support) whereby some X Input devices other than
extended pointer devices (such as keyboards, regular mice, and webcams) were
mistakenly being cloned onto the TurboVNC Server, thus causing erratic pointer
behavior and other issues.  Some devices (even some keyboards) seem to report
that they are extended pointer devices when in fact they aren't.  The TurboVNC
Helper is now more discriminating and does not allow any X Input device whose
type Atom is "MOUSE" or "KEYBOARD", or any device with relative valuators, to
be cloned onto the server.  The server now also rejects any attempt by the
viewer to create an extended input device with relative valuators, since those
don't currently work.  Wacom tablets and other extended pointer devices with
absolute valuators should still work fine.

19. Worked around an issue in Java that was causing scrollbars to be
unnecessarily displayed in the Linux/Java TurboVNC Viewer when it was used
under GNOME 3 with automatic desktop resizing enabled.

20. The Windows TurboVNC Viewer will now pass keystrokes from Microsoft
extended keys to the VNC server when the keyboard is grabbed.

21. Fixed a regression introduced in 2.1 beta1[9] whereby the Linux TurboVNC
Viewer and the Windows Java TurboVNC Viewer would throw a NullPointerException
if the options were changed in the Options dialog prior to connecting to a VNC
server.  This issue occurred only in the standalone viewers, not when using
Java Web Start.


2.0.91 (2.1 beta2)
==================

### Significant changes relative to 2.1 beta1:

1. Fixed an issue in the Java TurboVNC Viewer whereby, when built against
libjpeg-turbo 1.5 or later, it would generate the following error: "Class not
found: org/libjpegturbo/turbojpeg/TJException" at run time and subsequently
fail to accelerate JPEG decompression.  TJException is a new class in
libjpeg-turbo 1.5, and due to an oversight, **VncViewer.jar** was not including
it.


2.0.90 (2.1 beta1)
==================

### Significant changes relative to 2.0.2:

1. The TurboVNC Server can now emulate a subset of the NV-CONTROL X11
extension, in order to support certain 3D applications that rely on this
extension to query and set low-level nVidia GPU attributes.  See the User's
Guide for more details.

2. The TurboVNC Server now provides full support for the VeNCrypt RFB
extensions, including TLS-encrypted security types.  TLS encryption is provided
by OpenSSL in the official TurboVNC binaries, but GnuTLS can be used instead
when building the TurboVNC Server from source.  Note that when using the Java
TurboVNC Viewer, you must use 2.0.1 or later when connecting to a TurboVNC 2.1
server.  Older versions of the Java TurboVNC Viewer had a bug that caused them
to lock up when connecting to a server that supports both the Tight and
VeNCrypt security extensions.

    Backward compatibility note:  because of the addition of this feature, it
was necessary to remove the `-noauth`, `-novncauth`, `-nootp`, and `-nopam`
parameters to `vncserver`, because these parameters could not be emulated
exactly using the new VeNCrypt security type selection mechanism.  Please use
the new `-securitytypes` parameter instead (see the `Xvnc` man page for more
details.)

3. TurboVNC's `vncserver` script now supports the `-autokill` option from
TigerVNC, which causes the server to be killed automatically whenever the
startup script finishes (which will usually happen as the result of logging out
of the window manager running in the TurboVNC session.)  It was possible to
accomplish the same thing in earlier versions of TurboVNC by running
`/opt/TurboVNC/bin/vncserver -fg </dev/null &`, but this is more intuitive.

4. The TurboVNC Server and the Java TurboVNC Viewer (when the latter is run in
standalone mode on Un*x/Linux machines, using the TurboVNC Helper library) now
support a remote X Input interface whereby extended pointer devices (such as
drawing tablets) on the client are cloned in the TurboVNC session, and the
events from these devices (including pressure, tilt, etc.) are passed from
viewer to server.  This was specifically designed for Wacom tablets but should
work with other extended pointer devices as well.

    Additionally, the Windows TurboVNC Viewer provides specific support for
Wacom drawing tablets by interfacing between the Wacom drivers for Windows and
the aforementioned remote X Input interface.

5. Keyboard grabbing has been implemented in the Java TurboVNC Viewer for
Windows, thus allowing special keystrokes (such as Alt-Tab) to be sent to the
server.

6. Added a new option to Xvnc (`-pamsession`) that will open a PAM session for
every viewer that authenticates using the username/password of the user who
owns the TurboVNC session and will leave that PAM session open until the viewer
disconnects.  This feature was specifically implemented in order to allow
Kerberos tickets created by PAM to be reused within the TurboVNC session, but
the feature may benefit other use cases as well.

7. Added a new parameter to the Java TurboVNC Viewer (`NoReconnect`) that can
optionally be used to revert the behavior introduced in 2.0 beta1[17].

8. The controls in the Options dialog of the Windows (native) TurboVNC Viewer
have been re-organized into two tabs ("Encoding" and "Connection"), which makes
the layout of that dialog more similar to that of the Java viewer's Options
dialog.

9. The keyboard/pointer grabbing feature can now be configured from the Options
Dialog in both the Windows and Java TurboVNC Viewers.

10. Added a `-poll` option to `tvncconfig`, which works identically to the
`-poll` option in RealVNC's (and TigerVNC's) `vncconfig` program.  This causes
`tvncconfig` to poll for changes to the clipboard at a specified interval
rather than waiting for the X server to inform it of the changes.

11. The Windows TurboVNC Viewer package now includes a console version of the
viewer (`cvncviewer.exe`), which is useful when debugging or when using the
`-via` and `-tunnel` options.  This version of the viewer is built by default
when building TurboVNC on Windows, but it can be disabled by setting the
`TVNC_WINCONSOLE` CMake variable to `0`.


2.0.2
=====

### Significant changes relative to 2.0.1:

1. The default `xstartup.turbovnc` script that the TurboVNC Server creates now
includes `unset DBUS_SESSION_BUS_ADDRESS`.  This fixes an issue whereby
starting the TurboVNC Server from within an existing GNOME 2 (verified with
GNOME 2.28.x and later) or MATE session would cause the GNOME/MATE session
running in TurboVNC to fail with an error dialog: "Could not acquire name on
session bus".

2. Fixed an issue whereby the TurboVNC Server would not properly handle Caps
Lock when using the TurboVNC Viewer on OS X.  X11 generates both a key press
and a key release event when Caps Lock is toggled, but OS X generates a key
press when Caps Lock is toggled on and a key release when it is toggled off.
This was causing the Caps Lock state to become decoupled between client and
server.  The solution was to do what TigerVNC does and ignore Caps Lock (and
other lock modifiers) on the server side, thus allowing the client to handle
Caps Lock.  If for some reason this causes problems, then the old behavior can
be recovered by setting the `TVNC_XKBIGNORELOCK` environment variable to `0`
prior to launching the TurboVNC Server.

3. Worked around an issue whereby the Java TurboVNC Viewer on Windows, when
running under Java 7 and later, would take an inordinate amount of time to
create the viewer window after connecting to a VNC server.  This slowdown was
due to a slow Win32 system call-- `DescribePixelFormat()`-- which is used in
the implementation of `GraphicsDevice.getConfigurations()` in Windows JVMs.
This system call also forces the DirectDraw DLL to be loaded, which is
unnecessary (TurboVNC explicitly disables DirectDraw blitting for performance
reasons.)

    The Java TurboVNC Viewer now automatically sets the `sun.awt.nopixfmt`
system property to `true`, which should significantly speed up the creation of
the viewer window, particularly on multi-screen clients, by avoiding the slow
`DescribePixelFormat()` system call.  This causes Java 2D to always use the
default pixel format for the display, but since the TurboVNC Viewer will always
try to use GDI blitting (as opposed to OpenGL or DirectDraw blitting), the
default pixel format should always work.  If for some reason it doesn't,
however, then the old behavior of the Java TurboVNC Viewer can be restored by
passing `-Dsun.awt.nopixfmt=0` to java or adding `-Dsun.awt.nopixfmt=0` to the
`JAVA_TOOL_OPTIONS` environment variable.

4. "Dead" keys, which are used to add accents and other diacritics to
subsequent alphabetic keystrokes, should now work properly when using the
Windows TurboVNC Viewer.  Additionally, certain AltGr-modified symbols (such as
the Euro sign on European keyboards) did not previously work with the Windows
TurboVNC Viewer.  That has been fixed.

    Furthermore, dead keys should now mostly work when using the Java TurboVNC
Viewer on Windows under Java 8 and later.  Due to irregularities in how Java
translates dead keys into events on other platforms (for instance, on OS X,
Java uses a different key code for the press and release events of a particular
dead key, and on Linux, Java only communicates release events for dead keys),
dead key support on non-Windows platforms is still incomplete.

5. Fixed an issue in the Java TurboVNC Viewer whereby the Options, Clipboard,
and Profiling dialogs were not centered relative to the viewer window.

6. Fixed an issue in the TurboVNC Server (Xvnc) whereby, when running a
compositing window manager such as Gnome 3, activity in off-screen windows
(such as a scrolling xterm being displayed in a separate workspace) could
interfere with the display of on-screen windows that occupied the same screen
area as the off-screen windows.

7. The Windows TurboVNC Viewer will now resolve localhost to the IPv4 loopback
address (127.0.0.1) by default unless the `/ipv6` option is specified.  This
makes its behavior more consistent with the Java viewer (NOTE: connecting to
localhost on a Windows machine is an unusual case, but it can occur when using
virtualization software that has a built-in VNC server.)

8. Improved the parsing of display names in both TurboVNC viewers.  In
particular, the Windows viewer now properly parses the following display name
forms:

     -  `:n`  (same as `localhost:n`)
     -  `::port`  (same as `localhost::port`)
     -  `x:x:x::x:n`  (abbreviated IPv6 address)
     -  `x:x:x::x::port`  (abbreviated IPv6 address)
     -  `x:x:x:x:x:x:x:x:n`  (full IPv6 address)
     -  `[IPv6]:n`  (IPv6 address in brackets)
     -  `[IPv6]::port`  (IPv6 address in brackets)

    Both viewers now properly parse the following display name forms:

     -  `x:x:x::x`  (abbreviated IPv6 address, same as `x:x:x::x:0`)
     -  `[IPv6]`  (IPv6 address in brackets, same as `[IPv6]:0`)

9. The Windows TurboVNC Viewer should now build with Visual C++ 2015.

10. Fixed an issue in the Java TurboVNC Viewer whereby the viewer, when using
the "server" (manual) remote desktop resizing mode, would unnecessarily display
two scrollbars if one of the remote desktop dimensions was too large for the
local display but the other dimension wasn't.


2.0.1
=====

### Significant changes relative to 2.0:

1. When using an external SSH client with the `Via` or `Tunnel` parameters, the
Java TurboVNC Viewer was not passing the SSH username to the external SSH
client, which caused SSH authentication to fail unless the remote and local
usernames were the same.  This has been fixed.

2. Fixed an issue whereby the TurboVNC X server was erroneously generating X11
MotionNotify events every time a mouse button was pressed or released,
regardless of whether the pointer had actually moved.  This caused problems
with certain applications (for instance, in GNOME Terminal, text was selected
when single-clicking on it rather than double-clicking or click-dragging on
it.)

3. The `/desktopsize server` option now works properly with the Windows
TurboVNC Viewer.

4. Fixed an issue that prevented VeNCrypt authentication from working in the
Java TurboVNC Viewer when connecting to a server that supports both the
TightVNC and VeNCrypt security extensions.

5. Improved the GUI for specifying the X.509 CA certificate and CRL in the Java
viewer, and added new command-line/applet parameters (`X509CA` and `X509CRL`)
that can be used to specify these files without using the GUI.

6. The Java viewer will now report an error if one of the security types
specified in the `SecurityTypes` parameter is invalid.  This prevents
hard-to-diagnose issues (such as authentication errors or the wrong security
type being selected) if one of the security types is misspelled.

7. The TightVNC/TurboVNC-specific "Unix Login" authentication scheme can now be
enabled/disabled by using the Java TurboVNC Viewer's `SecurityTypes` parameter,
similarly to other authentication schemes and VeNCrypt security types.
Furthermore, the `NoUnixLogin` parameter now disables the VeNCrypt *Plain
security types as well as the Unix Login security type, and the `User` and
`SendLocalUserName` parameters now disable any of the VeNCrypt security types
that don't require a username.

8. The Java TurboVNC Viewer now supports (and prefers) elliptic curve ciphers
when using the Anonymous TLS security types.  Additionally, the Java TurboVNC
Viewer now uses TLS v1.1+ by default instead of TLS v1.0.

9. Improvements to the handling of X.509 certificates in the Java TurboVNC
Viewer:

     - Fixed a NullPointerException that would occur when attempting to use one
of the X.509 security types without specifying an X.509 certificate authority
(CA) certificate.
     - If the server's certificate is signed by an unknown CA, then the viewer
will pop up a dialog that gives the user the option to trust the certificate
for future connections.
     - The viewer can now handle X.509 certificate files containing multiple
concatenated certificates.
     - The viewer now performs hostname verification using either the X.509 v3
subjectAltName (SAN) extension or, if SAN is not present, the subject CN field.

10. When entering full-screen mode or using the "Default Window Size/Position"
feature in the TurboVNC Viewer (both Java and Windows), the viewer will now use
the monitor containing the largest number of pixels from the viewer window as
the "primary" monitor, for the purposes of spanning.  Thus, if the viewer
window is mostly contained on a monitor other than the left/top one, entering
full-screen mode or setting the window to the default size/position will no
longer cause the window to jump to the left/top monitor.

    OS X Yosemite introduced an optional feature (enabled by default) called
"Spaces", whereby each monitor occupies its own independent space when in
full-screen mode (thus allowing full-screen mode to be enabled independently on
each monitor.)  Previously, when this feature was enabled, moving the TurboVNC
Viewer window to a monitor other than the left/top one and entering full-screen
mode would result in a black screen.  This bug fix allows Primary spanning to
work properly with Spaces, but note that no other spanning mode will work
properly unless the Spaces feature is disabled.

    Both viewers contain a new command-line option/parameter
(`-firstmonitorisprimary` for the Windows viewer, `CurrentMonitorIsPrimary=0`
for the Java viewer) that allows the previous behavior (always treating the
left/top monitor as the primary) to be restored.

11. The Java TurboVNC Viewer now supports the BGR555 pixel format, which is
reported to be necessary when connecting to some embedded devices.

12. The Java TurboVNC Viewer now encodes the clipboard as ISO-8859-1 when
sending it to the server, instead of UTF-8.  The RFB spec requires that the
clipboard be encoded as ISO-8859-1, so it is possible that attempting to encode
it as UTF-8 was causing problems with certain applications.

13. The TurboVNC Server now allows the maximum clipboard transfer size to be
specified, by way of a new Xvnc argument (`-maxclipboard`).  Previously the
limit was hard-coded to 1 MB.  Furthermore, the TurboVNC Server now truncates
clipboard updates larger than the max. clipboard size instead of ignoring them.

14. The Java TurboVNC Viewer now allows the maximum clipboard transfer size to
be specified, by way of a new parameter (`MaxClipboard`).  The Java TurboVNC
Viewer now also truncates any clipboard transfers greater than MaxClipboard
(which is set to 1 MB by default.)  This prevents the viewer from sending
clipboard data to the server that will ultimately be discarded.


2.0
===

### Significant changes relative to 2.0 beta1:

1. A new security configuration file directive (`no-httpd`) has been introduced
in order to disable the built-in HTTP server in the TurboVNC Server on a
system-wide basis.

2. A new security configuration file directive (`no-x11-tcp-connections`) has
been introduced in order to disable X11 TCP connections to the TurboVNC Server
on a system-wide basis.  This is the equivalent of passing `-nolisten tcp` to
every instance of the TurboVNC X server running on a particular host.

3. The Java TurboVNC Viewer now supports the `grabkeyboard`, `resizemode`,
`desktopwidth`, and `desktopheight` directives in .vnc connection info files.
These directives were added to the Windows TurboVNC Viewer in 2.0 beta but were
left out of the Java viewer due to an oversight.

4. The default `xstartup.turbovnc` script that the TurboVNC Server creates will
now launch the MATE desktop on Ubuntu 15, if it is installed and if 3D window
manager support is not activated.  The GNOME Flashback session under Ubuntu 15
cannot be made to work properly with TurboVNC, for unknown reasons, but MATE is
a better solution anyhow.

5. The drawing performance of the Java TurboVNC Viewer when running under
Oracle Java 7 and later on OS X has been dramatically improved (by 3-7x for 2D
application workloads and 35-50% for 3D application workloads.)  When running
the standalone TurboVNC Viewer, Apple Java will probably still perform better
on Macs running OS X 10.9 "Mavericks" and earlier, but on Macs running OS X
10.10 "Yosemite" and later, Oracle Java is now the fastest solution (Java 2D is
apparently not accelerated in Apple Java 6 on these more recent OS X
releases.)  See the User's Guide for more details.

6. Fixed an issue whereby pressing any of the extra buttons on mice with more
than 3 buttons (Microsoft calls these "X buttons") would cause the Java
TurboVNC Viewer to send a left button press event to the TurboVNC Server
without sending a corresponding button release event.  The Java TurboVNC Viewer
now ignores any X button events, since X11 doesn't support them.


1.2.90 (2.0 beta1)
==================

### Significant changes relative to 1.2.3:

1. The TurboVNC X server has been completely overhauled and is now based on the
unmodified Xorg 7.7 code base.  This overhaul enables support for the X
extensions needed by newer window managers (RANDR 1.2, Composite, XFIXES,
Damage, etc.)  In addition, the keyboard handler has been completely overhauled
and now uses the XKEYBOARD extension.  This fixes key mapping issues that
occurred when running TurboVNC with certain versions of GNOME (previously, it
was necessary to set an environment variable in `xstartup.turbovnc` to work
around those issues.)

2. Added the ability to dynamically resize the remote desktop, either through
the X RANDR extension on the server or remotely from a VNC viewer that supports
the RFB desktop size extensions.  Both TurboVNC viewers now also include an
"automatic desktop resize" feature that will resize the remote desktop so that
it always fits exactly in the viewer window without using scrollbars.  A new
`max-desktop-size` directive is provided in the TurboVNC security configuration
file in order to allow a maximum desktop size to be specified for all TurboVNC
sessions on a given host.

3. The X11 TurboVNC Viewer has been retired and replaced with the Java TurboVNC
Viewer.  The X11 viewer will continue to be maintained in the 1.2.x branch on a
break/fix basis only.  The Java viewer provides similar performance to the X11
viewer when remotely displaying 3D application workloads to a reasonably modern
client machine.

4. The Java TurboVNC Viewer, when run as an applet, can now be displayed to an
embedded frame in a web page rather than a dedicated window.  This restores a
feature of the TurboVNC 1.1 Java viewer that was lost in 1.2.  Full-screen mode
and scaling do not work when the viewer is run as an embedded applet.

5. `vncconnect` now uses the VNC X extension to establish a reverse connection,
rather than setting a root window property on the VNC X server.  This makes
TurboVNC's implementation of `vncconnect` compatible with RealVNC and TigerVNC
servers, and the return status of `vncconnect` now reflects whether the reverse
connection was successfully made.  `vncconnect` also now has a `-disconnect`
option, which can be used to disconnect all listening viewers.

6. Since Apple is discontinuing their distribution of Java in favor of Oracle's
(which doesn't work on Snow Leopard and earlier), we now provide two Mac
packages-- one that works with Leopard and later and uses Apple's version of
Java, and one that works with Lion and later and uses the Oracle Java plug-in.

7. When running in listen mode, the Java TurboVNC Viewer now displays a tray
icon with a popup menu similar to that of the Windows native viewer.  This
allows the listener to be shut down, for global options to be set for all
connections, and for new forward connections to be made without using the
command line or launching another viewer instance.

8. The default `xstartup.turbovnc` script that the TurboVNC Server creates will
now properly launch the GNOME fallback window manager on Ubuntu 14.04, if 3D
window manager support is not activated.

9. Interframe comparison and Compression Level 2 can now be selected in the
TurboVNC Viewer GUI.  Also, a new command-line option/parameter
(`CompatibleGUI`) can now be used to force the GUI to expose all 10 compression
levels (useful when connecting to non-TurboVNC servers.)

10. The interframe comparison feature now compares large framebuffer update
rectangles on a block-by-block basis, which prevents the entire rectangle from
being sent if only a small portion of it has changed.  The default block size
is 256x256 but can be changed using the `TVNC_ICEBLOCKSIZE` environment
variable (for instance, `TVNC_ICEBLOCKSIZE=128` would use 128x128 blocks.)

11. By default, the embedded HTTP server in the TurboVNC Server will now serve
up a JNLP (Java Web Start) file for the session instead of an applet.  You can
add `/applet` to the URL to instruct the HTTP server to serve up an applet
instead.  The official TurboVNC packages for Linux also include the native JAR
files necessary to deliver the libjpeg-turbo JNI library to Windows, Linux, and
OS X clients (when using Java Web Start.)

12. `vncconnect` can now be used to connect a TurboVNC session to an instance
of the UltraVNC Repeater in Mode II.

13. The `Via` and `Tunnel` parameters in the Java TurboVNC Viewer (which allow
specifying an SSH or UltraVNC Repeater gateway through which the VNC connection
should be tunneled) can now be configured using the Options dialog.

14. On Un*x/X11 platforms, a small JNI library (turbovnchelper) is now deployed
alongside the Java TurboVNC Viewer in order to work around full-screen mode
deficiencies in Java (specifically, under certain window managers, the taskbars
would appear on top of the full-screen window.)  Because the turbovnchelper
library depends on **libjawt.so**, it is unfortunately not easy to deploy it
using Java Web Start, so it is currently only used when the viewer is launched
as a standalone application (using the `vncviewer` script.)

15. The `NoNewConn` parameter in the Java TurboVNC Viewer will now disable the
"Close Connection" option in the F8 menu and the "Disconnect" button in the
toolbar as well (useful for web portals, particularly when using the new
embedded applet mode.)

16. On Un*x/X11 platforms, the Java TurboVNC Viewer can now grab the keyboard
when run as a standalone application.  This allows special key sequences, such
as Alt-Tab, to be sent to the server.  The pointer can also be optionally
grabbed, which allows special keyboard + pointer sequences (such as
Alt-{drag}), to be sent to the server as well.  This feature requires the
aforementioned TurboVNC Helper library.

17. The Java TurboVNC Viewer will now offer an option to reconnect if the
connection fails for any reason.

18. The Windows native TurboVNC Viewer no longer exposes the Double Buffering
option in its Options dialog.  The option was removed mainly to make room for
the Desktop Size combo box, but also, single buffering is rarely used and is
mostly a legacy feature.  Double buffering can still be disabled via the
`/singlebuffer` command-line switch or by specifying `doublebuffer=0` in a VNC
connection file.

19. **/etc/turbovncserver-auth.conf** (the "authentication configuration file")
has been renamed to **/etc/turbovncserver-security.conf** (the "security
configuration file") to reflect the fact that it allows configuration of more
than just authentication methods.


1.2.3
=====

### Significant changes relative to 1.2.2:

1. Fixed an issue whereby the Java TurboVNC Viewer would not enable the OS X
Lion full-screen mode feature on OS X 10.10 "Yosemite".

2. Fixed a regression introduced in 1.2.2 that caused a non-fatal
NullPointerException in the Java TurboVNC Viewer whenever the scaling factor
was changed in the options dialog.

3. Fixed an issue in the Java TurboVNC Viewer whereby the toolbar would
sometimes appear all black or be overwritten by the initial framebuffer update
when running under Java 7 and later.

4. Fixed an issue whereby the Java TurboVNC Viewer would unnecessarily add
scrollbars to the viewer window if the remote desktop was exactly large enough
to fit in the window without using scrollbars.

5. Fixed an issue whereby the `/grabkeyboard`, `/scale`, and `/span`
command-line parameters to the Windows TurboVNC Viewer could not be specified
in uppercase.

6. The Windows TurboVNC Viewer now supports scaling factors > 200.

7. Java 7 and later on Mac platforms no longer include a hardware-accelerated
2D blitter for Java 2D, opting instead to use only OpenGL for image drawing.
When using the default pixel format (BGRX), this is incredibly slow on some
Macs, because the OpenGL blitter is having to set all of the alpha values to
255 (opaque.)  Thus, the Java TurboVNC Viewer will now automatically use an
alpha-enabled pixel format (BGRA) for its back buffer if it detects that it is
running on a Mac with Java 7 or later (which will generally be the case when
the viewer is deployed as an applet or using Java Web Start.)  This improves
drawing performance by as much as 4-5x on certain Mac models, although the
drawing performance with Apple Java 6 is still going to be faster than with
Java 7 or later.  The Java TurboVNC Viewer will also now automatically use an
alpha-enabled pixel format on non-Mac platforms if it detects that OpenGL Java
2D blitting is being selected (normally accomplished by setting the
`sun.java2d.opengl` system property to `true`.)

    The `turbovnc.forcealpha` Java system property can be used to override the
default behavior described above (refer to User's Guide.)

8. Normally, Java 2D uses Direct3D by default for blitting (image drawing) on
Windows platforms, but GDI blitting is almost always faster (sometimes much
faster.)  Thus, the Java TurboVNC Viewer now attempts to disable Direct3D
blitting on Windows unless it is specifically requested (which can be
accomplished by setting the `sun.java2d.d3d` system property to `true`.)
Because Direct3D blitting can't be disabled programmatically under Java 6 and
earlier, the `vncviewer-java.bat` script and the Windows start menu shortcut
now pass `-Dsun.java2d.d3d=false` to java to ensure that Direct3D blitting is
always disabled when the Java TurboVNC Viewer is run as a standalone
application.

9. Improved the Tight decoding performance in the Windows TurboVNC Viewer by
5-15%.

10. Since the Java TurboVNC Viewer already has its own double buffering
mechanism, it now disables double buffering in Java 2D.  The primary advantage
of this is that MIT-SHM pixmap support is no longer required on Un*x platforms
in order to achieve optimal performance.  This also makes the viewer faster on
some systems.  On Windows, the Java viewer is now as fast as or faster than the
native viewer as a result of this change and [8].  You can set the
`turbovnc.swingdb` system property to `true` to restore the old behavior.

11. Fixed multiple issues in the Java TurboVNC Viewer related to full-screen
mode and desktop resizing and the interaction thereof.

      - When in full-screen mode, the viewer would sometimes abort with
"Destination buffer is not large enough" if the remote desktop size was
increased.
      - When in full-screen mode, the viewer would sometimes exit full-screen
mode without re-entering it if the remote desktop size was changed.  This was
particularly known to be a problem when using full-screen mode on OS X 10.7 or
later.
      - Fixed a couple of other timing-related issues (race conditions) that
could sometimes occur when resizing the window or entering/exiting full-screen
mode.  These issues would cause non-fatal exceptions or other unexpected
behavior.
      - When resizing the window to the default size, the viewer would
sometimes leave a border around the remote desktop if the remote desktop size
was less than the local desktop size.
      - The viewer window will now be automatically resized to the default
size/position whenever the span mode is changed.

12. The Java TurboVNC Viewer will no longer attempt to send a desktop resize
message to servers that don't support it.  This fixes a "Broken pipe" error
that occurred when the `-desktopsize` parameter was used when connecting to the
TurboVNC 1.2.x Server (or earlier versions.)

13. Fixed multiple issues in the Windows TurboVNC Viewer related to full-screen
mode, desktop resizing, spanning, scaling, and the interaction thereof.

     - When in full-screen mode, resizing the remote desktop sometimes produced
unexpected results, such as residual images of the old remote desktop appearing
around the borders of the new desktop.
     - The calculations for automatic spanning now take into account whether
scaling is enabled.  Previously, the decision as to whether to span the window
across one screen or multiple screens was based on the unscaled remote desktop
size.
     - When scaling is enabled, the default window position/size is now
computed correctly.  Previously, it was computed based on the unscaled remote
desktop size.
     - The viewer window will now be automatically resized to the default
size/position whenever the span mode or scaling factor is changed, or whenever
the remote desktop size changes.

14. On Un*x/X11 platforms, the Java TurboVNC Viewer will now send and set the
PRIMARY clipboard selection by default (thus enabling middle mouse button
copy/paste between the server and the client.)  This can be disabled by setting
the `turbovnc.primary` system property to `false`.

15. The Java TurboVNC Viewer can now optionally use an external SSH client when
the `ExtSSH` parameter is set to `1`.  The full SSH command line can also be
specified using the `VNC_VIA_CMD` and `VNC_TUNNEL_CMD` environment variables,
as with the native viewers.  See the TurboVNC User's Guide for more details.

16. All JAR files in the official TurboVNC packages for Linux are signed using
an official code signing certificate, to comply with applet/JWS security
requirements in Java 7u51 and later.

17. The `vncviewer-java.bat` and `vncviewer-javaw.bat` scripts, which are used
to launch the Java TurboVNC Viewer on Windows systems, did not work unless the
current directory was the TurboVNC install directory.  This has been fixed.

18. Sending Alt+{letter} key sequences to the server (for instance, to pop up
one of the menus in an application) did not work properly when using the Java
TurboVNC Viewer.  This has been fixed.


1.2.2
=====

### Significant changes relative to 1.2.1:

1. The Xvnc build system has been completely refactored and now uses CMake,
just like the rest of TurboVNC.  This makes the build somewhat more intuitive
(for instance, `make xserver` is no longer necessary when building Xvnc), and
it fixes various problems with cross-compiling.

2. Xvnc can now be built and run successfully on OS X and PowerPC platforms.

3. The default DPI of the X server has been changed to 96, to match that of
recent X.org releases and other VNC implementations.  This may make fonts
appear larger than in previous TurboVNC releases.  Passing an argument of
`-dpi 75` to `vncserver` restores the old behavior.

4. When the server is run with a depth of 8, PseudoColor visuals now work
properly (previously, the correct colormap was not always used.)  The server
now uses a PseudoColor visual as the default for depth=8, which matches the
behavior of other VNC solutions.

5. Added a security option to the Java TurboVNC Viewer that, when enabled, will
prevent the user from opening any new VNC connections from within the same
viewer instance.  In listen mode, this will further cause the viewer to exit
after the first connection is closed.

6. Added a profiling feature to the Java TurboVNC Viewer.

7. The libjpeg-turbo JNI libraries are now deployed with the Java TurboVNC
Viewer on Un*x and Windows, so it is no longer necessary to install the
libjpeg-turbo SDK on those platforms in order to get accelerated JPEG
decompression.

8. Fixed a couple of cosmetic issues with the automatic lossless refresh
feature:

     - If the source of a CopyRect operation was affected by lossy compression
(meaning that the destination of the operation will become lossy as well), then
the destination region is now ALR-eligible.  This can be overridden by
setting the environment variable `TVNC_ALRCOPYRECT` to `0`.
     - Previously, if `TVNC_ALRALL=0`, a PutImage operation would trigger an
ALR on all lossy regions of the display, even those that weren't drawn using a
PutImage operation.  This has been fixed.

9. The Mac packaging system now uses pkgbuild and productbuild rather than
PackageMaker (which is obsolete and no longer supported.)  This means that OS X
10.6 "Snow Leopard" or later must be used when packaging TurboVNC, although the
packages produced can be installed on OS X 10.5 "Leopard" or later.  OS X 10.4
"Tiger" is no longer supported.

10. Fixed various usability issues related to the display of dialogs in the
Java TurboVNC Viewer:

     - The ability to control the Options dialog with the keyboard was lost
after the first time the dialog was popped up and dismissed.
     - When running as an applet, clicking away from some of the dialogs would,
in some cases, send the dialog to the back of the window stack, making it
difficult to recover.
     - When running under Java 7 on Linux, dialogs that are not attached to a
window (including the New Connection, Authentication, and SSH dialogs) were not
showing up in the task switcher, so accidentally clicking away from one of
those dialogs would send it to the back of the window stack, and Alt-Tab could
not be used to recover it.
     - When running in full-screen mode on Linux/GNOME, popping up the Options
or Clipboard dialogs would cause the viewer to temporarily exit full-screen
mode.

11. Fixed an issue in the Java TurboVNC Viewer whereby, when running as an
applet, it would not read the applet parameters if an SSH connection error was
encountered and the applet was reloaded in the browser.

12. The `AlwaysShowConnectionDialog` parameter is now automatically disabled in
the Java TurboVNC Viewer whenever SSH tunneling is enabled.  This prevents an
issue whereby the "New TurboVNC Connection" dialog would pop up and display
"localhost:{some random port}" after SSH authentication was completed, thus
causing confusion.

13. The Java TurboVNC Viewer was not displaying dialogs from its built-in SSH
client, which caused the SSH client to fail if the host was not in the known
hosts file.  This has been fixed.

14. If the TurboVNC Server receives a clipboard update larger than 1 MB from a
connected viewer, it will now ignore the update instead of disconnecting the
viewer.

15. The Java TurboVNC Viewer can now be used to connect to UltraVNC Repeater
instances.  Refer to the documentation for the `Via` parameter for more
details.

16. Fixed an issue in the Java TurboVNC Viewer whereby, if a connection was
established using SSH tunneling and another connection was then opened, the
viewer would fail to exit after all of these connections were subsequently
closed.

17. Fixed an issue in the `vncserver` script whereby the TurboVNC Server would
give an "Unrecognized option" error and fail to launch if the server was built
without the optional Java viewer.

18. Fixed a regression in the "automatic" spanning mode of the Windows TurboVNC
Viewer introduced in TurboVNC 1.2.  Ever since that release, "automatic"
spanning mode has been behaving just like "primary" mode.

19. Fixed a segfault in Xvnc that would occur whenever a viewer that was using
ZRLE encoding disconnected.

20. The following improvements have been made to The TurboVNC Server init
script:

      - The script now looks for the **tvncservers** file under
`@TVNC_CONFDIR@/sysconfig` (where `@TVNC_CONFDIR@` is the directory specified
in the `TVNC_CONFDIR` CMake variable) in addition to under **/etc/sysconfig**.
This allows the script to work properly when installed in an arbitrary
directory.
      - When invoked with the `start` argument, the script now attempts to
start only those TurboVNC sessions specified in the **tvncservers** file that
have not yet been started.  If all sessions in the **tvncservers** file have
been started, then the script does nothing.  To be consistent with other init
scripts, a success message is not printed/logged unless one or more TurboVNC
sessions is actually started successfully, and a failure message is not
printed/logged unless one or more TurboVNC sessions fails to start.
      - When invoked with the `start` argument, the script will no longer abort
if a TurboVNC session fails to start.  It will attempt to start the other
sessions.
      - When invoked with the `reload` argument, the script will now stop any
running TurboVNC sessions not specified in the **tvncservers** file and start
any sessions specified in the **tvncservers** file that aren't running.
      - Fixed a bug whereby, if an error occurred when starting a TurboVNC
session, the error was not properly logged to the system error log.
      - The script should now work on Red Hat Enterprise/CentOS 7 and recent
Fedora releases.

21. The `restricted`, `nounixlogin`, and `user` options in the Windows TurboVNC
Viewer are no longer persistent from one session to the next.  Because those
options can only be specified on the command line or in a connection info file,
automatically restoring their previous values for subsequent connections to the
same host and display number led to confusing behavior.  The viewer would apply
the previous value of the option, thus changing the viewer's behavior, but
there was no way to visually confirm why the behavior had been changed or to
change it back (unless you knew the corresponding command-line counter-curse,
but `restricted` actually didn't have one.  Oops.)  The `encoding` and `8bit`
options have been non-persistent for quite some time, for this same reason.


1.2.1
=====

### Significant changes relative to 1.2:

1. Fixed two regressions introduced in TurboVNC 1.0, one of which prevented
older (RFB <= 3.3) VNC viewers from connecting successfully to the TurboVNC
Server and the other of which prevented viewers other than TurboVNC and
TightVNC from connecting to the TurboVNC Server using no authentication.

2. Added a new parameter (`EncPassword`) to the Java TurboVNC Viewer that
allows the password to be specified in encrypted ASCII hex.

3. The toolbar buttons in the Java TurboVNC Viewer that send keystrokes are now
disabled when view-only mode is selected.

4. Enabled the MIT-SCREEN-SAVER X extension in the TurboVNC Server.  Modern
screen savers don't actually use this extension, but it provides an easy way
for applications to query the idle time of the X server.

5. Fixed a regression introduced in 1.2 beta1 whereby the TurboVNC Viewer
desktop shortcut installed with the Linux RPM did not work properly.

6. Fixed a bug in the Java TurboVNC Viewer's RRE decoder that was causing
pixels to be displayed incorrectly.

7. Pressing F8 (or the chosen menu key) twice in the Java TurboVNC Viewer now
sends that keystroke to the VNC server.  This emulates the behavior of the X11
viewer.

8. Added an option to `vncserver` that allows the output of Xvnc to be
redirected to an arbitrary file.

9. Implemented the X RANDR extension in the TurboVNC Server.  The main purpose
of this at the moment is to placate applications that check for the extension
and refuse to start without it.  The extension currently can't be used to
change the screen size (that feature will be in TurboVNC 2.0.)

10. Fixed an issue in the Java TurboVNC Viewer whereby, when a mouse button was
pressed, pressing another button or activating the scroll wheel would cause the
viewer to send a release event for the first button.

11. Fixed an issue whereby the X11 TurboVNC Viewer would fail to authenticate
if the encrypted password stored in the connection info file started with "00".

12. Fixed an invalid memory access that occurred in the TurboVNC Server after a
viewer disconnected.  This had the visible effect of causing an error
("Could not disable TCP corking: Bad file descriptor") to be printed to the
TurboVNC Server's log, but it was not known to cause any other issues.

13. Fixed an issue that prevented clipboard transfer from working properly with
applications that request the clipboard selection in a non-ASCII format.  This
was specifically known to affect `rxvt-unicode`.

14. The Windows TurboVNC Viewer should now build properly with Visual Studio
2012.

15. The "Uninstall TurboVNC" app should once again work on OS X 10.5.

16. Added two new command-line options to PuTTY, `-L4` and `-L6`.  These work
just like `-L`, except that `-L4` forces PuTTY to use an IPv4 interface for the
client side of the SSH tunnel, and `-L6` forces PuTTY to use an IPv6 interface
for the client side of the SSH tunnel.

17. Worked around an issue whereby the Java/Mac TurboVNC Viewer would abort
with "InStream max string length exceeded" when connecting to recent versions
of the RealVNC Server.  This was due to a protocol conflict.  Apparently,
RealVNC uses pseudo-encoding number -311 for their CursorWithAlpha extension,
but TigerVNC uses -311 for ClientRedirect.  At least for now, ClientRedirect
has been disabled in the Java TurboVNC Viewer by default, but there is a new
hidden parameter (`ClientRedirect`) that can be set to `1` to re-enable it.

18. Due to an oversight, the 3-button mouse emulation feature in the Windows
TurboVNC Viewer was being enabled by default.  This has been fixed.  3-button
mouse emulation is largely unnecessary with modern systems, and the feature is
known to cause issues with certain applications.


1.2
===

### Significant changes relative to 1.2 beta1:

1. The Mac TurboVNC Viewer no longer has a separate menu for the "About" and
"Preferences" options.  As is the case with most Mac applications, these
options are now accessed from the application menu.

2. Opening VNC viewer connection info (.vnc) files in the OS X Finder or
dragging and dropping them onto the Mac TurboVNC Viewer icon now works
properly.  Additionally, if a connection is already open, dragging and dropping
a .vnc file onto the Mac TurboVNC Viewer icon will now open a new connection.

3. VNC viewer connection info (.vnc) files can now be opened in Windows by
dragging and dropping them onto the Windows TurboVNC Viewer icon.

4. The Java TurboVNC Viewer can now be built and run with Java 5.
Consequently, the Mac TurboVNC Viewer now works with the version of Java
shipped with OS X 10.4 and 10.5.

5. Previously, when using the Java TurboVNC Viewer on Mac platforms, the menu
bar was still visible in full-screen mode, and the dock was still visible if it
was not set to auto-hide.  The Java/Mac TurboVNC Viewer now takes advantage of
the OS X Lion full-screen feature, if available, to provide a "true"
full-screen mode on OS X 10.7 and later.  On OS X 10.6 and earlier, the
behavior is unchanged.

6. Fixed a regression in the new Java TurboVNC Viewer whereby, when used as an
applet, specifying a host other than the web server in the `Server` parameter
had no effect.

7. Fixed various key mapping issues in the Java TurboVNC Viewer:

     - The viewer now differentiates between the numeric keypad versions of the
navigation keys (Home, End, etc.) and their equivalents on the main keyboard.
     - The viewer now differentiates between the left and right versions of the
modifier keys (Alt, Ctrl, etc.)
     - The viewer now properly handles the AltGr key on international
keyboards.
     - Left Alt key sequences on Mac clients can now be used to activate
pull-down menus on Linux/Windows servers.
     - The Apple keys on Macintosh keyboards can now be used as Windows keys
when connecting to Linux and Windows servers.

8. The Windows TurboVNC Viewer now properly differentiates between the numeric
keypad versions of the navigation keys (Home, End, etc.) and their equivalents
on the main keyboard.

9. Fixed a minor issue in the Windows TurboVNC Viewer whereby it would trigger
an Alt keypress on the remote desktop whenever an AltGr key symbol was typed
repeatedly.

10. Added LSB headers to the TurboVNC Server init.d script (`tvncserver`) in
order to avoid insserv errors/warnings with recent Debian releases.

11. The TurboVNC Server can now build its font path from a font catalogue, on
systems that support them (such as RHEL 6.)  `vncserver` will now check for the
existence of a font catalogue at **/etc/X11/fontpath.d** and use it if it
exists.  For systems that do not support font catalogues, `vncserver` will now
check for the existence of the Liberation fonts (used by LibreOffice) and the
Ghostscript fonts and add them to the fontpath.

12. Fixed an error that occurred when running `/etc/init.d/tvncserver stop`
with an empty **/etc/sysconfig/tvncservers** file.

13. Fixed an issue whereby the X11 TurboVNC Viewer would fail with an error
message of "Password stored in connection info file is invalid" when loading a
connection info file in which the encrypted password contained "00".

14. Fixed an issue with the multi-monitor spanning feature in the Mac/Java
TurboVNC Viewer whereby the remote desktop would appear on the secondary
monitor instead of the primary monitor when the span mode was set to "Primary"
(or when the span mode was set to "Auto" and the remote desktop area was less
than the primary monitor area.)

15. Fixed Xvnc build errors on Solaris and FreeBSD.

16. The X11 TurboVNC Viewer will now temporarily ungrab the keyboard if the
viewer window loses focus while the keyboard is grabbed (when not in
full-screen mode, this can happen if the user clicks on another window, or if a
notification dialog from the window manager pops up.)

17. Fixed TurboVNC Server build issues that occurred under Ubuntu 13.04 (and
possibly other new Linux distros.)

18. The default `xstartup.turbovnc` script that the TurboVNC Server creates
will now use the GNOME fallback window manager on Ubuntu 12.10 and later,
assuming that the **gnome-session-fallback** package is installed.  TurboVNC
cannot use Unity 3D (yet), and Unity 2D was removed in Ubuntu 12.10 and later.

19. Fixed a segfault that occurred when starting the TurboVNC Server on Ubuntu
13.04 and Fedora 18 (and possibly other new Linux distros.)

20. The X11 TurboVNC Viewer will now automatically release the modifier keys if
the viewer window loses focus.  This fixes an issue whereby using Alt-Tab to
switch windows would leave the Alt key in a pressed state on the server.

21. The Java TurboVNC Viewer was ignoring the `PORT` parameter when SSH
tunneling was enabled.  This has been fixed.

22. Fixed an issue whereby the Java TurboVNC Viewer window would not close if
the server disconnected and the viewer was either running in listen mode or it
had more than one connection open.

23. Since there is no way to see the console output in a Java Web Start
environment or when starting the Java TurboVNC Viewer from an icon, it is
difficult or impossible in such cases to debug errors that are only displayed
to the console.  Thus, the Java TurboVNC Viewer now displays all errors both to
the console and in an error dialog.

24. Fixed an issue in the Java TurboVNC Viewer whereby pressing Alt-Tab would
change the keyboard focus to another window but would not bring the other
window to the top.  This was originally a feature, not a bug, and was meant to
be a stopgap substitute for a proper keyboard grabbing feature, but the
behavior causes confusion and does not achieve the primary goal that a keyboard
grabber should achieve (sending special keystrokes to the server.)

25. Fixed an issue in the TurboVNC Server whereby the value of `$desktopName`
was being ignored if it was present in the TurboVNC config file.



1.1.90 (1.2 beta1)
==================

### Significant changes relative to 1.1:

1. Modified the default `xstartup.turbovnc` script so that it loads the 2D
rather than the 3D version of the window manager on recent Ubuntu systems.
This specifically fixes an issue whereby the Unity window manager in Ubuntu
12.04 would not display its menus.

2. Added a command-line switch (`-norender`) to Xvnc that can be used to
disable the X RENDER extension.

3. Added a command-line option (`-xstartup`) to `vncserver` that allows a
custom startup script to be specified.  This is useful along with the `-fg`
switch, because it allows a full-screen application to be launched without a
window manager and causes the TurboVNC session to terminate when the
application exits.

4. The Java TurboVNC Viewer has been completely rewritten and now supports most
of the features of the TurboVNC native viewers, as well as all of the features
of, and a rich GUI inspired by, the TigerVNC 1.2 Java viewer.  In addition, the
new Java TurboVNC Viewer has the ability to use libjpeg-turbo via JNI to
decompress JPEG images, giving it levels of performance approaching the native
viewers.  It also has an embedded SSH client and fully-integrated support for
SSH tunneling.  The new Java viewer now replaces the X11 TurboVNC Viewer on Mac
systems, since it has higher overall performance on that platform (due to
performance limitations of XQuartz) and much better usability.

5. IPv6 support

6. Implemented v0.10 of the X RENDER extension, to address compatibility
problems with newer applications that assumed v0.10 functionality was available
without checking for it.

7. Overhauled the build and packaging system.  All platforms now use CMake, and
the Java code can be built either as part of a Unix or Windows build or as a
stand-alone project.

8. Renamed the resource file for the X11 TurboVNC Viewer to **Tvncviewer** to
avoid conflicts with TightVNC.  This specifically fixes an issue whereby the
TurboVNC Viewer would display its menus and titlebar incorrectly when running
on a system that had the TightVNC Viewer installed.

9. The Windows TurboVNC Viewer now accepts a scaling factor of `fixedratio`
when using the `/scale` switch on the command line.  This was previously called
"Auto" in the GUI, but the name was changed to match the Java TurboVNC Viewer.

10. All default options in the X11 TurboVNC Viewer now have a command-line
equivalent, which is useful in case the defaults are overridden using a
resource file.

11. Added a keyboard grabbing feature to the Windows TurboVNC Viewer so that it
can optionally send special keystrokes (Alt-Tab, Ctrl-Esc, Menu key, etc.) to
the VNC server.  The default behavior of this option is to enable grabbing only
in full-screen mode (as the X11 TurboVNC Viewer already did), but a
command-line option (`-grabkeyboard`) can be used to configure keyboard
grabbing to be always on or always off.  Additionally, grabbing can always be
turned on/off by pressing CTRL-ALT-SHIFT-G.  The X11 TurboVNC Viewer has been
extended to support the same functionality.

12. Where possible, the naming of command-line options, resources, menu
options, and parameters has been reconciled among the Windows, X11, and Java
TurboVNC Viewers.

13. The multi-screen window spanning feature in the Windows TurboVNC Viewer
should now behave properly when fixed-ratio scaling is used.

14. Fixed a logic error in the "automatic" spanning mode of the Windows
TurboVNC Viewer, whereby it would try to extend the remote desktop window
horizontally across multiple screens if the remote desktop height was taller
than the local screen but the width was the same.

15. The Windows TurboVNC Viewer will now return a non-zero exit status if it
encounters an error.  This allows batch scripts to start the viewer with
`start /wait` and check its exit status.

16. The `/password` option in the Windows TurboVNC Viewer should now work
again.

17. Fixed an intermittent failure with the idle timeout feature in the TurboVNC
Server.  This failure was caused by the fact that the X server used a 32-bit
value to store the number of milliseconds since 1970, and this value was
wrapping around to 0 every 49 days.  If a TurboVNC session was started near the
end of one of these 49-day cycles and the idle timeout was set for several days
into the future, the expiration value for the timer would wrap around and
become lower than the current time, thus causing the TurboVNC Server to exit.

18. Worked around a bug in the version of TigerVNC Server that ships with Red
Hat/CentOS 6, whereby dragging links from Firefox (running on the remote
desktop) to the remote desktop would cause the X11 TurboVNC Viewer to crash.

19. Added support for the RFB flow control extensions developed by the TigerVNC
Project.  Clients that support these extensions (including TurboVNC 1.2 and
later and TigerVNC 1.2 and later) can receive updates from the server without
having to explicitly request them, which improves performance on high-latency
networks.

20. The titlebar of all flavors of the TurboVNC Viewer now displays the last
encoding received from the server rather than the requested encoding.  This is
useful when connecting to RealVNC and other servers that do not support Tight
encoding.

21. Implemented an interframe comparison feature in the TurboVNC Server, which
prevents duplicate framebuffer updates from being sent as a result of an
application drawing the same thing over and over again.  Interframe comparison
will normally be enabled when Compression Level 5 or above is requested by a
VNC viewer, but you can also enable/disable it manually by passing command-line
arguments to Xvnc.

22. Added experimental (and currently undocumented) support for the `-via` and
`-tunnel` command-line options to the Windows TurboVNC Viewer.  These work the
same way as the equivalent options in the X11 TurboVNC Viewer.  Currently, they
require Cygwin SSH, since PLink does not have the ability to detach its process
after authentication.


1.1
===

### Significant changes relative to 1.1 beta1:

1. Improved the behavior of the automatic lossless refresh feature so that it
doesn't send an ALR for screen regions that were sent using JPEG but then
re-sent using a lossless subencoding (such as color index) prior to the ALR
being triggered.

2. Previously, empty cursors were not encoded correctly by the TurboVNC Server,
and this caused some VNC viewers (notably, TigerVNC) to render a system default
cursor instead of the empty cursor.  This has been fixed.

3. Fixed the rendering of empty cursors in the X11 TurboVNC Viewer.  This also
fixed an issue whereby the viewer would crash when opening recent versions of
xterm in the TurboVNC session.

4. Fixed a crash
(`xcb_io.c:507: _XReply: Assertion '!dpy->xcb->reply_data' failed`) that
occurred when running recent versions of twm in a TurboVNC session.  Fixing
this also fixed an issue in openSUSE 12 whereby Xvnc would abort with
"could not open default font 'fixed'".

5. The Windows TurboVNC Viewer will now properly switch into/out of full-screen
mode whenever the "Full-screen mode" check box is selected or de-selected in
the TurboVNC Viewer Options dialog and a connection is active.

6. Fixed an issue whereby the Windows TurboVNC Viewer window would remain on
top of other windows and dialogs (including dialogs raised by the TurboVNC
Viewer itself) when exiting full-screen mode.

7. Beginning with 1.1 beta1, whenever the Windows TurboVNC Viewer left
full-screen mode, it would set the window size and position to default values.
It now restores the window's size and position to the values they had before
the viewer was placed in full-screen mode.  An option has been added to the
system menu to manually resize and reposition the window to default values
(taking into account the spanning option.)

8. Added Ctrl-Alt-Shift-F and Ctrl-Alt-Shift-R hotkeys to the X11 TurboVNC
Viewer to toggle full-screen mode and request a refresh (respectively.)  These
emulate the behavior of the Windows TurboVNC Viewer.

9. Fixed several invalid reads/writes reported by valgrind.  These occurred
under certain circumstances when a Tight-compatible viewer disconnected from a
TurboVNC session, and the issues were known to cause one rare segfault when
disconnecting from a TurboVNC session that had multithreading and ALR enabled.

10. Fixed an issue whereby selecting text in xterm would sometimes cause the
Windows TurboVNC Viewer to abort with "Failed to open clipboard."

11. Fixed an issue whereby clipboard changes were being immediately sent back
to the viewer as soon as they were received by the server.  This specifically
caused copy/paste operations in some Windows applications to behave
incorrectly, since the clipboard contents were being converted from Unicode to
ASCII when they were bounced back.



1.0.90 (1.1 beta1)
==================

### Significant changes relative to 1.0.2:

1. `autocutsel` has been replaced with a more robust and configurable clipboard
transfer mechanism based on the VNC X11 extension and the `vncconfig` utility
used by RealVNC.

2. The Unix TurboVNC Server now implements the X RENDER extension, which
enables font anti-aliasing and animated cursors and fixes various issues with
KDE 4.  Additionally, the server now embeds the FreeType library for improved
font display and compatibility.

3. Replaced the broken "software cursor" implementation of rich (full-color)
cursor rendering in the X11 TurboVNC Viewer with a proper implementation that
uses the Xcursor library.  This specifically fixes pointer issues that occurred
when connecting to the Unix TigerVNC 1.2 Server.

4. The Unix TurboVNC Server now implements rich (full-color) cursor encoding,
so viewers that support this RFB extension (including TigerVNC 1.2 and later
and TurboVNC 1.1 and later) can display full-color animated cursors when
connecting to the TurboVNC Server.

5. Enhanced the screen scaling feature in the Java TurboVNC Viewer and added a
GUI option to control it.

6. Added an idle timeout feature to the Unix TurboVNC Server which, when
enabled, will cause it to exit automatically whenever a certain number of
seconds have elapsed since the last active VNC viewer connection.

7. Added a `-noxstartup` option to `vncserver`, which prevents it from
executing the `xstartup.turbovnc` script.  This is useful for those who may
want to occasionally run TurboVNC without a window manager.

8. Fixed image corruption that occurred when using the Lossless Tight or
Lossless Tight + Zlib protocols with the X11 TurboVNC Viewer running on a
16-bit-per-pixel X server.

9. Fixed TurboVNC Server build on ARM-based Linux systems

10. Added Xvnc command-line options and authentication configuration file
directives for disabling clipboard transfer.

11. Added two options (`-alrqual` and `-alrsamp`) to Xvnc that allow for
sending automatic lossless refreshes using JPEG rather than mathematically
lossless images.

12. Fixed an issue whereby the Windows TurboVNC Viewer, when running on Windows
7, would display an all-white image on one of the monitors in a multi-monitor
configuration the first time the viewer was switched to full-screen mode.

13. Changed the default full-screen behavior in the Windows TurboVNC Viewer
such that the window only spans multiple monitors if the remote desktop will
not fit on a single monitor.  Added options to the command line, GUI, and .vnc
file to allow users to override this behavior and force full-screen windows to
always occupy one monitor or all monitors.

14. Fixed numerous issues with full-screen mode in the X11 TurboVNC Viewer.

15. Implemented `-autopass` option in the Windows TurboVNC Viewer, which works
the same as the equivalent option in the X11 TurboVNC Viewer.  In both viewers,
`-autopass` can now be used with Unix Login Authentication as well.

16. Added an option to the F8 menu in the X11 TurboVNC Viewer that allows
view-only mode to be enabled/disabled on an active VNC connection.

17. The TurboVNC Server should now build and run properly on FreeBSD.

18. Added ZRLE encoding to the Unix TurboVNC Server, which may improve
performance with the RealVNC Viewer under certain circumstances.

19. The Windows TurboVNC Server (WinVNC) is no longer provided, as it was badly
broken, and the only way to fix it would have involved a complete
re-architecture.

20. The TurboVNC Server now includes a non-functional implementation of the X
Input extension, primarily to avoid crashes in recent versions of GNOME that
aren't smart enough to check for that extension's existence before using it.

21. Implemented an authentication plugin mechanism for the Java TurboVNC
Viewer, which allows sites to write their own external class for obtaining Unix
login authentication credentials.

22. Although there were no known issues with the implementation of the
automatic lossless refresh feature in TurboVNC 1.0.x, the feature was
re-implemented without the use of threads, in order to make it easier to
maintain.


1.0.2
=====

### Significant changes relative to 1.0.1:

1. Fixed segfault in the Unix TurboVNC Server which occurred under certain rare
circumstances when disconnecting a viewer from a server that was using
multi-threaded compression.

2. If the user overrides the location of the password file (by passing
`-rfbauth {file}` to `vncserver`), then `vncserver` will no longer prompt the
user to create a new VNC password if **~/.vnc/passwd** does not exist.

3. Fixed segfault in the Unix TurboVNC Server which occurred under certain rare
circumstances when shutting down a server that was using multi-threaded
compression.

4. Fixed an issue in the Java TurboVNC Viewer whereby it was sending spurious
KeyPress/KeyRelease events in conjunction with certain mouse events.

5. Numerous build system changes, including the use of CMake for Windows builds
and support for out-of-tree Xvnc builds.

6. Added a `-config` option to the X11 TurboVNC Viewer which allows it to read
.vnc connection info files saved by the Windows TurboVNC Viewer.


1.0.1
=====

### Significant changes relative to 1.0:

1. Fixed segfault in the Unix TurboVNC Server which occurred in the
`miRegionDestroy()` function under certain rare circumstances.

2. Fixed segfault in the Unix TurboVNC Server which occurred in the
`cfb32ClippedLineCopy()` function under certain rare circumstances.

3. `vncserver` arguments can now be specified in the
**/etc/sysconfig/tvncservers** file using an array called `VNCSERVERARGS`.
This works the same as in RealVNC 4.

4. The `-via` option in the X11 TurboVNC Viewer now uses ephemeral ports to
bind the client side of the SSH tunnel.  This should prevent port conflicts
that could occur when multiple `vncviewer` instances tried to use the `-via`
option simultaneously.


1.0
===

### Significant changes relative to 1.0 beta1:

1. The Windows TurboVNC Viewer should now work properly with displays that use
a 24-bit (as opposed to a 32-bit) pixel format (this includes Remote Desktop
and Citrix sessions.)

2. Eliminated the use of the dangerous `alloca()` (stack-based allocation)
function in Xvnc and replaced it with heap-based allocation (`malloc()` and
`free()`.)

3. Eliminated a segfault in `pthread_join()` which would occur under certain
circumstances when using multithreading in the TurboVNC Server.

4. To maintain consistency with other versions of VNC, added `-nohttpd` option
to `vncserver` as an alias for `-nohttp`.

5. Fixed an issue whereby certain applications which draw hundreds of thousands
of tiny lines or points on the screen would cause the TurboVNC Viewer to abort
with an "unhandled message type" error or would cause the viewer to freeze for
several minutes.

6. Fixed a security loophole whereby RealVNC viewers were able to connect with
a blank password if PAM and OTP authentication were enabled on the TurboVNC
Server and the OTP was not set.


0.6.90 (1.0 beta1)
==================

### Significant changes relative to 0.6:

1. Multi-threaded the Tight encoder in the Unix/Linux TurboVNC Server so that
it can take advantage of multi-core systems.  See documentation for further
details.

2. Added authentication extensions which allow viewers to authenticate using
one-time passwords and Unix login credentials.  See documentation and man pages
for details.

3. Added scroll wheel support to the Java TurboVNC viewer (requires JRE 1.4 or
later.)

4. Added automatic lossless refresh (ALR) feature, which sends a mathematically
lossless copy of the screen during periods of inactivity.  See documentation
for details.

5. For Linux, Mac/Intel, Solaris/x86, and Windows systems, the default build of
TurboVNC no longer uses TurboJPEG/IPP (which was based on the proprietary Intel
Performance Primitives) or Sun mediaLib.  Instead, TurboVNC now uses
libjpeg-turbo, a fully open source vector-accelerated JPEG codec developed in
conjunction with the TigerVNC Project (and based on libjpeg/SIMD.)

    As a result of this, the TurboVNC RPMs and DEBs are now self-contained.

6. The `uninstall` script in the Mac distribution package should now work on OS
X 10.6.

7. Added 64-bit Solaris and Windows binary packages, as well as a universal
32/64-bit binary package for OS X.

8. Fixed a number of interaction issues between **turbovncserver.conf** and the
`vncserver` script, and added configuration file options for the new TurboVNC
features, such as ALR.

9. Performance of the OS X viewer should generally be better (prior versions
were not being built with compiler optimizations, due to the use of the
antiquated imake build system.)

10. Generally robustified `vncserver -kill`.  In this release, if Xvnc aborts
unexpectedly for any reason, then attempting to run `vncserver -kill :N` for
the session will print a warning message about the process aborting and will
then try to clean up the orphaned X socket files.  If Xvnc deadlocks, then
attempting to run `vncserver -kill :N` will warn about the deadlock and forego
deleting the PID file (so you can `kill -9` the process yourself and then
re-run `vncserver -kill` to clean up the orphaned files.)

11. Integrated `autocutsel` into the TurboVNC Server distribution for
Unix/Linux in order to work around issues with the clipboard transfer feature.

12. In the Windows TurboVNC Viewer, full-screen mode will now span all monitors
in a multi-monitor configuration, not just the primary monitor.

13. Added automatic clipboard transfer to the Java TurboVNC Viewer.

14. Removed the warning dialog in the Windows viewer if full screen mode is
activated via a hotkey (the reasoning being that if the user knows the hotkey
to activate full screen mode, then they know how to deactivate it as well.)

15. Fixed an issue whereby the TurboVNC Server would crash when a VirtualGL
window was resized to larger than 2.75 megapixels.

16. Added double buffering option to Java TurboVNC Viewer.

17. "Login again" button now works when running the Java TurboVNC Viewer as a
standalone application.

18. Fix a couple of potential buffer overruns in Xvnc's embedded HTTP server.


0.6
===

### Significant changes relative to 0.5.1:

1. Integrated TightVNC 1.3.10 enhancements and fixes, including 64-bit support
for Linux and Solaris.  See the TightVNC Change Log (**WhatsNew** or
**WhatsNew.txt**) for more details.

2. When connecting a TigerVNC or TightVNC Viewer to a TurboVNC server, the
TurboVNC server will now translate JPEG quality levels into actual JPEG quality
and subsampling using the same translation table used by the TigerVNC Server.
See the TurboVNC User's Guide for more details.

3. Created the TurboVNC User's Guide, which mostly consists of the TurboVNC
chapters that were formerly in the VirtualGL User's Guide.

4. Fixed an issue on OpenSolaris whereby a TurboVNC session would start but
would display a blank X Windows screen with no window manager.  This was due to
the `vncserver` script passing an argument of `-nolisten local` to Xvnc on all
Sun platforms, and this doesn't work on OpenSolaris.  The `-nolisten local`
option was necessary to get Xvnc to work on earlier versions of Solaris, but it
is no longer necessary with Solaris 10.  If you are running TurboVNC on an
older Solaris release, then you can pass `-nolisten local` to
`/opt/TurboVNC/bin/vncserver` to get back the behavior of TurboVNC 0.5.x (or
uncomment that line in the `vncserver` script.)


0.5.1
=====

### Significant changes relative to 0.5:

1. Fixed a buffer overrun issue in TurboJPEG/mediaLib that may have caused
problems on Solaris/x86 TurboVNC hosts.

2. Developed a proper uninstaller app for the Mac OS X TurboVNC package.

3. Modified `MAXINST` variable in **SUNWtvnc** Solaris package to prevent
multiple instances of this package from being installed simultaneously.


0.5
===

This release was historically part of the Sun Shared Visualization v1.1.1
product.

### Significant changes relative to 0.4:

1. The Windows TurboVNC Server now works properly (albeit more slowly) when the
host's graphics card is configured for a 16-bit pixel depth.

2. 0.4[12] was supposed to allow `vncserver` to work even if `xauth` was not in
the `PATH`, but unfortunately there was a bug in that patch.  This bug has been
fixed, so `vncserver` should now really work if `xauth` is not in the `PATH`.

3. It was discovered that pure JPEG encoding was not the most efficient method
of compression for all 3D image workloads.  Particularly, CAD applications and
other types of applications that generate images with sharp edges and reduced
color palettes compress much better with traditional Tight encoding.  However,
traditional Tight encoding is too slow to stream real-time full-screen 3D
images.  Thus, a hybrid scheme was developed which uses the fastest elements of
Tight encoding with minimal Zlib compression for low-color-depth image tiles
and continues to use TurboJPEG for high-color-depth image tiles.  The resulting
compression scheme should be both tighter and faster than the pure TurboJPEG
protocol used by previous versions of TurboVNC.

4. The Unix TurboVNC Server now executes `~/.vnc/xstartup.turbovnc` instead of
`~/.vnc/xstartup`.  This is to avoid conflicts with other VNC flavors.

5. Shift-Click and Control-Click now work properly when using the X11 TurboVNC
Viewer.

6. Further optimized the Huffman encoder in the mediaLib implementation of
TurboJPEG.  This should decrease the CPU usage when running TurboVNC on Solaris
hosts, particularly Solaris/x86 hosts.

7. When running in OpenSolaris, the default `xstartup.turbovnc` file did not
launch JDS, since the JDS launch script is in a different location on that
platform.  This resulted in a TurboVNC session that had no window manager.
This has been fixed.

8. Increased TCP send buffer size to 64k in the Windows TurboVNC Server.  This
should improve performance significantly.

9. Generally improved compatibility with TightVNC and RealVNC.  This included
adding back in the Hextile decoder to the TurboVNC Viewer and adding back in
support for 8-bit and 16-bit color depths (in both the viewer and the server.)
See the TurboVNC Compatibility Guide for more information.

10. Changed default pixel format for Solaris TurboVNC sessions to ARGB/BGRA.
This should improve performance by a bit on SPARC hosts.

11. Added 200% scaling option to the Windows TurboVNC Viewer GUI.

12. The TurboVNC server script now tries to figure out an appropriate font path
for the system rather than using the X Font Server, since xfs is not
universally available.  If the script fails to figure out an appropriate font
path, then it will fall back to using xfs.

13. Changed the scrollbar behavior in the X11 TurboVNC Viewer to more closely
match that of "modern" windowing systems, in which the left mouse button is
used to scroll in both directions.

14. Fixed an issue whereby GNOME would fail to start on SuSE 10 TurboVNC hosts
if CSh was the default shell.  The issue was that **/opt/gnome/bin** was not
being added to the `PATH` by `/etc/csh.cshrc`.  This was worked around by
adding it to the `PATH` in `~/.vnc/xstartup.turbovnc`.

15. On Solaris machines, the TurboVNC Server will attempt to load the window
manager startup script specified in **~/.dt/sessions/lastsession**.  This
caused problems if the home directory was shared among multiple machines and
the startup script did not exist on some of the machines (for instance, if the
user's default windowing environment was JDS but they attempted to start
TurboVNC on an older Solaris machine that had only CDE.)  This has been fixed
by adding a line to `xstartup.turbovnc` which checks to make sure that the
script specified in **~/.dt/sessions/lastsession** exists and is executable
before executing it.

16. Fixed a bug in the color conversion routines of TurboJPEG/mediaLib which
caused the Solaris TurboVNC Viewer to display spurious multi-colored vertical
lines when 2X or 4X subsampling was used.

17. When requesting a Lossless Refresh using the TurboVNC Viewer on a Linux or
Solaris/x86 client, the pixels obscured by the F8 dialog will be regenerated
using lossy compression after the lossless refresh has occurred.  This makes
the lossless refresh somewhat ineffective.  We were not able to find a fix for
this in 0.5, but as a workaround, you can now use the hotkey sequence
CTRL-ALT-SHIFT-L to request a Lossless Refresh without popping up the F8
dialog.


0.4
===

This release was historically part of the Sun Shared Visualization v1.1
product.

### Significant changes relative to 0.3.3:

1. Added relevant patches from TightVNC 1.3.9

2. Added lossless refresh feature, which instructs the server to send a
mathematically lossless (Zlib-encoded RGB) copy of the current screen.  This
feature does not currently work with the Windows TurboVNC Server, because the
Windows TurboVNC Server processes framebuffer update requests asynchronously.

3. Modified `/opt/TurboVNC/bin/vncserver` so that it invokes `Xvnc` with the
arguments `-deferupdate 1`.  This sets the deferred update timer to 1 ms rather
than its default value of 40 ms, which has two effects:

     - It improves the performance of Solaris TurboVNC sessions dramatically
when connecting to them over a high-speed network.
     - It eliminates the need for the "High-Latency Network" switch in the
TurboVNC Viewer.  In prior versions of TurboVNC, leaving this switch on when
connecting over a high-speed network incurred a severe performance penalty.
Since this is no longer the case, the switch is left on all the time and is no
longer configurable.

    NOTE:  The aforementioned performance penalty will still be incurred when
connecting a TurboVNC 0.4 viewer to an older (pre-0.4) TurboVNC server over a
high-speed network.  Start the server with
`/opt/TurboVNC/bin/vncserver -deferupdate 1` to avoid this, or simply upgrade
the server to 0.4.

4. Added an option for lossless (uncompressed RGB) image encoding.  This is
useful for reducing CPU usage on the host and client (at the expense of
increased network usage) when connecting over a gigabit (or faster) network.

5. Added a "Medium Quality" connection profile to the Windows, X11, and Java
TurboVNC Viewers (and subsequently removed the "Broadband (favor image
quality)" profile, which is no longer necessary due to [3].)  The "Medium
Quality" profile sets the JPEG quality to 80 with 2X chrominance subsampling,
which (on average) should use about half the bandwidth of the "High Quality"
profile (quality=95, no subsampling) and twice the bandwidth of the "Low
Quality" profile (quality=30, 4x subsampling.)

6. Added an additional subsampling option to enable grayscale JPEG encoding.
This provides additional bandwidth savings over and above chrominance
subsampling, since grayscale throws away all chrominance pixels.  It is
potentially useful when working with applications that already render grayscale
images (medical imaging, etc.)

7. Fixed embedded Java viewer in the Windows TurboVNC Server (.jar file did not
include all of the necessary classes)

8. Created symlink from **/opt/TurboVNC** to **/opt/SUNWtvnc** in the Solaris
packages so that Solaris and Linux would have a consistent interface.

9. Removed unnecessary pixel format translation when sending JPEG from a big
endian server to a little endian client (or vice versa.)  This improves
performance a bit when connecting x86 clients to Sparc hosts or vice versa.

10. Included mediaLib Huffman encoding optimizations contributed by Sun.  This
boosts the performance of the Solaris TurboVNC Server and Viewer by as much as
30%.

11. Changed default geometry to 1240x900, an appropriate size for most
1280x1024 displays.

12. `vncserver` now looks for `xauth` in **/usr/X11R6/bin** and
**/usr/openwin/bin** before searching the `PATH`.  Those directories are
sometimes not in the `PATH` on Linux and Solaris systems.

13. Modified Mac package such that `/opt/TurboVNC/bin/vncviewer` links to
**/opt/TurboVNC/lib/libturbojpeg.dylib** rather than to
**/opt/VirtualGL/lib/libturbojpeg.dylib** (oops.)  This was causing the Mac
TurboVNC Viewer to fail unless VirtualGL was also installed.

14. Included an optimized version of PuTTY 0.60 in the Windows build (and
viewer package.)  It is recommended that this version be used when tunneling
TurboVNC connections over SSH, as it will perform as much as 4X as fast as the
stock version of PuTTY 0.60.

15. Fixed bug in `vncserver` script which was uncovered by running it with
recent versions of Perl.

16. Changed name of options registry key to avoid conflict with TightVNC

17. Open Java viewer in a new window (edit
**/opt/TurboVNC/vnc/classes/index.vnc** to change this back.)


0.3.3
=====

This release was historically part of the Sun Shared Visualization v1.0.x
product.

### Significant changes relative to 0.3.2:

1. Added a new preset to all VNC viewers which allows the user to select both
the WAN protocol optimizations and perceptually lossless image quality.

2. Added `-list` option to `vncserver` which lists all VNC sessions (not just
TurboVNC sessions) running under the current user account on the current host.
This new option is documented in the VGL/TVNC docs as well as the TurboVNC man
pages.

3. `vncserver` will no longer fail if the `USER` environment variable is unset.
That environment variable is unused in the script, so checking for its presence
was apparently a vestigial feature.

4. Modified Windows build to embed a proper version number in `TurboVNC.exe`.

5. Changed the fallback logic in the default `/.vnc/xstartup` file so that
GNOME is used as the window manager on Solaris if it is available and if
**~/.dt/sessions/lastsession** doesn't exist.  Otherwise, CDE is used.

6. Fixed an issue whereby GNOME would fail to start in TurboVNC if TurboVNC was
launched from within another X session.


0.3.2
=====

### Significant changes relative to 0.3.1:

1. Incorporated TightVNC 1.3.8 patches (where applicable)

2. Now using a single RPM to support multiple Linux distributions.

3. Fixed a couple of issues in the fallback logic of the default
`~/.vnc/xstartup` script.  It should now properly run fvwm2 or twm if KDE, CDE,
or GNOME are not available.

4. First pass at a Mac build of the TurboVNC Viewer.  The Mac version is an X11
Unix app and thus needs to be run inside an xterm.  It should otherwise behave
and perform identically to the Linux version.

5. Increased the size of the TurboJPEG compression holding buffer to account
for rare cases in which compressing very high-frequency image tiles
(specifically parts of the 3D Studio MAX Viewperf test) with high quality
levels (specifically Q99 or above) would produce JPEG images that are larger
than the uncompressed input.

    Linux users will need to upgrade to the TurboJPEG 1.04 RPM to get this fix.
For other platforms, the fix is included in the TurboVNC 0.3.2 packages.

6. Added `-fg` switch to `vncserver` to make it (optionally) run in the
foreground.  This allows you to kill the VNC server by pressing CTRL-C in the
shell you used to start it.  When in foreground mode, you can also kill the VNC
server by logging out of the window manager inside the VNC session.

7. The `/etc/init.d/tvncserver` script, which can be used to launch multiple
TurboVNC sessions at boot time, should now work properly on SuSE systems.

8. Added TurboVNC protocol optimizations to the Java viewer and made its
configuration options match the other TurboVNC viewers.  The Java viewer still
uses a slower codec, so it is about 3X slower in a LAN environment than the
native viewer.  The Java viewer also lacks double buffering support.  But with
these new optimizations, the native and Java viewers should now perform
similarly over a wide-area network.

9. Added a `-password` option to the Windows TurboVNC Viewer to allow one to
pass the VNC password as plain text.


0.3.1
=====

### Significant changes relative to 0.3:

1. Automatically start Xvnc with `-nolisten local` on Solaris hosts.  On
Solaris, **/tmp/.X11-unix** is not world writable by default, so it is
necessary to either start Xvnc with `-nolisten local` (which forces Xvnc to
listen on a tcp port rather than a local pipe) or to make **/tmp/.X11-unix**
world writable.  The former approach seemed like the lesser of two evils.

2. The `vncserver` startup script now sets VGL_COMPRESS to 0 automatically, so
it is no longer necessary to supply a `-c 0` argument to vglrun when running
inside a TurboVNC session.

3. The JPEG quality slider in the Unix viewer's F8 popup menu will now respond
to any mouse button, not just the middle one.

4. The WAN protocol optimizations can now be switched on and off.  It has been
discovered that these optimizations produce slower performance on a LAN, so it
is preferable only to use them on high-latency networks.

    On the Windows viewer, the "Broadband/T1" preset now enables the WAN
protocol optimizations in addition to setting quality=30 and subsampling=4:1:1.
Similarly, the "High-speed Network" preset disables WAN optimizations in
addition to setting quality=95 and subsampling=4:4:4.  WAN optimizations can
also be configured via an additional check box ("High-Latency Network") in the
Options dialog or through two new command line switches: `/lan` and `/wan`.

    On the Linux/Unix viewer, the default is no WAN optimizations, quality=95,
and subsampling=4:4:4.  You can specify an argument of `-wan` to enable WAN
optimizations or `-broadband` to enable WAN optimizations, quality=30, and
subsampling=4:1:1.  The F8 popup menu also contains a new button for
enabling/disabling WAN optimizations, and the Broadband and LAN presets in this
window will enable and disable WAN optimizations (respectively.)


0.3
===

### Significant changes relative to 0.2:

1. Solaris/x86 support

2. Added a JPEG quality slider to the Unix/Linux F8 popup menu in `vncviewer`

3. Patches from TightVNC 1.3dev7, including a great many usability improvements
on the Windows viewer

4. Improved performance on broadband connections
