Wrong!! I already have a multi-desktop system running at home. I have two
PS/2 keyboards, Sun keyboard, and a USB keyboard hooked up to my system. I
only have two monitors/video cards so I only have two VTs going at the
same time. I even managed to get two X servers running on each VT
independent of each other. This was not ease but it is possible.
I can tell you I didn't use any type of id system. How do I deal with
devices like multiple sound cards (yes I have that too) in a multidesktop
environment? With file permission on the device nodes. I created
different groups for different desktops. With a little tweaking with PAM
when I login to a specific workstation I'm automatically added to a
certain desktop group. I can't access any devices that belong to another
desktop group. When I logout I'm removed from that group. Now xdm needs a
little hacking to make this work.
The beauty of this approach is the admin determines which devices
belong to which desktop. Now for hotpluggable devices when they plugged
back in a device they just unplugged and they don't end up on the same
device that new device will belong to no one. They can use some userland
utility then to grab the device. In this case it is first come first
serve. Surely when you plug in your device you are NOT going to steal a
device in use but one that is avaliable. Now what if two people unplug
their mice at the same time and plug them back in and they are mixed up.
Again I think a userland utility can solve this problem. Here you would
need to be root to fix the problem.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/