Weird 5 minute rule, anyways:
EDIT: I'm also concerned about external monitor handling. If I plug in the TV with a D-sub cable, will that still work? Are these part of the DRM ioctls? Who knows...
Announcement
Collapse
No announcement yet.
X.Org Server Now Runs Without Root On OpenBSD
Collapse
X
-
It's explained here: https://wiki.ubuntu.com/X/Rootless
It mostly comes down to /dev/input/* handling. On single user, one could chown and chmod your way out. You need to do this for the VT as well but that is not a problem. Furthermore, it would require some UDEV handling for plugging in/out devices causing nodes in /dev/input to disappear or reappear.
I might make this a project for my parents laptop and PC. Looks doable, interesting and beneficial.
I might consider creating a privileged user for X and let the default user piggyback on it (setgid might do this) as reported in the wiki. The only thing that would result from an exploit in X would allow one to snoop keyboard/mouse data. But that also the case right now.
Leave a comment:
-
Originally posted by Rexilion View PostI still wonder why Linux is not doing this for their KMS drivers. Everything is there, right?
but then again (gentoo)
Code:~> ps aux | grep X root 2052 4.1 0.9 202528 72644 tty7 Ssl+ Feb15 502:03 /usr/bin/X -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/...
Leave a comment:
-
I still wonder why Linux is not doing this for their KMS drivers. Everything is there, right?
One could make an exception for those using nvidia or fglrx and make that run as root.
Leave a comment:
-
X.Org Server Now Runs Without Root On OpenBSD
Phoronix: X.Org Server Now Runs Without Root On OpenBSD
The OpenBSD operating system now supports running its X.Org Server without root permissions for better security...
Tags: None
Leave a comment: