[systemd-devel] [udev] Scanner rule not applied during boot
Lennart Poettering
lennart at poettering.net
Wed Oct 21 06:52:10 UTC 2020
On Di, 20.10.20 23:16, Marcin Kocur (marcin2006 at gmail.com) wrote:
> Lennart,
>
> I'm using outdated lxdm with Xfce.
>
> I just disabled lxmd, copied fresh /etc/X11/xinit/xinitrc to ~/.xinitrc
> (adding my environment exec command there) and started my environment from
> startx: ACLs didn't change.
>
>
> ~/.xinitrc runs:
> /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
> #!/bin/sh
>
> systemctl --user import-environment DISPLAY XAUTHORITY
>
> if command -v dbus-update-activation-environment >/dev/null 2>&1; then
> dbus-update-activation-environment DISPLAY XAUTHORITY
>
> fi
>
>
> Those variables are:
> [mk at linux ~]$ echo $DISPLAY
> :0.0
> [mk at linux ~]$ echo $XAUTHORITY
>
> /home/mk/.Xauthority
>
> I also tried out SDDM login manager: ACLs weren't applied.
Maybe pam_systemd is missing from your PAM stacks? This smells like a
distro integration thing to me, might make sense to inquire your
distro maintainers about this.
Consider logging in, and using "loginctl" to check if your session is
properly recognized and tracked.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list