Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.55 minutes in January 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 *

server management

Spend time on your business, not on your servers.


Or click here to learn more.