[systemd-devel] user sessions and remote logins
Lennart Poettering
lennart at poettering.net
Sun Sep 6 03:17:21 PDT 2015
On Sat, 05.09.15 22:49, Chaiken, Alison (alison at she-devel.com) wrote:
> With systemd-225, when I login to a host from the console or any text
> VT, 'loginctl list-sessions' and 'echo $XDG_SESSION_COOKIE' prints a
> long hash. Each VT login creates a new session.
>
> When I ssh into the same host from a remote, 'loginctl list-sessions'
> shows that no new session is created, and XDG_SESSION_COOKIE variable is
> unset.
Yeah, this should have the same effect. Maybe "pam_systemd" is missing
from the PAM configuration for your ssh? Or maybe you are running a
system where PAM is turned off entirely for ssh? Which distro is this?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list