User: Password:
|
|
Subscribe / Log in / New account

Where are the non-root X servers?

Where are the non-root X servers?

Posted Sep 9, 2010 12:43 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: Where are the non-root X servers? by drag
Parent article: Where are the non-root X servers?

Maybe we can create 'multiplexed' devices?

For example, we can use CUSE to create a personal set of devices for each user. When X is switched between users, we can connect/disconnect these devices from the real underlying input devices.


(Log in to post comments)

Where are the non-root X servers?

Posted Sep 9, 2010 18:27 UTC (Thu) by bronson (subscriber, #4806) [Link]

I was thinking along these lines too. LXC does a good job of giving individual processes their own custom views of system resources. I haven't used it for fine-grained access control yet but, from what I hear, it seems like it would do a good job of isolating X processes and global devices from one another.

Where are the non-root X servers?

Posted Sep 16, 2010 16:26 UTC (Thu) by Wol (guest, #4433) [Link]

I was thinking something like that.

We need a dedicated device driver, then some way of converting that to a file :-) So we can put the "revoke" type code in the device driver (or just above it in HAL or whatever). When a process "opens" the keyboard device, it gets a new file handle from the device driver, which disconnects and leaves any previous file handles hanging (or points them at /dev/zero :-)

Either way, unlike the screen device driver that enforces multiplexed access, the keyboard/mouse/etc drivers enforce simplex access.

Cheers,
Wol


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