How to Install X2go on Void Linux

X2go is a remote desktop software that allows you to connect to a remote machine's desktop over a secure connection. In this tutorial, we will guide you on how to install X2go on Void Linux.

Prerequisites

Step 1: Update Package Repository

To ensure you have the latest package repository, run the following command:

sudo xbps-install -S

Step 2: Install X2go

To install X2go, run the following command in your terminal:

sudo xbps-install -S x2goserver x2goserver-xsession

Step 3: Configure X2go

Before you can use X2go, you need to configure it. Open the configuration file using your favorite text editor:

sudo vi /etc/x2go/x2goserver.conf

Find the following lines and uncomment them by removing the "#" sign at the beginning of each line:

# The maximum screen width to create a fitting pixel depth and resolution. This value will be used for clients connecting with the "resolution" option set to "fit to screen".
# The value is given as a number of pixels. A value of 0 means: no restriction or limit (use at your own risk!).
#no_client_resize(0)
#no_client_scale(0)

Save and close the file.

Step 4: Start X2go

To start X2go, run the following command:

sudo systemctl start x2goserver

Step 5: Connect to X2go

  1. Open X2go on your client machine
  2. Click on "New session" and fill in the required information, such as the server IP address, username and SSH port (default is 22).
  3. Choose the "XFCE" session type.
  4. Click "OK" to save your settings.
  5. Double-click on the session you just saved to connect to your server.

Congratulations! You have successfully installed X2go on Void Linux and connected to your remote machine.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!