Mir

Handling session tracking with a system compositor

Registered by Chris Halse Rogers on 2013-07-30

Logind currently assumes that each local session lives on a unique VT. We break this - each session under unity-system-compositor lives on the same VT, and longer term we'll disable VTs entirely. We need to patch LightDM to patch, extend, or supplant logind.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

We've currently got a bunch of hacks to make logind marginally work with u-s-c - we set the XDG_SEAT and XDG_VTNR environment variables manually, and this fools logind enough to set the device ACLs for the session.

As soon as we support user switching this will fail - logind will get confused as to which session is active.

It's not clear to me why LightDM isn't in charge of session tracking and switching; perhaps long term it should be. For now we need to support mixed VT and unity-system-compositor sessions, so we'll need to hook up LightDM and logind so that logind tracks the sessions and delegates to LightDM for everything else related to the system-compositor sessions.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.