[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrading to wheezy - multiseat stops working



Sergey Spiridonov wrote:
Hi Debian

I try to upgrade my working multi-seat installation to wheezy. I have nvidia graphic cards. In squeeze I used gdm. It was working OK. I had following entries in gdm.conf:

8<--------------------------------->8
[servers]
0=Standard0
1=Standard1

[server-Standard0]
name=Standard server
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:2:0:0 -layout seat0
flexible=false

[server-Standard1]
name=Standard server
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:3:0:0 -layout seat1
flexible=false
8<--------------------------------->8


Nothing special...

Wheezy does not have gdm. There is gdm3, but Google tells that it does not support multi-seat. So, I took lightdm. Here is first lightdm.conf (copy-paste from gdm):
8<--------------------------------->8
[LightDM]
minimum-display-number=0
minimum-vt=7
xserver-allow-tcp=false

[SeatDefaults]
xserver-command=/usr/bin/X
xserver-allow-tcp=false
greeter-session=lightdm-greeter
session-wrapper=/etc/X11/Xsession


[Seat:0]
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:2:0:0
xserver-layout=seat0

[Seat:1]
command=/usr/bin/X -novtswitch -sharevts vt8 -isolateDevice PCI:3:0:0
xserver-layout=seat1

8<--------------------------------->8

This does not work. I reduced X command as much as possible. When I look at ps output, I can see that isolateDevice is filtered by lightdm. Also lightdm adds his own options to X, so reduced command line looks like the following:

[Seat:0]
command=/usr/bin/X
xserver-layout=seat1

[Seat:1]
command=/usr/bin/X -sharevts
xserver-layout=seat0


After reboot I get login screen on one of the seat. Seat0 alternate with seat1. First time I get seat1 next time seat0, then again seat1 and so on. Another display always stays black.

If I get seat1 running, I get both X server in process list:

$ ps a| grep X
3494 tty7 Ss+ 0:00 /usr/bin/X :0 -layout seat1 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch 3496 tty8 Ss+ 0:13 /usr/bin/X :1 -layout seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch


If I get seat0 running, I get only one X server. Another just exits or sometimes crashes.

I do not see errors or something unusual in log files.

Interesting is that sharevts option is always filtered by lightdm and is not passed to X server, as well as isolateDevice option.

I am attaching config files, but there is nothing special there. xorg.conf is working in squeeze. Log files do not show any error.

What I tried:

1. Switched order of seats in lightdm - no effect
2. Added Option "ProbeAllGpus" "FALSE" to all nvidia sections - no effect

I did not file bug report yet.


Glad to see someone is still trying multiseat! AFAIK the problem is the loss of gdm. It is still in sid, have you tried running with that? Another possibility, have you tried running without a DM but just with startx? Like:

startx -- :0 -layout X1 -dpi 110 -isolateDevice PCI:1:0:0
startx -- :1 -layout X0 -dpi 110 -isolateDevice PCI:0:8:0 -sharevts

Hugo


Reply to: