How To Install lxsession on Fedora 34

lxsession is Lightweight X11 session manager

Introduction

In this tutorial we learn how to install lxsession on Fedora 34.

What is lxsession

LXSession is a standard-compliant X11 session manager with shutdown/ reboot/suspend support via systemd. In connection with gdm it also supports user switching. LXSession is derived from XSM and is developed as default X11 session manager of LXDE, the Lightweight X11 Desktop Environment. Though being part of LXDE, it’s totally desktop-independent and only has few dependencies.

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

Install lxsession on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install lxsession

Install lxsession on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install lxsession

How To Uninstall lxsession on Fedora 34

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

sudo dnf remove lxsession

lxsession Package Contents on Fedora 34

/etc/xdg/lxsession
/usr/bin/lxclipboard
/usr/bin/lxlock
/usr/bin/lxsession
/usr/bin/lxsession-db
/usr/bin/lxsession-default
/usr/bin/lxsession-default-apps
/usr/bin/lxsession-default-terminal
/usr/bin/lxsession-logout
/usr/bin/lxsession-xdg-autostart
/usr/bin/lxsettings-daemon
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/6d3f910b76c58f0ee57381e8a65e65093c9b4c
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/602f5f2d0a0ac304896ca866109fb8a97cdb42
/usr/lib/.build-id/be
/usr/lib/.build-id/be/fd6838002301f481e0c258503685b9354bd4b2
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/61790dd1cb2c09d19faa013a6d1e246b17f0cf
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/7d3a98c93f65bac40ce6692ce763864b61d48d
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/ec9e0758964e5e704de083d7a65a400c0299b8
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/1ad45e5f0f026ebf6993817512fbd969c1b292
/usr/libexec/lxsession
/usr/libexec/lxsession/lxsession-xsettings
/usr/share/applications/lxsession-default-apps.desktop
/usr/share/doc/lxsession
/usr/share/doc/lxsession/AUTHORS
/usr/share/doc/lxsession/COPYING
/usr/share/doc/lxsession/ChangeLog
/usr/share/doc/lxsession/README
/usr/share/doc/lxsession/desktop.conf.example
/usr/share/locale/af/LC_MESSAGES/lxsession.mo
/usr/share/locale/am/LC_MESSAGES/lxsession.mo
/usr/share/locale/ar/LC_MESSAGES/lxsession.mo
/usr/share/locale/ast/LC_MESSAGES/lxsession.mo
/usr/share/locale/be/LC_MESSAGES/lxsession.mo
/usr/share/locale/bg/LC_MESSAGES/lxsession.mo
/usr/share/locale/bn/LC_MESSAGES/lxsession.mo
/usr/share/locale/bn_IN/LC_MESSAGES/lxsession.mo
/usr/share/locale/ca/LC_MESSAGES/lxsession.mo
/usr/share/locale/cs/LC_MESSAGES/lxsession.mo
/usr/share/locale/da/LC_MESSAGES/lxsession.mo
/usr/share/locale/de/LC_MESSAGES/lxsession.mo
/usr/share/locale/el/LC_MESSAGES/lxsession.mo
/usr/share/locale/en_GB/LC_MESSAGES/lxsession.mo
/usr/share/locale/eo/LC_MESSAGES/lxsession.mo
/usr/share/locale/es/LC_MESSAGES/lxsession.mo
/usr/share/locale/et/LC_MESSAGES/lxsession.mo
/usr/share/locale/eu/LC_MESSAGES/lxsession.mo
/usr/share/locale/fa/LC_MESSAGES/lxsession.mo
/usr/share/locale/fi/LC_MESSAGES/lxsession.mo
/usr/share/locale/fo/LC_MESSAGES/lxsession.mo
/usr/share/locale/fr/LC_MESSAGES/lxsession.mo
/usr/share/locale/frp/LC_MESSAGES/lxsession.mo
/usr/share/locale/gl/LC_MESSAGES/lxsession.mo
/usr/share/locale/he/LC_MESSAGES/lxsession.mo
/usr/share/locale/hr/LC_MESSAGES/lxsession.mo
/usr/share/locale/hu/LC_MESSAGES/lxsession.mo
/usr/share/locale/id/LC_MESSAGES/lxsession.mo
/usr/share/locale/is/LC_MESSAGES/lxsession.mo
/usr/share/locale/it/LC_MESSAGES/lxsession.mo
/usr/share/locale/ja/LC_MESSAGES/lxsession.mo
/usr/share/locale/kk/LC_MESSAGES/lxsession.mo
/usr/share/locale/ko/LC_MESSAGES/lxsession.mo
/usr/share/locale/lg/LC_MESSAGES/lxsession.mo
/usr/share/locale/lt/LC_MESSAGES/lxsession.mo
/usr/share/locale/ml/LC_MESSAGES/lxsession.mo
/usr/share/locale/ms/LC_MESSAGES/lxsession.mo
/usr/share/locale/nb/LC_MESSAGES/lxsession.mo
/usr/share/locale/nl/LC_MESSAGES/lxsession.mo
/usr/share/locale/nn/LC_MESSAGES/lxsession.mo
/usr/share/locale/pa/LC_MESSAGES/lxsession.mo
/usr/share/locale/pl/LC_MESSAGES/lxsession.mo
/usr/share/locale/ps/LC_MESSAGES/lxsession.mo
/usr/share/locale/pt/LC_MESSAGES/lxsession.mo
/usr/share/locale/pt_BR/LC_MESSAGES/lxsession.mo
/usr/share/locale/ro/LC_MESSAGES/lxsession.mo
/usr/share/locale/ru/LC_MESSAGES/lxsession.mo
/usr/share/locale/si/LC_MESSAGES/lxsession.mo
/usr/share/locale/sk/LC_MESSAGES/lxsession.mo
/usr/share/locale/sl/LC_MESSAGES/lxsession.mo
/usr/share/locale/sr/LC_MESSAGES/lxsession.mo
/usr/share/locale/sr@latin/LC_MESSAGES/lxsession.mo
/usr/share/locale/sv/LC_MESSAGES/lxsession.mo
/usr/share/locale/te/LC_MESSAGES/lxsession.mo
/usr/share/locale/th/LC_MESSAGES/lxsession.mo
/usr/share/locale/tr/LC_MESSAGES/lxsession.mo
/usr/share/locale/tt_RU/LC_MESSAGES/lxsession.mo
/usr/share/locale/ug/LC_MESSAGES/lxsession.mo
/usr/share/locale/uk/LC_MESSAGES/lxsession.mo
/usr/share/locale/ur/LC_MESSAGES/lxsession.mo
/usr/share/locale/ur_PK/LC_MESSAGES/lxsession.mo
/usr/share/locale/vi/LC_MESSAGES/lxsession.mo
/usr/share/locale/zh_CN/LC_MESSAGES/lxsession.mo
/usr/share/locale/zh_TW/LC_MESSAGES/lxsession.mo
/usr/share/lxsession
/usr/share/lxsession/images
/usr/share/lxsession/images/gnome-session-hibernate.png
/usr/share/lxsession/images/gnome-session-reboot.png
/usr/share/lxsession/images/gnome-session-suspend.png
/usr/share/lxsession/images/gnome-session-switch.png
/usr/share/lxsession/images/system-log-out.png
/usr/share/lxsession/images/system-shutdown.png
/usr/share/lxsession/ui
/usr/share/lxsession/ui/lxsession-default-apps.ui
/usr/share/man/man1/lxclipboard.1.gz
/usr/share/man/man1/lxlock.1.gz
/usr/share/man/man1/lxpolkit.1.gz
/usr/share/man/man1/lxsession-db.1.gz
/usr/share/man/man1/lxsession-default-apps.1.gz
/usr/share/man/man1/lxsession-default-terminal.1.gz
/usr/share/man/man1/lxsession-default.1.gz
/usr/share/man/man1/lxsession-edit.1.gz
/usr/share/man/man1/lxsession-logout.1.gz
/usr/share/man/man1/lxsession-xdg-autostart.1.gz
/usr/share/man/man1/lxsession.1.gz
/usr/share/man/man1/lxsettings-daemon.1.gz

References

Summary

In this tutorial we learn how to install lxsession on Fedora 34 using yum and dnf.