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 23:41:59 +0100
On Monday 03 of February 2014 23:32:02 David C. Rankin wrote:
> On 02/03/2014 04:15 PM, Slávek Banko wrote:
> > Now I read it again and if I understand it correctly, is that about
> > correct setting PAM => no need to change the source code of TDM?
> Yes -- there may be minor changes, but I believe the key is #3 and making
> sure the pam stack has the needed information including pam_systemd. The
> coding should be negligible. We just have to figure out how to tell if the
> pam stack is set properly in TDE/TDM. How in the heck do you do that?
> The environment settings are what was suggested in #2 and #4 on the
> page.

Aha, so #1 is a little different :)

For #1: WITH_CONSOLE_KIT is defined in dm.h => is always set. However, if 
ConsoleKit is not available on your system, it should not be a problem. 
Session will not be registered under the ConsoleKit and XDG_SESSION_COOKIE 
will not be set => no need to change source code TDM.

If I understand correctly, #2 can be set in PAM configuration => no need to 
change source code TDM. And #4 is optional => no need to change source code