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.
Related Articles
posted by Rahul on Tue 4th Nov 2008 06:17
posted by Thom Holwerda on Wed 8th Oct 2008 22:32 submitted by Eric Masson
posted by Amjith Ramanujam on Tue 23rd Sep 2008 21:42 submitted by Michael Larabel



