posted by Thom Holwerda on Mon 12th May 2008 20:35 UTC, submitted by diegocg
There are a lot of problems with running X as root - mostly from a security point of view. David Airlie has succeeded in starting the X server with user rights instead of root privileges. It required only 300 lines of code in the xserver and the driver itself (Intel in this case) and some other locations. It worked - but wasn't particularly stable.
Surprisingly it mostly seems to work, I can start the server + gnome-session + DRI2 + compiz + glxgears on a cube, granted it oopses soon afterwards but it does show we are very close to realising the dream.
In the comments, Airlie explains that applications shouldn't need any modifications, since X client applications shouldn't need to run as root. Drivers of course do need to be modified.



2