How To Install x2goserver-desktopsharing on Debian 12

Learn how to install x2goserver-desktopsharing on Debian 12 with this tutorial. x2goserver-desktopsharing is Share X11 desktops with other users via X2Go

Introduction

In this tutorial we learn how to install x2goserver-desktopsharing on Debian 12.

What is x2goserver-desktopsharing

x2goserver-desktopsharing is:

X2Go is a server based computing environment with

  • session resuming
  • low bandwidth support
  • session brokerage support
  • client side mass storage mounting support
  • client-side printing support
  • audio support
  • authentication by smartcard and USB stick

X2Go Desktop Sharing is an X2Go add-on feature that allows a user to grant other X2Go users access to the current session (shadow session support). The user’s current session may be an X2Go session itself or simply a local X11 session.

This package contains all the integration and configuration logics of a system-wide manageable desktop sharing setup.

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

Install x2goserver-desktopsharing Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install x2goserver-desktopsharing

Install x2goserver-desktopsharing Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install x2goserver-desktopsharing

Install x2goserver-desktopsharing Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install x2goserver-desktopsharing

How To Uninstall x2goserver-desktopsharing on Debian 12

To uninstall only the x2goserver-desktopsharing package we can use the following command:

sudo apt-get remove x2goserver-desktopsharing

Uninstall x2goserver-desktopsharing And Its Dependencies

To uninstall x2goserver-desktopsharing and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove x2goserver-desktopsharing

Remove x2goserver-desktopsharing Configurations and Data

To remove x2goserver-desktopsharing configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge x2goserver-desktopsharing

Remove x2goserver-desktopsharing configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge x2goserver-desktopsharing

Dependencies

x2goserver-desktopsharing have the following dependencies:

References

Summary

In this tutorial we learn how to install x2goserver-desktopsharing package on Debian 12 using different package management tools: apt, apt-get and aptitude.