Installing and Removing RealVNC Connect (Advanced users)

Follow

Windows

These instructions explain how to install RealVNC Connect on supported Windows computers.

*Separate MSI installers are available for RealVNC Server and RealVNC Viewer to facilitate remote deployment to multiple Windows computers using industry-standard tools such as Group Policy.

Downloading RealVNC Server

Download the RealVNC Server executable to the remote computer you want to control. Under Windows 8 or later, it is recommended you install to a secure location (for example, C:\Program Files).

Installing using desktop tools

Double-click the executable to start the graphical Install Wizard, and follow the instructions.

Installing at the command line

Installing at the command line without prompting the user or restarting the computer may be quicker and more convenient. This requires the MSI installer, and not the EXE installer.

  1. Open a Command Prompt. You will need to perform this operation as an administrator (right-click Start > All Programs > Accessories > Command Prompt and select Run as administrator).

  2. Run a suitable command. For example, to install silently without rebooting and enable automatic update checks and anonymous analytics without prompting the end user:

    msiexec /i "<VNC Server>.msi" /qn ENABLEAUTOUPDATECHECKS=1 ENABLEANALYTICS=1

    By default, the following components are installed:

    • RealVNC Server.
    • VNC Printer Driver (enables remote printing). To exclude, specify ADDLOCAL=FeatureServer.

Licensing RealVNC Server

You must license RealVNC Server running on the remote computer or remote access will not be available. See Licensing RealVNC Connect.

Starting RealVNC Server

RealVNC Server starts automatically in Service Mode.

To learn how to operate RealVNC Server at the command line, follow these instructions.

Downloading RealVNC Viewer

Download the RealVNC Viewer executable to the computer you want to control if you have administrative privileges to install, or the standalone binary if not.

Getting connected

Depending on your subscription, you can establish cloud connectionsdirect connections or both.

Removing RealVNC Connect

You can uninstall RealVNC Server or RealVNC Viewer using Control Panel > Programs and Features in the standard way. Administrative privileges are required. You may need to restart the computer.

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

macOS

These instructions explain how to install RealVNC Connect on supported macOS computers.

Downloading RealVNC Server

Download the RealVNC Server PKG installer to the remote computer you want to control.

Installing using desktop tools

Double-click the package to start the graphical Install Wizard, and follow the instructions. Administrative privileges are required.

Installing at the command line

Installing at the command line or via SSH may be quicker and more convenient providing defaults are acceptable. To do this, run the following command as a user with administrative privileges:

installer -pkg <vnc-app>.pkg -target /

Licensing RealVNC Server

You must license RealVNC Server running on the remote computer or remote access will not be available. See Licensing RealVNC Connect.

Setting up the environment for RealVNC Server

For best results, disable built-in Screen Sharing or Apple Remote Desktop before starting RealVNC Server.

If the remote computer is running 10.14 Mojave or later, you must grant system permissions to the vncagent process.

Starting RealVNC Server

RealVNC Server starts automatically in Service Mode.

To learn how to operate RealVNC Server at the command line, follow these instructions.

Downloading RealVNC Viewer

Download the RealVNC Viewer disk image to the computer you want to control from, and drag it to the Applications folder.

Getting connected

Depending on your subscription, you can establish cloud connectionsdirect connections or both.

Removing RealVNC Connect

Using desktop tools

To uninstall RealVNC Server, navigate to the Applications > RealVNC folder, and double-click the Uninstall RealVNC Server program. Administrative privileges are required. To uninstall RealVNC Viewer, simply move RealVNC Viewer.app to the Trash.

At the command line

To uninstall RealVNC Server, run the following command as a user with administrative privileges:

/Applications/RealVNC/Uninstall\ VNC\ Server.app/Contents/Resources/uninstaller.sh

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

Ubuntu

These instructions explain how to install RealVNC Connect on supported Debian-compatible computers.

You can perform all the operations on this page at the command line. Check out our example script.

Downloading RealVNC Server

Download the appropriate RealVNC Server DEB installer for the architecture of the remote computer you want to control.

Installing using desktop tools

Open <VNC-Server>.deb using a suitable package manager, and follow the instructions. Administrative privileges are required.

Installing at the command line

Installing at the command line or via SSH may be quicker and more convenient providing defaults are acceptable. To do this, run the following command as a user with administrative privileges:

dpkg -i <VNC-Server>.deb

Licensing RealVNC Server

You must license RealVNC Server running on the remote computer or remote access will not be available. See Licensing RealVNC Connect.

Setting up the environment for RealVNC Server

RealVNC Server in Service Mode

Wayland is not supported, so if the remote computer is running Ubuntu 18.04 LTS+, edit the /etc/gdm3/custom.conf file, uncomment WaylandEnable=false, and reboot in order to remotely access the login screen.

RealVNC Server in Virtual Mode

To use RealVNC Server in Virtual Mode with the latest Ubuntu distributions, you may need to change the desktop environment.

SELinux

If SELinux is enabled, run vncinitconfig -register-SELinux to register policy modules.

Starting RealVNC Server

To start RealVNC Server in Service Mode, run the appropriate command below as a user with administrative privileges:

systemctl start vncserver-x11-serviced.service #systemd
/etc/init.d/vncserver-x11-serviced start #initd

For other command line operations and modes, see these instructions.

Downloading RealVNC Viewer

Download the RealVNC Viewer DEB installer to the computer you want to control if you have administrative privileges to install, or the standalone binary if not.

Getting connected

Depending on your subscription, you can establish cloud connectionsdirect connections or both.

Removing RealVNC Connect

Using desktop tools

To uninstall RealVNC Server, open a package manager, conduct a search for the realvnc-vnc-server installed package, mark the package for complete removal, and apply the change. Administrative privileges are required. To uninstall RealVNC Viewer, repeat this operation for realvnc-vnc-viewer.

At the command line

Run the following command as a user with administrative privileges:

apt-get purge realvnc-vnc-server realvnc-vnc-viewer

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

Red Hat

These instructions explain how to install RealVNC Connect on supported Red Hat-compatible computers.

You can perform all the operations on this page at the command line. Check out our example script.

Downloading RealVNC Server

Download the appropriate RealVNC Server RPM installer for the architecture of the remote computer you want to control.

Installing RealVNC Server

Note the following:

  • RealVNC Server depends upon xterm. You must install it and all its dependencies first.
  • RealVNC Server conflicts with TigerVNC, a pre-installed third-party VNC-compatible application. Conflicting binaries (Xvnc and vncpasswd) are renamed on installation, and restored if RealVNC Server is uninstalled.

Using desktop tools

To install RealVNC Server, open <VNC-Server>.rpm using a suitable package manager, and follow the instructions. Administrative privileges are required.

At the command line

Installing at the command line or via SSH may be quicker and more convenient providing defaults are acceptable. To do this, run the following command as a user with administrative privileges:

rpm -U <VNC-Server>.rpm

Licensing RealVNC Server

You must license RealVNC Server running on the remote computer or remote access will not be available. See Licensing RealVNC Connect.

Setting up the environment for RealVNC Server

RealVNC Server in Virtual Mode

For best results with modern desktop environments and applications, run RealVNC Server in conjunction with the system Xorg server, rather than the outdated version built-in to Xvnc.

RealVNC Server in Service Mode

Under certain distributions you must swap the Wayland compositor for X in order to remote the login screen. Open /etc/gdm/custom.conf in a text editor, uncomment the following line, and then restart the computer:

# WaylandEnable=False

SELinux

Policy modules will have been automatically registered if SELinux was enabled during RealVNC Server installation or upgrade. If you enable SELinux afterwards, run vncinitconfig -register-SELinux to register these policy modules manually.

Policy modules cannot be registered on versions of CentOS/RHEL earlier than 5.0.

Starting RealVNC Server

To start RealVNC Server in Service Mode, run the appropriate command as a user with administrative privileges:

systemctl start vncserver-x11-serviced.service #systemd
/etc/init.d/vncserver-x11-serviced start #initd

For other command line operations and modes, see these instructions.

Downloading RealVNC Viewer

Download the RealVNC Viewer RPM installer to the computer you want to control if you have administrative privileges to install, or the standalone binary if not.

Getting connected

Depending on your subscription, you can establish cloud connectionsdirect connections or both.

Removing RealVNC Connect

Using desktop tools

To uninstall RealVNC Server, open a package manager, conduct a search for the realvnc-vnc-server package, mark the package for removal, and apply the change. Administrative privileges are required. To uninstall RealVNC 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

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

Was this article helpful?
103 out of 253 found this helpful

Comments

0 comments

Article is closed for comments.