Bug#935194: xfce4-session: Xfce session fails to start when previously logged into GNOME
> I don't use GNOME and am not at all knowledgeable in systemctl “user”
To be able to reproduce, analyze or even fix this issue it would be good
if you install GNOME in parallel to Xfce.
> In any case, that commands reports nothing in my Xfce session.
Yes, as I said, Xfce doesn't set the variable SESSION_MANAGER (at least
not in the systemd manager environment block, only in the standard user
> I don't really understand how it's possible. A new Xsession should be run
> every time there's a new cycle. How can the environnement could be
I think this is a feature of systemd. I only found some sparse infos in
the manpage. See here:
for Environment Commands).
> SESSION_MANAGER is definitely set here:
> printenv |grep SESSION_MANAGER
> (32176 is the pid of the currently running xfce4-session process).
Yes, the variable is set in the standard user environment, but (as I
said above) not in the systemd manager environment block which is
persistent across logins.