1. Help Center
  2. Server Administration

How to Connect to Server via VNC

This article will help you to know about the programs that are often used to allow remote communication with the server, how the user can administer the server remotely, what VNC is, and how to use it to connect to the server.

What is VNC

VNC (Virtual Network Computing) is a system that allows you to connect to a remote computer via the RFB (Remote Frame Buffer) protocol. 

The VNC operation algorithm is the following one:

  • Use a special program or the VMmanager control panel to connect.
  • Enter authorization data into it.
  • Get full access to the requested system.

With this protocol, you can work with a computer that is located in another part of the planet. The software is freely available. Popular utilities to download are Ultra VNC remote access tools, TightVNC, and VNC Viewer.

VNC Features

Remote connection is usually carried out via the RDP and SSH protocols. These protocols are more often used to gain access to VDS. However, here are some VNC features useful for some scenarios:

  • Session connection possibility, thanks to which it is allowed to connect to several users simultaneously.
  • The VNC client can connect to any other operating system.
  • VNC has mobile app support for iOS and Android.

Important: The server must use KVM to connect. This is hardware virtualization that allows you to recreate a physical server in a virtual machine. 

Once you are sure that the server is using KVM, you can proceed to connect via VNC.

How to Connect to Server via VNC

There are two ways to connect to a VDS/VPS via VNS: 

  • using the VMmanager control panel
  • using a VNC client

The first option implies an installed panel with a purchased license. The second option implies an installed program on the computer (Ultra VNC remote access tools, TightVNC or VNC Viewer). Take advantage of all this and connect to VDS/VPS.

Option 1: Connect via VNC Client

There are many programs that allow you to connect using the RFB protocol. An easier way is using the VNC Viewer utility, connecting via VNC Client.

To connect to the server via VNC Client, follow the steps:

  1. Open the official page and download the program for the desired operating system.
    client 1
  2. To enter your login information in the authentication window, get the data by creating a support request through the ticket system.
    client 3

    Since multiple VNCs are allowed on a PC, the display number must be specified to separate them, where every display corresponds to a TCP port number. The port number for the display is obtained by adding the display number to the base number, 5900. Display :0 is TCP port 5900, display :1 is port 5901, and so on.

    Thus, in the VNC Viewer, you must enter an IP address and assign a port to it. For example, 89.11.201.22:5900.

  3. Launch the program, enter our value into it, and click Connect to….
    client 2

Option 2: Connect via VMmanager

Install VMmanager on your server and obtain a license. On Ubuntu, this is done by executing commands in the console. Also, install the PuTTY remote connection assistant on your computer so that you can easily enter commands into the console.

To install VMmanager, follow the steps:

  1. Launch PuTTY on the computer.
  2. Go to the Session section.
  3. Enter the IP address and click Open.
  4. Enter your username and password in the console.
  5. Get a displayed welcome text with information about the installed OS.
    Copy and paste the following commands into the console with a simple right-click – this is one of the advantages of this option. You won't be able to do this in the hosting console.
  6. To install a utility that allows you to upload files, type:

    yum install wget
  7. To download the ISPsystem installer, type:
    wget http://cdn.ispsystem.com/install.sh
  8. To install VMmanager, type:
    sh install.sh --release 5.221.0 VMmanager
  9. To choose KVM virtualization, type:

    1 

    and press Enter.

  10. To enter the installed panel, enter https://<IP Server>:1500/vmmgr in the browser.
  11. Activate the license or use the trial version.

Once the registration is completed, you have access to the panel itself.
To connect to a server via VMmanager, follow the steps:

  1. Go to the Management > Virtual machines section.
  2. Click the VNC button in the right part of the window.
  3. In the launched console, enter the login and password from the VDS.
  4. You are connected to VDS/VPS via VMmanager.

Can not connect?

Connection errors can be related to the following:

  • There is no internet connection.
  • Virtual machine does not respond to pings.
  • The VNC server is not running on the machine.
  • Firewall blocks access to the TCP port.
  • The port number after the colon is incorrect.

If you still have questions about the connection to the server via VNC, you can ask them in the online chat in the lower right corner of the site or create a support request through the ticket system.