[systemd-devel] [206] Using `systemd --user` to manage user's session -- is it still possible?

Ivan Shapovalov intelfx100 at gmail.com
Sat Sep 7 10:12:42 PDT 2013


On Wednesday 28 August 2013 at 16:07:23, Mantas wrote:
> Partial reply:
> 
> On Wed, Aug 28, 2013 at 10:15 AM, Ivan Shapovalov <intelfx100 at gmail.com> 
wrote:
> > With v206, that stopped working. It seems that `systemd --user` now must 
be
> > launched
> > 1) with PAMName=systemd-shared
> > […]
> > 3) with /etc/pam.d/systemd-shared symlinked to system-login or whatever
> >    (see https://bugs.freedesktop.org/show_bug.cgi?id=68164)
> >
> > ...to have XDG_RUNTIME_DIR=/run/user/%U instead of /run.
> 
> The only requirement here is that PAM must call pam_systemd.so to set
> up cgroups and XDG_RUNTIME_DIR. It's nothing new to v205/v206.

Seems like it is a distro problem (not having /etc/pam.d/systemd-shared). 
Anybody using Arch, do you have that file?

> 
> > 2) by logind on a per-user basis
> >    (IOW, `systemctl start user at 1000.service` does not work)
> 
> It /should/ work, because that's exactly how logind starts it.
> 
> 

Yes, I see from source... but it doesn't work. Somewhy.

So, does anybody have some hints on this (I mean, the whole question)?

- Ivan


More information about the systemd-devel mailing list