lxdm: various fixes for systemd/pam (via Arch).