« Back to docs

Installing and removing VNC 5.x

These instructions explain how to install VNC 5.x on ancilliary HP-UX computers.

Note

VNC Connect (version 6) is not available for HP-UX.

Patching HP-UX 11.00

You must apply the PHSS_39077 patch to computers running HP-UX 11.00.

Note

This patch is currently only available if you have a support agreement with HP; contact HP Support for more information.

Upgrading to VNC 5.x

If you are upgrading from an earlier version of VNC 5.x, installation should be seamless. You do not need to stop VNC Server, and any configuration changes you have made will be preserved. You are informed if you are required to apply a new license key.

You cannot upgrade from VNC Enterprise Edition 4.x. You must first remove it. To do this:

  1. If you have a valid support and upgrades contract, preserve your license key by copying /etc/vnc/licensekey to a safe location. If you do not have a valid support and upgrades contract, you need take no action; you will need to obtain a new license key anyway.

    To find out whether you have a valid support and upgrades contract, run the command vnclicense -list. A contract is typically valid for one year from the date of issue of the license key, so in the following example until 18th November 2016:

    1   10 desktops   2016/11/18   [full]
    
  2. Uninstall VNC Enterprise Edition by running the following command as a user with administrative privileges:

    swremove vnc-E

Downloading VNC 5.x

Download the VNC depot installer. VNC Server and VNC Viewer are included as separate installable packages.

If you do not have administrative privileges, or want to specify non-default installation locations, download the generic installer instead, and run the script provided.

Installing VNC 5.x

To install VNC Server, run the following command as a user with administrative privileges, and perform the standard installation procedure:

swinstall -s <absolute-path-to-VNC-Server>.depot

Note

This command fails with a relative path.

To install VNC Viewer, repeat this operation for <absolute-path-to-VNC-Viewer>.depot.

Licensing VNC Server

VNC Server must be licensed or remote access will not be available. If you do not know your license key, contact Support.

Note

VNC Viewer does not require a license key.

Reinstating a valid VNC Enterprise Edition license key

To do this, copy a preserved license key file back to /etc/vnc.

At the command line

Run the following command as a user with administrative privileges:

/usr/local/bin/vnclicense -add KEY

Setting up the environment for VNC Server

Paths

Programs are installed in /usr/local/bin. To configure paths for all users, and to provide access to the reference documentation, add the following to /etc/profile:

PATH=$PATH:/usr/local/bin:/usr/openwin/bin
MANPATH=$MANPATH:/usr/local/man

VNC Server in Service Mode

If you are using dtlogin (other display managers may be affected), VNC Viewer users cannot connect when the computer is at the login screen. Uncomment (or add) the following command to /usr/dt/config/Xconfig:

Dtlogin*grabServer: False

If you are using CDE (other desktop environments may be affected), the VNC Server user interface (a status dialog and icon) may not be shown. Run the following command as the desktop owner (not as root), or add it to a user’s .xstartup or equivalent file:

vncserver-x11 -serviceui

Starting VNC Server

To see how to start VNC Server in your choice of mode, consult the appropriate man page.

Removing VNC 5.x

Run the following command as a user with administrative privileges:

swremove realvnc-vnc-server realvnc-vnc-viewer

Note

To completely remove (benign) configuration and other files or settings that may remain, follow these instructions.

×