Commit graph

3 commits

Author SHA1 Message Date
Gerd v. Egidy 845fd55243 rename systemd getty drop-in files: add numbering for easier overriding (they are loaded in lexicographic order) 2022-05-12 21:10:06 +02:00
Marcos Mello 755ccff92f Adapt autologin drop-ins for systemd 250
Fixes systemrescue/systemrescue-sources#233
2021-12-29 15:46:34 -03:00
Marcos Mello ba6a52de0d Autologin rework
* Passes through PAM (pam_systemd module) via login(1). This sets up
  systemd --user instance, which will create and listen on dbus session socket.

* login(1) is called (via agetty(8)) with -p option, keeping the environment
  pam_systemd configured for the user, most importantly
  DBUS_SESSION_BUS_ADDRESS.

* Thus dbus-launch call in /etc/X11/xinit/xinitrc is unnecessary.

* autologin.conf drop-in configured in the template unit (getty@.service)
  to make autologin work on all virtual consoles.
2020-03-03 20:21:46 -03:00