Currently, attaching multiple keyboards, mice and monitors has this result: mouse/keyboard input is all sent to the same session, and all attached monitors are "cloned".
Could the kernel be modified so that input / output devices are put into groups? For example, when the system is first started up, all io devices are in the "root" group. The root user creates a second group, then moves io hardware between the groups dynamically.
Rather than having one ttys file, each group would have a ttys file of its own.
X and xorg should not be handling multiple io devices- it is a crude hack to do things that way.
Each set of grouped hardware should have its own set of virtual terminals (again, multiple ttys files).
Eventually, USB devices, sound devices, perhaps even network adapters could be done in this manner; for now, it would be amazing to see support for proper mouse, keyboard, and monitor grouping at the kernel level.
What would be involved in making these changes?
Could the kernel be modified so that input / output devices are put into groups? For example, when the system is first started up, all io devices are in the "root" group. The root user creates a second group, then moves io hardware between the groups dynamically.
Rather than having one ttys file, each group would have a ttys file of its own.
X and xorg should not be handling multiple io devices- it is a crude hack to do things that way.
Each set of grouped hardware should have its own set of virtual terminals (again, multiple ttys files).
Eventually, USB devices, sound devices, perhaps even network adapters could be done in this manner; for now, it would be amazing to see support for proper mouse, keyboard, and monitor grouping at the kernel level.
What would be involved in making these changes?