How To Install x2goserver on CentOS 8

x2goserver is X2Go Server

Introduction

In this tutorial we learn how to install x2goserver on CentOS 8.

What is x2goserver

X2Go is a server based computing environment with - session resuming - low bandwidth support - session brokerage support - client side mass storage mounting support - client side printing support - audio support - authentication by smartcard and USB stick This package contains the main daemon and tools for X2Go server-side session administrations.

We can use yum or dnf to install x2goserver on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install x2goserver.

Install x2goserver on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install x2goserver using dnf by running the following command:

sudo dnf -y install x2goserver

Install x2goserver on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install x2goserver using yum by running the following command:

sudo yum -y install x2goserver

How To Uninstall x2goserver on CentOS 8

To uninstall only the x2goserver package we can use the following command:

sudo dnf remove x2goserver

x2goserver Package Contents on CentOS 8

/etc/logcheck
/etc/logcheck/ignore.d.server
/etc/logcheck/ignore.d.server/x2goserver
/etc/sudoers.d/x2goserver
/etc/x2go
/etc/x2go/applications
/etc/x2go/x2goagent.options
/usr/bin/x2gobasepath
/usr/bin/x2gocmdexitmessage
/usr/bin/x2gofeature
/usr/bin/x2gofeaturelist
/usr/bin/x2gogetapps
/usr/bin/x2gogetservers
/usr/bin/x2golistdesktops
/usr/bin/x2golistmounts
/usr/bin/x2golistsessions
/usr/bin/x2golistshadowsessions
/usr/bin/x2gomountdirs
/usr/bin/x2gopath
/usr/bin/x2goresume-session
/usr/bin/x2goruncommand
/usr/bin/x2goserver-run-extensions
/usr/bin/x2gosessionlimit
/usr/bin/x2gosetkeyboard
/usr/bin/x2gostartagent
/usr/bin/x2gosuspend-session
/usr/bin/x2goterminate-session
/usr/bin/x2goumount-session
/usr/bin/x2goversion
/usr/lib/systemd/system/x2gocleansessions.service
/usr/lib64/x2go
/usr/lib64/x2go/extensions
/usr/lib64/x2go/extensions/fail-resume.d
/usr/lib64/x2go/extensions/fail-runcommand.d
/usr/lib64/x2go/extensions/fail-start.d
/usr/lib64/x2go/extensions/fail-suspend.d
/usr/lib64/x2go/extensions/fail-terminate.d
/usr/lib64/x2go/extensions/post-resume.d
/usr/lib64/x2go/extensions/post-runcommand.d
/usr/lib64/x2go/extensions/post-start.d
/usr/lib64/x2go/extensions/post-suspend.d
/usr/lib64/x2go/extensions/post-terminate.d
/usr/lib64/x2go/extensions/pre-resume.d
/usr/lib64/x2go/extensions/pre-runcommand.d
/usr/lib64/x2go/extensions/pre-start.d
/usr/lib64/x2go/extensions/pre-suspend.d
/usr/lib64/x2go/extensions/pre-terminate.d
/usr/lib64/x2go/x2gochangestatus
/usr/lib64/x2go/x2gocheckport
/usr/lib64/x2go/x2gocreatesession
/usr/lib64/x2go/x2gocreateshadowsession
/usr/lib64/x2go/x2gogetagent
/usr/lib64/x2go/x2gogetagentstate
/usr/lib64/x2go/x2gogetdisplays
/usr/lib64/x2go/x2gogetfreeport
/usr/lib64/x2go/x2gogetports
/usr/lib64/x2go/x2gogetrandomport
/usr/lib64/x2go/x2gogetstatus
/usr/lib64/x2go/x2goinsertport
/usr/lib64/x2go/x2goinsertsession
/usr/lib64/x2go/x2goinsertshadowsession
/usr/lib64/x2go/x2goistrue
/usr/lib64/x2go/x2golistsessions_sql
/usr/lib64/x2go/x2gologlevel
/usr/lib64/x2go/x2goqueryconfig
/usr/lib64/x2go/x2goresume
/usr/lib64/x2go/x2gormforward
/usr/lib64/x2go/x2gormport
/usr/lib64/x2go/x2gosuspend-agent
/usr/lib64/x2go/x2gosyslog
/usr/sbin/x2gocleansessions
/usr/sbin/x2godbadmin
/usr/sbin/x2golistsessions_root
/usr/sbin/x2goshowblocks
/usr/share/doc/x2goserver
/usr/share/doc/x2goserver/ChangeLog
/usr/share/doc/x2goserver/README.md
/usr/share/licenses/x2goserver
/usr/share/licenses/x2goserver/COPYING
/usr/share/man/man8/x2gobasepath.8.gz
/usr/share/man/man8/x2gocmdexitmessage.8.gz
/usr/share/man/man8/x2godbadmin.8.gz
/usr/share/man/man8/x2gofeature.8.gz
/usr/share/man/man8/x2gofeaturelist.8.gz
/usr/share/man/man8/x2gogetapps.8.gz
/usr/share/man/man8/x2gogetservers.8.gz
/usr/share/man/man8/x2golistdesktops.8.gz
/usr/share/man/man8/x2golistmounts.8.gz
/usr/share/man/man8/x2golistsessions.8.gz
/usr/share/man/man8/x2golistsessions_root.8.gz
/usr/share/man/man8/x2golistshadowsessions.8.gz
/usr/share/man/man8/x2gomountdirs.8.gz
/usr/share/man/man8/x2gopath.8.gz
/usr/share/man/man8/x2goresume-session.8.gz
/usr/share/man/man8/x2goruncommand.8.gz
/usr/share/man/man8/x2goserver-run-extensions.8.gz
/usr/share/man/man8/x2gosessionlimit.8.gz
/usr/share/man/man8/x2gosetkeyboard.8.gz
/usr/share/man/man8/x2goshowblocks.8.gz
/usr/share/man/man8/x2gostartagent.8.gz
/usr/share/man/man8/x2gosuspend-session.8.gz
/usr/share/man/man8/x2goterminate-session.8.gz
/usr/share/man/man8/x2goumount-session.8.gz
/usr/share/man/man8/x2goversion.8.gz
/usr/share/x2go
/usr/share/x2go/versions/VERSION.x2goserver
/usr/share/x2go/versions/VERSION.x2goserver-extensions
/usr/share/x2go/x2gofeature.d
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features
/usr/share/x2go/x2gofeature.d/x2goserver.features
/var/lib/x2go
/var/lib/x2go/x2go_sessions

References

Summary

In this tutorial we learn how to install x2goserver on CentOS 8 using yum and dnf.