How To Install x2vnc on Kali Linux

In this tutorial we learn how to install x2vnc on Kali Linux. x2vnc is Link a VNC and an X display together, simulating a multiheaded display

Introduction

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

What is x2vnc

x2vnc is:

This program merges the capabilities of x2x and vncviewer. It will allow a machine with an X display and a machine with a VNC server running on its main screen to act as if they were two displays connected to one machine. When you move your mouse pointer off the screen in a direction of your choosing, the pointer will appear on the other screen instead.

There are three methods to install x2vnc 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 x2vnc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install x2vnc

Install x2vnc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install x2vnc

Install x2vnc 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 x2vnc using aptitude by running the following command:

sudo aptitude -y install x2vnc

How To Uninstall x2vnc on Kali Linux

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

sudo apt-get remove x2vnc

Uninstall x2vnc And Its Dependencies

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

sudo apt-get -y autoremove x2vnc

Remove x2vnc Configurations and Data

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

sudo apt-get -y purge x2vnc

Remove x2vnc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge x2vnc

Dependencies

x2vnc have the following dependencies:

References

Summary

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