Re: [systemd-devel] Create a new logind session from a systemd --user unit

2014-01-08 Thread Colin Walters
[ I'm going to trim the CC, I'm pretty sure everyone who has commented so far is on systemd-devel ] On Wed, 2014-01-08 at 13:55 +0100, David Herrmann wrote: This basically defeats the whole purpose of a session. A lot of it, yes. The session becomes: * A refcount on the user@.service * A

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2014-01-05 Thread Tom Gundersen
Hi Colin, I realise this thread may be out-of-date by now, so please excuse me if I'm commenting on something which has later changed. On Sun, Aug 4, 2013 at 4:46 PM, Colin Walters walt...@verbum.org wrote: On Tue, 2013-07-30 at 01:02 +0200, Lennart Poettering wrote: We are working on this

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-05 Thread Simon McVittie
On 04/08/13 15:46, Colin Walters wrote: 1) Pretty much all the user processes are no longer inside a session at all. 2) It is now much harder to log in multiple times graphically; this is kind of a crazy thing to do, but it's still *possible*. How (if at all) does this cope with gdm

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-05 Thread Colin Walters
On Mon, 2013-08-05 at 12:24 +0100, Simon McVittie wrote: On 04/08/13 15:46, Colin Walters wrote: 1) Pretty much all the user processes are no longer inside a session at all. 2) It is now much harder to log in multiple times graphically; this is kind of a crazy thing to do, but it's

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-05 Thread Colin Walters
On Sun, 2013-08-04 at 21:02 +0300, Oleksii Shevchuk wrote: What about logind/polkit? I.e. if i start nm-applet from systemd@user, than polkit doesn't authenticate it, as it not belong to active session Ok, I tossed up: https://people.gnome.org/~walters/user-session-patches/polkit/ With this

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-05 Thread Colin Walters
On Sun, 2013-08-04 at 10:46 -0400, Colin Walters wrote: https://people.gnome.org/~walters/user-session-patches Now updated with various bugfixes. PolicyKit works, the lock screen works, etc. However...let me call out one particular change: diff --git a/src/login/logind-dbus.c

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-04 Thread Oleksii Shevchuk
What about logind/polkit? I.e. if i start nm-applet from systemd@user, than polkit doesn't authenticate it, as it not belong to active session ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-04 Thread Colin Walters
On Sun, 2013-08-04 at 21:02 +0300, Oleksii Shevchuk wrote: What about logind/polkit? I.e. if i start nm-applet from systemd@user, than polkit doesn't authenticate it, as it not belong to active session https://bugs.freedesktop.org/show_bug.cgi?id=67728

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-07-30 Thread Simon McVittie
On 30/07/13 00:02, Lennart Poettering wrote: Also, D-Bus needs to look for the bus socket in $XDG_RUNTIME_DIR too. If you want this to happen (you in general, but especially Lennart who is a D-Bus reviewer), please review, test and/or adopt https://bugs.freedesktop.org/show_bug.cgi?id=61303. I

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-07-29 Thread Lennart Poettering
On Sat, 27.07.13 21:47, Abdó Roig-Maranges (abdo.r...@gmail.com) wrote: Hello, I'm happily using systemd 204 user instance to handle my desktop (xorg, awesome wm, mpd, etc.) in Arch. I started experimenting with systemd 206 trying to adapt my setup to the changes in cgroups, slices,

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-07-29 Thread Lennart Poettering
On Tue, 30.07.13 01:02, Lennart Poettering (lenn...@poettering.net) wrote: Either use a display manager or simply update your existing session's tty to graphical temporarily, rather then placing things on a new tty. (Note that the Fedora startx script does this implicitly this way) To

[systemd-devel] Create a new logind session from a systemd --user unit

2013-07-27 Thread Abdó Roig-Maranges
Hello, I'm happily using systemd 204 user instance to handle my desktop (xorg, awesome wm, mpd, etc.) in Arch. I started experimenting with systemd 206 trying to adapt my setup to the changes in cgroups, slices, and all that. In 206, systemd user session is started automatically by pam_systemd