How To Install x2goserver-xsession on CentOS 7

In this tutorial we learn how to install x2goserver-xsession on CentOS 7. x2goserver-xsession is X2Go Server Xsession runner

Introduction

In this tutorial we learn how to install x2goserver-xsession on CentOS 7.

What is x2goserver-xsession

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 X2Go server add-on enables Xsession script handling when starting desktop sessions with X2Go. Amongst others the parsing of Xsession scripts will enable desktop-profiles, ssh-agent startups, gpgagent startups and many more Xsession related features on X2Go session login automagically.

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

Install x2goserver-xsession on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install x2goserver-xsession

Install x2goserver-xsession on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install x2goserver-xsession

How To Uninstall x2goserver-xsession on CentOS 7

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

sudo dnf remove x2goserver-xsession

References

Summary

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