Files
org-roam/20230421112433-lightdm.org
2025-11-05 09:18:11 +01:00

1.5 KiB

lightDM

LightDM is a cross-desktop login-manager. Its key features are:

Cross-desktop - supports different desktop technologies. Supports different display technologies (X, Mir, Wayland …). Lightweight - low memory usage and high performance. Supports guest sessions. Supports remote login (incoming - XDMCP, VNC, outgoing - XDMCP, PAM). Comprehensive test suite. Low code complexity.

LightDM handles the autoligin feature on Linux, which can be enabled in the lightdm conf file located in:

 /etc/lightdm/lightdm.conf

To enable this feature search for the autologin entry inside lightdm.conf and change it as follows: from

  #autologin-guest=false
#autologin-user=user
#autologin-user-timeout=0

to

  autologin-guest=false
autologin-user=<your_username>
autologin-user-timeout=0

Because the config is located in the root folder, you have have root priviliges to change the setting (sudo) Additionally the user has to be part of the autologin group. To add the user to the group type the following command in the command line;

sudo groupadd -r autologin
sudo gpasswd -a username autologin

the first command creates the group if the group does not exist yet. The second command adds the user.