Skip to content

X2Go Installation

Add the X2Go repository on Launchpad

Install the APT PPA for x2go.

add-apt-repository ppa:x2go/stable

Check which x2go packages are available.

apt-cache search x2go

Client Install

Linux

Install the Linux client.

apt install x2goclient

Windows

Install the Windows client using winget.

winget install -e --id X2go.x2goclient

Host Installation

Desktop Sharing

Install desktop sharing on the host.

x2goserver-desktopsharing

Server Only

Install the server only.

apt install x2goserver

User Groups

Group Name Purpose Should Regular Users Join?
x2gouser Internal Database Access. A system group created for the internal x2gouser service account. It owns the SQLite session database (/var/lib/x2go/x2go_sessions) and allows the setgid wrapper (x2gosqlitewrapper) to read and write session states. No. Adding regular users to this group creates a security risk and allows them to read or manipulate other users' session data in the SQLite database.
x2godesktopsharing Cross-User Screen Sharing. Controls access to the x2godesktopsharing system tray utility. It allows a logged-in user to share their active local (:0) or X2Go desktop session with another user (e.g., for helpdesk support). Yes (only if using desktop sharing). Both the user sharing their screen and the user connecting to view/control it must belong to this group.
x2goprint Internal Print Spooling. A system group created for the internal x2goprint service account. It processes incoming print jobs from CUPS, changes ownership of the generated PDF files, and pushes them into the client's SSHFS spool directory. No. This account has specific sudo privileges to manage print file ownership. Regular users print via CUPS/SSHFS automatically without belonging to this group.
usermod -aG [<group-name-or-id> ...]