How To Install tightvncserver on Kali Linux

In this tutorial we learn how to install tightvncserver on Kali Linux. tightvncserver is virtual network computing server software

Introduction

In this tutorial we learn how to install tightvncserver on Kali Linux.

What is tightvncserver

tightvncserver is:

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing `desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

This package provides a server to which X clients can connect and the server generates a display that can be viewed with a vncviewer.

The difference between the tightvncserver and the normal vncserver is the data encoding, optimized for low bandwidth connections. If the client do not support jpeg or zlib encoding it can use the default one. Later versions of vncserver (> 3.3.3r2) support a new automatic encoding that should be equally good as the tightvnc encoding.

Note: This server does not support or need a display. You need a vncviewer to see something. However, this viewer may also be on a computer running other operating systems in the local net.

There are three methods to install tightvncserver on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tightvncserver Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install tightvncserver using apt-get by running the following command:

sudo apt-get -y install tightvncserver

Install tightvncserver Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tightvncserver using apt by running the following command:

sudo apt -y install tightvncserver

Install tightvncserver Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tightvncserver using aptitude by running the following command:

sudo aptitude -y install tightvncserver

How To Uninstall tightvncserver on Kali Linux

To uninstall only the tightvncserver package we can use the following command:

sudo apt-get remove tightvncserver

Uninstall tightvncserver And Its Dependencies

To uninstall tightvncserver and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove tightvncserver

Remove tightvncserver Configurations and Data

To remove tightvncserver configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge tightvncserver

Remove tightvncserver configuration, data, and all of its dependencies

We can use the following command to remove tightvncserver configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tightvncserver

Dependencies

tightvncserver have the following dependencies:

References

Summary

In this tutorial we learn how to install tightvncserver package on Kali Linux using different package management tools: apt, apt-get and aptitude.