How To Install xorg-x11-xinit-session on Fedora 36

In this tutorial we learn how to install xorg-x11-xinit-session in Fedora 36. xorg-x11-xinit-session is Display manager support for ~/.xsession and ~/.Xclients

Introduction

In this tutorial we learn how to install xorg-x11-xinit-session on Fedora 36.

What is xorg-x11-xinit-session

Allows legacy ~/.xsession and ~/.Xclients files to be used from display managers.

We can use yum or dnf to install xorg-x11-xinit-session on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xorg-x11-xinit-session.

Install xorg-x11-xinit-session on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xorg-x11-xinit-session using dnf by running the following command:

sudo dnf -y install xorg-x11-xinit-session

Install xorg-x11-xinit-session on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xorg-x11-xinit-session using yum by running the following command:

sudo yum -y install xorg-x11-xinit-session

How To Uninstall xorg-x11-xinit-session on Fedora 36

To uninstall only the xorg-x11-xinit-session package we can use the following command:

sudo dnf remove xorg-x11-xinit-session

xorg-x11-xinit-session Package Contents on Fedora 36

/usr/libexec/xinit-compat
/usr/share/xsessions/xinit-compat.desktop

References

Summary

In this tutorial we learn how to install xorg-x11-xinit-session on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).