Support multi-seat using one X server and Xephyr servers per seat
Bug #1169724 reported by
Andrzej Pietrasiewicz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
This is in response to:
https:/
Attached are log files for running without my patch (vtswitch.tar.gz) and with my patch (commonvt.tar.gz).
Without the patch applied the Xephyrs (but without greeters) show up for a while and then the computer locks with a black console screen with a cursor blinking; it is only possible to ssh into it and gracefully shut it down.
With the patch applied the two seats are up and running. To be honest I added a 5-seconds sleep before running each Xephyr, but other than that it runs ok.
Related branches
lp:~andrzejtp2010/lightdm/lightdm-trunk-xephyr-multiseat
Rejected
for merging
into
lp:lightdm
- Robert Ancell: Disapprove
-
Diff: 72 lines (+19/-1)3 files modifiedsrc/lightdm.c (+2/-0)
src/vt.c (+8/-0)
src/xserver-local.c (+9/-1)
To post a comment you must log in.
Hi Andrzej,
Thanks for reporting this. Some thoughts on this use case:
This is not a supported way of using LightDM,since you configure three seats where in fact there is only two seats (seat 0 is being used as a method running multiple seats at once on one VT). This setup has the issue of the seats not being independent (i.e. seats 1 and 2 need seat 0 to be ready and running to work) and will confuse LightDM in cases like user switching (LightDM expects to be able to switch sessions using VTs).
If we were to correctly support this case LightDM would need to define a new seat type in src/seat-xephyr.c. This seat type would have a shared X server and run one Xephyr per seat. I'm not sure how common this case is, but I'm open to hearing feedback on this.