How To Install lightdm-autologin-greeter on Fedora 36

In this tutorial we learn how to install lightdm-autologin-greeter in Fedora 36. lightdm-autologin-greeter is Autologin greeter using LightDM

Introduction

In this tutorial we learn how to install lightdm-autologin-greeter on Fedora 36.

What is lightdm-autologin-greeter

lightdm-autologin-greeter is a minimal greeter for LightDM that has the same autologin behavior as nodm, but being based on LightDM, it stays on top of modern display manager requirements. The difference between LightDM’s built-in autologin and this greeter, is the behavior in case of 0-seconds autologin delay. When LightDM automatically logs in with no delay, upon logout it will show the login window again. The intent is that if the default user logged out, they probably intend to log in again as a different user. In the case of managing a kiosk-like setup, if the X session quits, then the desired behavior is to just start it again. LightDM with an autologin timeout of 1 or more seconds would work, but one sees the login dialog window appear and disappear on-screen at each system startup. With this greeter, the X session starts right away, and is restarted if it quits, without any flicker of a login dialog box. If one is not setting up a kiosk-like setup, it’s very likely that the default autologin behavior of LightDM is the way to go, and that this greeter is not needed.

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

Install lightdm-autologin-greeter 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 lightdm-autologin-greeter using dnf by running the following command:

sudo dnf -y install lightdm-autologin-greeter

Install lightdm-autologin-greeter 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 lightdm-autologin-greeter using yum by running the following command:

sudo yum -y install lightdm-autologin-greeter

How To Uninstall lightdm-autologin-greeter on Fedora 36

To uninstall only the lightdm-autologin-greeter package we can use the following command:

sudo dnf remove lightdm-autologin-greeter

lightdm-autologin-greeter Package Contents on Fedora 36

/usr/bin/lightdm-autologin-greeter
/usr/share/doc/lightdm-autologin-greeter
/usr/share/doc/lightdm-autologin-greeter/README.distro
/usr/share/doc/lightdm-autologin-greeter/README.md
/usr/share/licenses/lightdm-autologin-greeter
/usr/share/licenses/lightdm-autologin-greeter/LICENSE
/usr/share/lightdm/lightdm.conf.d/60-lightdm-autologin-greeter.conf
/usr/share/xgreeters/lightdm-autologin-greeter.desktop

References

Summary

In this tutorial we learn how to install lightdm-autologin-greeter on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).