On Sunday, 26 October 2025 06:54:35 Greenwich Mean Time Dale wrote: > I read down to the part about Pam under Troubleshooting, close to the > bottom. I was missing a file with a single line. The other file and > line was there. This is what was missing, file name and contents. > > > root@Gentoo-1 / # cat /etc/pam.d/elogind-user > session optional pam_elogind.so > root@Gentoo-1 / #
The package sys-auth/pambase installs a number of configuration files under / etc/pam.d/, but I can't find an elogind-user on my system: ~ # find /etc/pam.d/ -name *login* /etc/pam.d/login /etc/pam.d/sddm-autologin /etc/pam.d/system-local-login /etc/pam.d/system-login /etc/pam.d/system-remote-login The missing entry you identified is also not found on my system, note the "-" sign in front of the second entry: ~ # grep pam_elogind.so -r /etc/pam.d/ /etc/pam.d/sddm-greeter:session required pam_elogind.so /etc/pam.d/system-login:-session optional pam_elogind.so I'm on sys-auth/pambase-20251013, which I recall introduced a couple of changes in the pam config files. > I can't logout right now but that is next, when I can stop some things > long enough to do so. This is the current output of XDG variables. > Note the missing RUNTIME one. The file creations hasn't taken effect yet. > > > root@Gentoo-1 / # env | grep "XDG" > XDG_CONFIG_DIRS=/home/dale/.config/kdedefaults:/etc/xdg > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 > XDG_MENU_PREFIX=plasma- > XDG_SEAT=seat0 > XDG_SESSION_TYPE=x11 > XDG_CURRENT_DESKTOP=KDE > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_CLASS=user > XDG_VTNR=7 > XDG_SESSION_ID=37 > XDG_DATA_DIRS=/usr/local/share:/usr/share > root@Gentoo-1 / # When I login in a VT, I see this: ~ $ ps axf | grep login 3718 ? S 0:00 elogind-daemon 4084 tty1 Ss 0:00 /bin/login -- 4221 tty1 S+ 0:00 \_ /bin/grep -E --color=auto login In Plasma session started via SDDM I see this: ~ $ ps axf | grep login 3718 ? S 0:00 elogind-daemon 7525 pts/1 S+ 0:00 | | \_ /bin/grep -E -- color=auto login 4369 ? SLl 0:00 /usr/bin/ksecretd --pam-login 26 27 Is elogind running? ~ $ rc-service -v elogind status * Executing: /usr/libexec/rc/sh/openrc-run.sh /usr/libexec/rc/sh/openrc- run.sh /etc/init.d/elogind status * status: started Does loginctl show your seat? NOTE: I'm running mostly stable arch on this system.
signature.asc
Description: This is a digitally signed message part.

