multiseat not set up correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
In Progress
|
Undecided
|
Richard Hansen | ||
lightdm (Ubuntu) |
In Progress
|
Undecided
|
Richard Hansen |
Bug Description
I have a multiseat xorg.conf setup on Arch Linux (with ServerLayouts called seat-chris and seat-brynn)
Based on the below details, it seems that -sharevts is needed, but not handled correctly by lightdm
If I use a fairly minimal config, I get:
When lightdm starts, Seat 0 is activated
Ctrl-Alt-F8 on Seat 0 kbd activates Seat 1 (deactivates Seat 0)
Ctrl-Alt-F7 on Seat 1 kbd activates Seat 0 (deactivates Seat 1)
lightdm.conf:
-------
[LightDM]
start-default-
[SeatDefaults]
session-
xserver-
[Seat:0]
xserver-
[Seat:1]
xserver-
pstree
-----------
lightdm,9833 /etc/init.d/lightdm start
`-lightdm,9834
|-X,9839 :0 -config xorg.conf.multiseat -layout seat-chris -auth /var/run/
|-X,9841 :1 -config xorg.conf.multiseat -layout seat-brynn -auth /var/run/
|
| `-{lightdm-
|
| `-{lightdm-
|
|
|
`
When I use the sharevts flag on Seat 1, I see the following:
On lightdm start, Seat 0 is activated
After a second or so, Seat 0 goes blank, and Seat 1 is activated
Pressing Ctrl-Alt-F7 on Seat 1 activates Seat 0 again, and I can log in on both correctly
lightdm.conf
-----------------
[LightDM]
start-default-
[SeatDefaults]
session-
xserver-
greeter-
[Seat:0]
xserver-
[Seat:1]
xserver-
xserver-
pstree
-----------
lightdm,21164 /etc/init.d/lightdm start
`-lightdm,21165
|-X,21171 :0 -config xorg.conf.multiseat -layout seat-chris -auth /var/run/
|-X,21173 -sharevts :1 -config xorg.conf.multiseat -layout seat-brynn -auth /var/run/
|
| `-{lightdm-
|
| `-{lightdm-
|
|
|
`
If I try sharevts on both sessions, I see the following:
On lightdm start, Seat 1 starts up
Seat 0 shows a mouse pointer on a text mode console printing the kernel message 'Invalid Framebuffer ID'
If I force kill lightdm and restart it using the init.d service, then it starts correctly
lightdm.conf
------------------
[LightDM]
start-default-
[SeatDefaults]
session-
xserver-
greeter-
[Seat:0]
xserver-
xserver-
[Seat:1]
xserver-
xserver-
pstree
--------
lightdm,32594 /etc/init.d/lightdm start
`-lightdm,32595
|-X,32599 -sharevts :0 -config xorg.conf.multiseat -layout seat-chris -auth /var/run/
|-X,32603 -sharevts :1 -config xorg.conf.multiseat -layout seat-brynn -auth /var/run/
|
| `-{lightdm-
|
| `-{lightdm-
|
|
|
`
Related branches
- Laércio de Sousa (community): Disapprove
- Robert Ancell: Needs Fixing
- Alberts Muktupāvels (community): Approve
- PS Jenkins bot: Pending requested
-
Diff: 301 lines (+85/-11)8 files modifieddata/lightdm.conf (+13/-0)
src/seat-unity.c (+18/-4)
src/seat-xlocal.c (+16/-4)
src/seat-xremote.c (+6/-2)
src/seat.c (+7/-0)
src/seat.h (+2/-0)
src/x-server-local.c (+21/-1)
src/x-server-local.h (+2/-0)
tags: | added: precise |
are you sure the problem is lightdm. there are informations about bad behaviours with "-sharevts" also with other login managers. /bugs.launchpad .net/bugs/ 893590
https:/