40 lines
1.5 KiB
Org Mode
40 lines
1.5 KiB
Org Mode
:PROPERTIES:
|
|
:ID: 60a92fe1-7c58-4d88-b16d-d5a35ab0157a
|
|
:END:
|
|
#+title: lightDM
|
|
|
|
LightDM is a cross-desktop [[id:a6e49794-6de9-4bc1-b448-77e97600d3f3][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:
|
|
#+begin_src bash
|
|
/etc/lightdm/lightdm.conf
|
|
#+end_src
|
|
To enable this feature search for the autologin entry inside lightdm.conf and change it as follows:
|
|
from
|
|
#+begin_src bash
|
|
#autologin-guest=false
|
|
#autologin-user=user
|
|
#autologin-user-timeout=0
|
|
#+end_src
|
|
to
|
|
#+begin_src bash
|
|
autologin-guest=false
|
|
autologin-user=<your_username>
|
|
autologin-user-timeout=0
|
|
#+end_src
|
|
Because the config is located in the [[id:673d1cb1-536b-42f1-a046-40a8937c4283][root]] folder, you have have root priviliges to change the setting ([[id:dc54334e-afa9-4a53-be91-1e90bc6bf8d0][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;
|
|
#+begin_src bash
|
|
sudo groupadd -r autologin
|
|
sudo gpasswd -a username autologin
|
|
#+end_src
|
|
the first command creates the group if the group does not exist yet. The second command adds the user.
|