Announcement

Collapse
No announcement yet.

X.Org Server Now Runs Without Root On OpenBSD

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rexilion
    replied
    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...

    Leave a comment:


  • Rexilion
    replied
    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:


  • rohcQaH
    replied
    Originally posted by Rexilion View Post
    I still wonder why Linux is not doing this for their KMS drivers. Everything is there, right?
    yes, every now and then someone proclaimed "rootless X works now!".

    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:


  • Rexilion
    replied
    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:


  • phoronix
    started a topic X.Org Server Now Runs Without Root On OpenBSD

    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...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X