The following instructions are valid for SUSE Linux Enterprise Server (SLES) 11. Instructions may differ slightly for different versions of SLES, and versions of SUSE Linux Enterprise Desktop (SLED), but the principle is the same. If in doubt, consult the operating system documentation.

Removing conflicting packages

Before installing VNC, you must ensure the following packages are removed:

Using desktop tools

Open Software Manager, conduct a search for each package in turn, mark it for deletion, and apply the change. Note the credentials of a user with administrative privileges on the computer are required.

At the command line

Run the following command as a user with administrative privileges: rpm -e xorg-x11-Xvnc tightvnc

Downloading VNC

Download a VNC for Linux Red Hat-compatible tarball to the computer you want to control. VNC Server and VNC Viewer are included as separate installable packages.

Note: VNC Viewer is freely available to download to as many other computers that you wish to exercise control from as you like.

If you wish to script installation of VNC Server and VNC Viewer together, download a VNC for Linux generic installer instead.

Installing VNC

Note: If you are upgrading from VNC Enterprise Edition, you must install VNC Server before VNC Viewer.

Using desktop tools

To install VNC Server, open <VNC Server>.rpm using Software Manager, and follow the instructions. Note the credentials of a user with administrative privileges on the computer are required. To install VNC Viewer, repeat this operation for <VNC Viewer>.rpm.

At the command line

Installing at the command line or via SSH may be quicker and more convenient providing defaults are accceptable. To do this, run the following command as a user with administrative privileges: rpm -U <VNC Server>.rpm <VNC Viewer>.rpm

Scripting installation

If you want to configure installation, run a script to specify programs and locations.

Licensing VNC Server

VNC Server must be licensed. If it is not, users cannot connect. More information…

Note: VNC Viewer does not require a license key.

Using desktop tools

To obtain and apply a license key, start VNC Server in User Mode, open the VNC Server dialog, and either follow the instructions in the VNC Server is not licensed error, or select More > Licensing.

At the command line

Obtain a license key, and then run the following command as a user with administrative privileges: vnclicense -add <license key>

Additional steps

Under SLED and SLES 10, perform the following operations if you wish to enable printing.

Removing VNC

Using desktop tools

To uninstall VNC Server, open Software Manager, conduct a search for the realvnc-vnc-server package, mark the package for deletion, and apply the change. Note the credentials of a user with administrative privileges on the computer are required. To uninstall VNC Viewer, repeat this operation for realvnc-vnc-viewer.

At the command line

Run the following command as a user with administrative privileges: rpm -e realvnc-vnc-server realvnc-vnc-viewer