VNC Technology

VNC is a short form for Virtual Network Computing. It is a cross-platform tool created to remotely access and control another computer. In other words, your computer, including the screen, mouse, or keyboard can be used by a remote user from a secondary device over a network connection. Note that VNC works on a client/server model where the server is installed on the remote computer and the viewer on the computer or device in control. The server has the responsibility of transmitting a remote computer display or screen to the viewer/client.

Use Cases of VNC Technology

  • Remote technical support
  • Working remotely: For example, you can access your office desktop while at home

In this guide we will tackle:

  • Creating RealVNC account
  • Installing VNC Server
  • Configuring VNC Server
  • Installing VNC Client and connecting it to the VNC Server

Creating Real VNC Cloud Account

To start using VNC Server, you are required to create an account from the RealVNC website.

From the site, enter the email address you want to use for the RealVNC account and click on next.

Go ahead and sign up by providing the details required. After filling the blank spaces, proceed by clicking on the sign-up button.

RealVNC account dashboard will open where you can make any necessary settings.

On the above page, scroll down and activate a subscription of your preference.

Installing Real VNC server on Solus

To install the RealVNC server on Solus, you will follow a couple of steps. First, open the terminal on your computer.

Then start by installing Diffutils using this command:

sudo eopkg install diffutils

Sample Output.

Total size of package(s): 318.00 KB
Downloading 1 / 1
Package diffutils found in repository Solus
diffutils-3.8-11-1-x86_64.eopkg (318.0 KB)100%    135.97 MB/s [00:00:00] [complete]
Installing 1 / 1
diffutils-3.8-11-1-x86_64.eopkg [cached]
Installing diffutils, version 3.8, release 11
Extracting the files of diffutils
Installed diffutils
 [✓] Syncing filesystems                                                success
 [✓] Updating manpages database                                         success

On the next line on your terminal, download the VNC server using this command:

wget https://downloads.realvnc.com/download/file/vnc.files/VNC-Server-6.10.1-Linux-x64-ANY.tar.gz

Extract the downloaded VNC fIle

tar xvf VNC-Server-6.10.1-Linux-x64-ANY.tar.gz

Change the directory for the VNC file

cd VNC-Server-6.10.1-Linux-x64/

To install a VNC server, use this command:

sudo ./vncinstall 

Here is the installation output

Copying vncserver-x11 to /usr/bin
Copying vncserver-x11.1 to /usr/share/man/man1/vncserver-x11.1
Copying vncserver-x11-core to /usr/bin
Copying Xvnc to /usr/bin
Copying Xvnc.1 to /usr/share/man/man1/Xvnc.1
Copying Xvnc-core to /usr/bin
Copying vncserverui to /usr/bin
Copying vncserver-virtual to /usr/bin
Copying vncserver-virtual.1 to /usr/share/man/man1/vncserver-virtual.1
Copying vncserver-virtuald to /usr/bin
Copying vncserver-virtuald.1 to /usr/share/man/man1/vncserver-virtuald.1
Copying vncserver-x11-serviced to /usr/bin
Copying vncserver-x11-serviced.1 to /usr/share/man/man1/vncserver-x11-serviced.1
Copying vncpasswd to /usr/bin
Copying vncpasswd.1 to /usr/share/man/man1/vncpasswd.1
Copying vnclicense to /usr/bin
Copying vnclicense.1 to /usr/share/man/man1/vnclicense.1
Copying vnclicensewiz to /usr/bin
Copying vnclicensehelper to /usr/bin
Copying vncpamhelper to /usr/bin
Copying vncinitconfig to /usr/bin
Copying vncinitconfig.1 to /usr/share/man/man1/vncinitconfig.1
Copying vncagent to /usr/bin
Copying get_primary_ip4 to /usr/lib/vnc
Copying vncservice to /usr/lib/vnc
Copying registerSELinuxmodules to /usr/lib/vnc
Checking for getenforce... [Not found]
Updating /etc/pam.d/vncserver
Original config file "/etc/pam.d/vncserver.old" preserved
Original config file "/etc/vnc/xstartup.old" preserved
Looking for font path... not found.
Original config file "/etc/vnc/config.old" preserved
Original config file "/etc/vnc/config.d/common.old" preserved
Original config file "/etc/vnc/pulse/daemon.conf.old" preserved
Original config file "/etc/vnc/pulse/default.pa.old" preserved
Original config file "/etc/X11/vncserver-virtual-dummy.conf.old" preserved
Original config file "/etc/X11/vncserver-virtual-vnc.conf.old" preserved
Installed systemd unit for VNC Server in Service Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-x11-serviced.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-x11-serviced.service

Installed systemd unit for VNC Server in Virtual Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-virtuald.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-virtuald.service

Start VNC server services

sudo systemctl start vncserver-x11-serviced.service vncserver-virtuald.service

Enable services to start at system boot.

$ sudo systemctl enable vncserver-x11-serviced.service vncserver-virtuald.service
Created symlink /etc/systemd/system/multi-user.target.wants/vncserver-x11-serviced.service → /usr/lib/systemd/system/vncserver-x11-serviced.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vncserver-virtuald.service → /usr/lib/systemd/system/vncserver-virtuald.service.

Check the Status of the VNC Server

$ systemctl status vncserver-x11-serviced.service vncserver-virtuald.service
● vncserver-x11-serviced.service - VNC Server in Service Mode daemon
     Loaded: loaded (/usr/lib/systemd/system/vncserver-x11-serviced.service; enabled; vendor preset: enable>
     Active: active (running) since Sat 2022-03-26 15:36:07 EAT; 1min 58s ago
   Main PID: 23319 (vncserver-x11-s)
      Tasks: 5 (limit: 4639)
     Memory: 21.3M
        CPU: 194ms
     CGroup: /system.slice/vncserver-x11-serviced.service
             ├─23319 /usr/bin/vncserver-x11-serviced -fg
             ├─23320 /usr/bin/vncserver-x11-core -service
             ├─23322 /usr/bin/vncagent service 0
             ├─23323 /usr/bin/vncserverui service 0
             └─23324 /usr/bin/vncserverui -statusicon 0

● vncserver-virtuald.service - VNC Server in Virtual Mode daemon
     Loaded: loaded (/usr/lib/systemd/system/vncserver-virtuald.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-03-26 15:36:07 EAT; 1min 58s ago
   Main PID: 23321 (vncserver-virtu)
      Tasks: 1 (limit: 4639)
     Memory: 780.0K
        CPU: 4ms
     CGroup: /system.slice/vncserver-virtuald.service
             └─23321 /usr/bin/vncserver-virtuald -fg

If it is active or in a running state, that means you can proceed to configure the VNC server on your computer

Configuring RealVNC Server on Solus

Since the VNC server has already been installed successfully, simply click on it to open it.

It will ask for authentication. Enter your Solus OS password and then press the authenticate button.

On the screen that will appear, enter the email address and password for the RealVNC account you created.

Continue and choose the subscription of your choice.

In the next step, choose the connectivity method.

For security purposes, enter a password that will protect your VNC Server.

Create the VNC password and proceed to the next step.

Also, you can make changes to the people who will access the VNC server.

Click on Apply on the next window that will appear.

On the last part, hit the Done button to complete the steps. Now you can start using the RealVNC server.

Installing VNC Viewer/Client on Windows

For a successful connection, you need to install a VNC Viewer/client which is supposed to connect with the VNC Server.

Download VNC Viewer

Download the VNC Viewer file from the RealVNC website. In my case, I will choose VNC Viewer for windows.

On Windows, access the file you have downloaded from your computer downloads. Run the file as an administrator for it to install.

Click on Next to continue with the installation.

Select a folder where the VNC client will be stored.

To complete the installation, press on FINISH button.

Connecting VNC Viewer to VNC Server

For VNC Viewer to communicate with VNC Server, there must be a connection.

Let’s start by opening our VNC Viewer. If you have installed it on Windows, open it by searching it on the search bar.

Below is an interface of VNC Viewer. Sign in using the same login details for the RealVNC account.

Sign in to the RealVNC account on VNC Client/Viewer

After you have signed, you can now access your VNC Server as shown below.

Double click the VNC server and enter the VNC password for authentication. Below is an illustration of the window that will appear after a successful connection.

Feel free to interact with the server and access any information you need from the remote computer.

Conclusion

Technology is an amazing tool that when applied makes things easier. By creating a RealVNC account and following a couple of steps to connect the VNC Server and VNC Viewer, you will save a lot of time and energy. You can enjoy accessing another computer remotely using your personal/work PC. This article has all the information you require when installing and connecting VNC Server and Viewer over a network.

Other Guides:

LEAVE A REPLY

Please enter your comment!
Please enter your name here