Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-19 Thread Lennart Poettering
On Wed, 14.09.11 16:26, Hans de Goede (hdego...@redhat.com) wrote: > Hi, > > The spice guest agent for Linux consists of a system level > process (a daemon) and a per session process (started for > each active xsession). > > Currently the linux spice-vdagent is using ConsoleKit to > figure out (

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-16 Thread Richard Hughes
On 16 September 2011 13:17, Hans de Goede wrote: > Hmm, I cannot find this in gnome-settings-daemon-3.1.91 git master, sorry. Richard. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/syst

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-16 Thread Hans de Goede
Hi, On 15 September 2011 13:41, Matthias Clasen wrote: gdbus introspect --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1 Hmm that does not seem to offer either a method to get the active session, nor a method to go from a pid (the pid of the other end of a unix soc

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-15 Thread Richard Hughes
On 15 September 2011 13:41, Matthias Clasen wrote: > gdbus introspect --system --dest org.freedesktop.login1 --object-path > /org/freedesktop/login1 FWIW, so gnome-settings-daemon could track the active console I added ConsoleKit support in an abstract way, on the logic that it could easily be sw

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-15 Thread Matthias Clasen
On Thu, Sep 15, 2011 at 4:09 AM, Hans de Goede wrote: > Hi, > > On 09/14/2011 04:40 PM, Tomasz Torcz wrote: >> >> On Wed, Sep 14, 2011 at 04:26:20PM +0200, Hans de Goede wrote: >>> >>> Currently the linux spice-vdagent is using ConsoleKit to >>> figure out (for the first seat, it assumes a vm is s

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-15 Thread Hans de Goede
Hi, On 09/14/2011 04:40 PM, Tomasz Torcz wrote: On Wed, Sep 14, 2011 at 04:26:20PM +0200, Hans de Goede wrote: Currently the linux spice-vdagent is using ConsoleKit to figure out (for the first seat, it assumes a vm is single seat): 1) Which session is active (including notification of when th

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-14 Thread Tomasz Torcz
On Wed, Sep 14, 2011 at 04:26:20PM +0200, Hans de Goede wrote: > Currently the linux spice-vdagent is using ConsoleKit to > figure out (for the first seat, it assumes a vm is single seat): > > 1) Which session is active (including notification of when this changes) > 2) Which session each session

[systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-14 Thread Hans de Goede
Hi, The spice guest agent for Linux consists of a system level process (a daemon) and a per session process (started for each active xsession). Currently the linux spice-vdagent is using ConsoleKit to figure out (for the first seat, it assumes a vm is single seat): 1) Which session is active (i