Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to set up Remote Desktop on Debian – Using X2Go

by | Feb 17, 2021

Wondering How to set up Remote Desktop on Debian? We can help you.

Generally, Linux-based servers do not come with a graphical user interface (GUI) preinstalled.

In order to run GUI applications on the server, Virtual Network Computing (VNC) can be employed. VNC is very slow by default and considered to be less secure, it also needs a lot of manual configuration to get up and running. So we will overcome this by using X2Go

Here at Bobcares, we often get requests from our customers to set up a remote desktop as a part of our Server Management Services.

Today, let’s see how to set up Remote Desktop on Debian,

Steps to set up Remote Desktop on Debian using X2Go

Graphical remote desktop control for optimal operation on any type of network is something that makes accessing servers hassle-free.

X2Go helps us to create a robust and remote GUI-environment for the Debian operating system.

We will be doing this on a Debian server with 2GB of RAM,

Now, we will see the steps which our Support techs follow to

1. Installing the Desktop Environment

There are two ways to easily install XFCE – the Minimal Desktop Environment or the Full Desktop Environment.

Here we will be installing the Full Desktop Environment using the following command:

$ sudo apt-get install task-xfce-desktop

Next, we will install xfce4 and all of the additional dependencies needed to support it:

$ sudo apt-get install xfce4

Once the graphical environment is installed, we can establish a way to view it remotely.

2. Installing X2Go on the Server

X2Go comes with two main components the server and the client.

To install X2Go on the server, we will use the following command:

$ sudo apt-get install x2goserver x2goserver-xsession

After this, we will exit or close the terminal window.

3. Installing the X2Go Client Locally

For Windows or Mac we can download the X2Go client software from the URL:

For Debian or Ubuntu, we can install the X2Go client with the following command:

$ sudo apt-get install x2goclient

After downloading the software, we will install it using the following steps:

1. First, open the installer and select the preferred language.

2. Next, agree to the license.

3. The wizard will guide us through the remaining steps.

As the desktop client is installed, we will configure its settings and connect to the X2Go server to use the remote XFCE desktop.

4. Connecting To the Remote Desktop

The steps to follow for connecting to RDP is given below:

1. While opening the X2Go client, a window appears asking for session preferences.

2. We will click Session in the top-left menu and select New session.

3. In the Session Name field, we can provide two different names to differentiate between the servers.

4. Enter the server’s IP address or hostname in the Host field under Server.

5. After that we will enter the username for the SSH connection in the Login field.

6. And, choose XFCE as your Session type.

Finally, we will click the folder icon next to the Use RSA/DSA key for ssh connection and browse to our private key.

After pressing the OK button, we can start our graphical session by clicking the white box having the name of our session.

[Need assistance to set up remote desktop? We are happy to help you!]


To conclude we saw the steps our Support Techs follow to set up remote desktop on Debian.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center


Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]


Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid


Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie


These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.