Handling session tracking with a system compositor
Logind currently assumes that each local session lives on a unique VT. We break this - each session under unity-system-
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
- Started by
- Completed by
Related branches
Related bugs
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-