Simple multi-seat
Posted
by
Oli
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Oli
Published on 2011-01-16T19:14:58Z
Indexed on
2011/01/16
19:59 UTC
Read the original article
Hit count: 282
multiseat
I've asked about multiseat before. The answer (for 10.04) involved doing it the proper way (eg through gdm
, multiple server layouts). The problem was that gdm
needs to be patched or reverted to 2.20 for multiseat. It's an ugly hack that, worse than anything, will hold up future updates.
As a result, I didn't do anything. I still have a spare video card. I still have the monitor, keyboard and mouse all sitting waiting to jump into action. And I still want to be able to turn that into a simple desktop.
My needs don't seem complicated. I have a second video card, a USB hub and anything connected to that USB hub that I want to be dedicated to another X server. I don't need a login screen (I'm happy hard-coding in a auto-login and I'd be happy with the user starting the X server if that's possible).
This is so simple in my head that I only need two questions:
How can I explicitly start an X server from the command line on an unused video adapter (by passing it whatever configuration I need to)?
Can I have this new X session load a desktop environment on load?
This seems like something you should be able to write in a little upstart script within 10 minutes. That would be perfect for me as then I'd have a nice start/stop control over the secondary desktop from the main desktop (that I want to leave unscathed!)
I'm thinking something as simple as this for the payload:
su -u other_user -c "startx -- localhost hardware-information"
And use .xinitrc to load openbox or something...
© Ask Ubuntu or respective owner