PDA

View Full Version : How to install X2Go on Linux client & server (Arch/Manjaro in this Case)



Fli
03-21-2021, 03:31 PM
X2go: https://wiki.x2go.org/doku.php/doc:newtox2go

Installation steps below. All quoted commands may be required to be ran.

Packages are in official repos:

pamac install x2goclient
pamac install x2goserver
(or different package manager per your distribution)

I have installed server to the LAN computer that i want to manage and client on my main computer on which i work. Following commands should be executed on server.

The server does not seems to be GUI.


sudo systemctl start x2goserver.service;sudo systemctl enable x2goserver.service;

I read one have to enable X forwarding through SSH on the server:

sudo sed -i "s|#X11Forwarding no|X11Forwarding yes|g" /etc/ssh/sshd_config;sudo systemctl reload sshd

Though on client i was getting an error connecting:

DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") Unable to find free display port or insert new session into database; parameters: port (50), hostname (myhn) and session name ().

When i ran "
sudo x2godbadmin --createdb" on server, client connected but black empty screen. Then i was unable to exit it, to on other computer found i can use Ctrl+Alt+T. to exit, F is to exit full screen and M is to minimize the desktop.

The X2Go black screen was fixed by changing Session type from XFCE to X2Go/X11 Desktop sharing (change in connection preferences). So X2go works so far.