Installing and Configuring X2Go Server and Client on Debian 8

X2Go Client Installation

The client installation is easier than the server installation. Most distributions already have the client in their provided repositories and this package can easily be installed with the apt meta-packager.

NOTE: Remember that this is done on a computer that is going to connect to the server setup in the previous paragraphs.

# apt-get install x2goclient

Assuming that apt doesn’t return any issues, the X2Go client should be ready to go. Navigate to the X2Go executable via the client’s distribution’s file explorer or launch the utility from the command line with the following command.

# x2goclient
X2Go Client Session
X2Go Client Session

The above windows are the initial windows once the X2Go client is launched. Let’s connect to the Debian Server now!

In the server field in the window on the right, enter the Debian system’s ip address. The next box needs to have the user name of someone who can SSH into the Debian system.

The next thing to change is the Session Type at the bottom. Since the Debian server is using LXDE, it is a good idea to select LXDE from the drop down.

Again, not all desktop environments are supported at the moment, please reference the link at the top of this guide to see what desktop environments are supported or if any work-arounds are needed.

Once the above information have been input, click the “Ok” button at the bottom of the window to finish setting up the session profile. The next step is to click and activate the newly created session. To do this simply click on the session just created on the right in the X2Go Client window.

Connect Remote Debian Desktop
Connect Remote Debian Desktop

Once this session is selected, it will prompt for the user on the remote machine’s credentials. Again these credentials will be the user on the Debian server’s credentials!

Remote Linux Desktop Login
Remote Debian Desktop Login

Once the correct password is provided the system will then display the remote system’s graphical display in a scalable window on the client system!

Linux Remote Desktop Access
Debian Remote Desktop Access

Hopefully at this point, your X2Go system is working like the above systems and you are enjoying a secure remote desktop connection to a Debian server!

Best of luck with this new (and more secure) remote desktop solution for a Debian Linux system! Please feel free to share any comments or questions below and we’d be happy to assist.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

9 thoughts on “Installing and Configuring X2Go Server and Client on Debian 8”

    • Frank,

      Greetings. To attempt to keep the session alive after a client disconnect, you can ‘suspend’ the session. To do this go back to the X2GO client window (not the window that has the other machines desktop) and select the ‘suspend’ button for the session you wish to disconnect. I haven’t tested this feature extensively or on multiple desktop environments but it seems relatively stable on a LXDE Devuan system.

      Reply
    • Kosta,

      Greetings and sorry for the delay. I wanted to confirm that it worked before replying. I tested the ‘AllowUsers’ option in SSHD and it does indeed prevent users not in the list of allowed users from accessing an x2go server.

      Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.