X2go is a server-based computing environment that allows users to access applications and desktop environments remotely. In this tutorial, we will walk you through the process of installing X2go on Elementary OS Latest.
Open the terminal by pressing Ctrl + Alt + T
.
Run the following command to add X2go repository to your system:
sudo add-apt-repository ppa:x2go/stable
Press Enter when prompted to continue.
Update your system by running the following command:
sudo apt-get update
Run the following command to install X2go server and client packages:
sudo apt-get install x2goserver x2goserver-xsession x2goclient
Hit Enter when prompted.
Open the terminal and run the following command to edit the X2go server configuration file:
sudo nano /etc/x2go/x2goserver.conf
Find the following lines in the file:
# session limits
# Maximum number of parallel sessions (per user account) that are allowed
# Default: 2
SessionLimit=2
Change the value of SessionLimit
to the desired number of simultaneous sessions. For example, if you want to allow three sessions, change the value to:
SessionLimit=3
Save the changes by pressing Ctrl + X
, then Y
, and then Enter
.
Run the following command to start the X2go server:
sudo systemctl start x2goserver.service
Verify that the X2go server is running without any errors by running:
sudo systemctl status x2goserver.service
If everything is running fine, you should see the following:
● x2goserver.service - X2Go Server
Loaded: loaded (/lib/systemd/system/x2goserver.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-10-24 15:22:47 IST; 2min 56s ago
Main PID: 3035 (x2gordp)
Tasks: 5 (limit: 7695)
Memory: 6.0M
CGroup: /system.slice/x2goserver.service
├─3035 /usr/bin/x2gordp 8888
├─3050 /usr/bin/x2gocleansessions
├─3054 /usr/bin/x2godesktopsharing
├─3058 /usr/bin/x2gomountdirs
└─3059 /usr/bin/x2goumountdirs
Open the X2go client by searching for it in the applications menu.
Enter the IP address of the remote server and select the session type, either "Single Application" or "Full Desktop".
Enter your username and password.
Click on "New Session" to connect to the remote server.
You have now successfully installed and configured X2go on Elementary OS Latest. You can now access applications or desktop environments remotely using X2go.
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!
Alternatively, for the best virtual desktop, try Shells!