← Back to team overview

ubuntu-multiseat team mailing list archive

[Bug 903194] Re: multiseat not set up correctly

 

@a7x, I use Ubuntu 12.04.2.  This PPA focuses only on support multiseat?
Do it keeps sync with the mainstream in other issues? With it I face
much risk of having serious bugs in the system?

-- 
You received this bug notification because you are a member of Ubuntu
Multiseat, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/903194

Title:
  multiseat not set up correctly

Status in Light Display Manager:
  In Progress
Status in “lightdm” package in Ubuntu:
  In Progress

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-seat=false
  [SeatDefaults]
  session-wrapper=/etc/lightdm/Xsession
  xserver-config=xorg.conf.multiseat
  [Seat:0]
  xserver-layout=seat-chris
  [Seat:1]
  xserver-layout=seat-brynn

  pstree
  -----------
  lightdm,9833 /etc/init.d/lightdm start
    `-lightdm,9834
        |-X,9839 :0 -config xorg.conf.multiseat -layout seat-chris -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        |-X,9841 :1 -config xorg.conf.multiseat -layout seat-brynn -auth /var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
        |-lightdm-gtk-gre,9860
        |   `-{lightdm-gtk-gr},9861
        |-lightdm-gtk-gre,9881
        |   `-{lightdm-gtk-gr},9882
        |-{lightdm},9837
        |-{lightdm},9840
        |-{lightdm},9863
        `-{lightdm},9884


  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-seat=false
  [SeatDefaults]
  session-wrapper=/etc/lightdm/Xsession
  xserver-config=xorg.conf.multiseat
  greeter-hide-users=false
  [Seat:0]
  xserver-layout=seat-chris
  [Seat:1]
  xserver-command=/usr/bin/X -sharevts
  xserver-layout=seat-brynn

  pstree
  -----------
  lightdm,21164 /etc/init.d/lightdm start
    `-lightdm,21165
        |-X,21171 :0 -config xorg.conf.multiseat -layout seat-chris -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        |-X,21173 -sharevts :1 -config xorg.conf.multiseat -layout seat-brynn -auth /var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
        |-lightdm-gtk-gre,21192
        |   `-{lightdm-gtk-gr},21193
        |-lightdm-gtk-gre,21210
        |   `-{lightdm-gtk-gr},21211
        |-{lightdm},21168
        |-{lightdm},21172
        |-{lightdm},21195
        `-{lightdm},21215

  
  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-seat=false
  [SeatDefaults]
  session-wrapper=/etc/lightdm/Xsession
  xserver-config=xorg.conf.multiseat
  greeter-hide-users=false
  [Seat:0]
  xserver-command=/usr/bin/X -sharevts
  xserver-layout=seat-chris
  [Seat:1]
  xserver-command=/usr/bin/X -sharevts
  xserver-layout=seat-brynn

  pstree
  --------
  lightdm,32594 /etc/init.d/lightdm start
    `-lightdm,32595
        |-X,32599 -sharevts :0 -config xorg.conf.multiseat -layout seat-chris -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        |-X,32603 -sharevts :1 -config xorg.conf.multiseat -layout seat-brynn -auth /var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
        |-lightdm-gtk-gre,32620
        |   `-{lightdm-gtk-gr},32623
        |-lightdm-gtk-gre,32640
        |   `-{lightdm-gtk-gr},32643
        |-{lightdm},32598
        |-{lightdm},32600
        |-{lightdm},32645
        `-{lightdm},4109

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/903194/+subscriptions