LWN.net Logo

Xinerama and multi-seat

Xinerama and multi-seat

Posted May 4, 2011 19:58 UTC (Wed) by samlh (subscriber, #56788)
In reply to: Systemd and ConsoleKit by josh
Parent article: Systemd and ConsoleKit

Overall I think this is a good idea.

> gdm will spawn one X server for each video card found as they pop up, X itself should discover matching input devices

How would this would affect using Xinerama (multiple cards, one desktop)? This currently is configured through Xorg.conf, would the multihead work make this any harder? As far as I can tell, Xinerama requires a single X server for all cards.


(Log in to post comments)

Xinerama and multi-seat

Posted May 4, 2011 20:22 UTC (Wed) by eean (guest, #50420) [Link]

Well to get multiseat to work currently, you have to turn off the ability of X to automatically recognize HID stuff so that you can assign it manually.

Similarly I bet you'll have to turn off some of the systemd magic so that you can do whatever you do to get multi-card Xinerama to work (I assume you write your own xorg.conf?).

Xinerama and multi-seat

Posted May 4, 2011 20:45 UTC (Wed) by samlh (subscriber, #56788) [Link]

> Similarly I bet you'll have to turn off some of the systemd magic so that you can do whatever you do to get multi-card Xinerama to work (I assume you write your own xorg.conf?).

Sure, I just hope they document how to demagic things. Not sure, but I expect there are a fair number of Xinerama users.

Yes, Xinerama is configured through xorg.conf. Essentially, you set up multiple "Screen"s and list their relative positions in "ServerLayout".

Xinerama and multi-seat

Posted May 5, 2011 9:48 UTC (Thu) by MKesper (subscriber, #38539) [Link]

How do you get xinerama to work with modern X (xrandr)?

Xinerama and multi-seat

Posted May 5, 2011 21:21 UTC (Thu) by Wol (guest, #4433) [Link]

How do you get xrandr to work :-)

I've been bitten - SEVERAL times - by the failure of settings to stick between logins. That's pretty nasty when the screen tells the computer it can do 1600x900, then when that's what X sends, it goes into 1400x800 or whatever it is ...

Cheers,
Wol

Xinerama and multi-seat

Posted May 5, 2011 21:18 UTC (Thu) by Wol (guest, #4433) [Link]

And what happens if you've got one video card, and want to run multi-seat on multiple displays on that card?

That's the situation I'm in - I can run two monitors, one on VGA, one on HDMI, and want to have two mice and two keyboards too.

Cheers,
Wol

Xinerama and multi-seat

Posted May 6, 2011 1:03 UTC (Fri) by samlh (subscriber, #56788) [Link]

You could try use the experimental "ZaphodHeads" option to split one card into multiple SCREENs, but I haven't tested it myself.

See this page on the Nouveau wiki for more information on the whole mess:
http://nouveau.freedesktop.org/wiki/MultiMonitorDesktop

Xinerama and multi-seat

Posted May 6, 2011 14:46 UTC (Fri) by Wol (guest, #4433) [Link]

Great!

Thanks, I'll have to investigate.

Cheers,
Wol

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds