One minute
running X as non-root
airlied patched X server to run non-root
So X servers run as root, and this isn’t good, for many many reason, and it wasn’t always this way on other UNIXes.
So as part of my quick hacks work I got an accelerated X server on intel hw that ran as a user today.
The hacked up patches were around 300 lines total, one bit in the xserver, lots of non-root ioctl hacks to the drm and the intel driver had to register it wasn’t a hw driver with X, and then fix up its buffer allocations to be non-evicted.