trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] TDE running on systemd will require code changes proper session tracking?

From: Slávek Banko <slavek.banko@...>
Date: Mon, 3 Feb 2014 21:41:00 +0100
On Monday 03 of February 2014 21:02:19 David C. Rankin wrote:
> On 02/03/2014 01:01 PM, Slávek Banko wrote:
> >> Is there anything we can add to /etc/profile.d/trinity.sh that might
> >>
> >> > help?
> >
> > I assume that the essence of 'good conduct' on Ubuntu Saucy's is presence
> > ConsoleKit and creating ConsoleKit session in TDM. I'm afraid that the
> > absence ConsoleKit requires to add SystemD session management into TDM.
> >
> > Right now I search the entire git tree if anything use
> > XDG_SESSION_COOKIE, which is specific for ConsoleKit. Such would require
> > a fix for
> > the "clean" SystemD session.
>
> Slavek,
>
>   What graphical authentication agent does TDE load? Does it work with
> polkit? Also, I found:
>
> 14:00 phoinix:/dat_e/tde/tde/main/tdebase> grep -rn XDG_SESSION_COOKIE *
> tdm/backend/client.c:1315:              env = setEnv ( env,
> "XDG_SESSION_COOKIE", ck_session_cookie );
> tdm/backend/client.c:1320:              env = setEnv ( env,
> "XDG_SESSION_COOKIE", ck_session_cookie );
>
>   So what kind of fix do we need?

Outside of that was found in tdebase, XDG_SESSION_COOKIE is used in kpowersave 
and tdepowersave (will be fixed after commit patch from bug 1597). This is 
good news - on the ConsoleKit no more dependent - only TDM. In other words, 
it should be enough to add support for SystemD session into TDM. I will try 
to assess how difficult this task is...

Slavek
--