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

Mantas Mikulėnas grawity at gmail.com
Wed Aug 28 06:07:23 PDT 2013


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.

> 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.

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list