On 9.1.2014 11:19, Łukasz Stelmach wrote:
It was <2014-01-09 czw 08:51>, when Yang Chengwei wrote:
On Wed, Jan 08, 2014 at 11:38:02AM +0200, Jussi Laako wrote:
On 6.1.2014 10:30, Yin Kangkai wrote:
We can fiddle with PAM configurations (/etc/pam.d) to work around
this.

Just a short note, partially related to this is that we have our
ongoing work of tlm (Tizen Login Manager) here:
https://github.com/01org/tlm

Did you consider that systemd will replace tlm, just like it claims to
replace the other session managers.

Since we are using systemd user session, it likely to ask systemd to as
the session manager too.

See http://lists.freedesktop.org/archives/dbus/2014-January/015927.html

As far as I can understand:

     Login Manager != Session Manager

tlm would authenticate users and launche systemd as session manager, am
I wrong?

At the moment it handles TTY setup, PAM authentication flow and bootstraps/ends the session as required by PAM. It can launch either $SHELL, "systemd --user" or anything else as session. Our current expectation is that it would launch "systemd --user" in Tizen, but it can be configured to do something else too.

So you can think of tlm as headless version of login and/or *dm (it can act in both roles). You can add GUI on top of it, but it is not necessary. You can ask it to switch the user without having GUI involved. It works in co-operation with systemd. The model is slightly difference for Tizen compared traditional X dm's because with X the Xserver is traditionally restarted between sessions but we expect to support both models.

TLM is trying to keep some kind of session alive on all seats (queried from systemd). Either with default (guest) user or some other specific user as requested. When session is terminated it falls back to the default "guest" login. So that is the main difference to *dm's - it doesn't sit in a login prompt waiting for input. This is the behavior defined for IVI and I'd expect mobile is also supposed to have a session always alive, although TLM is not strictly necessary for mobile as long as it is single user. But it could help solving some of the problems discussed...

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to