pam_systemd: always set XDG_SESSION_{CLASS|TYPE|DESKTOP}
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Jul 2018 09:28:37 +0000 (11:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Jul 2018 14:09:33 +0000 (16:09 +0200)
commitb2f74f079dce955c1aa8d9cdcd602a4127157581
tree1340676260e4eea1393c7b3d3f530573152b872f
parentd6baaa6978d3eb5b8e8497021c4ba576aee936a3
pam_systemd: always set XDG_SESSION_{CLASS|TYPE|DESKTOP}

We likely get the data from the env block, but we might also determine
it from elsewhere (such as PAM module parameters). Let's set the env
vars on the env block explicitly, so that they are available always, and
apps can rely on it.
src/login/pam_systemd.c