On 06/10/11 20:39, Michal Suchanek wrote: > Hello, > > I would like to check this out but how do I tell this actually works? I use this patch for using Xorg as an "Xdummy" server, like so: /usr/local/bin/Xorg +extension GLX +extension RandR +extension Render -logfile $HOME/log -config $HOME/xorg.conf' My "Xdummy" xorg.conf can be found here: http://xpra.org/src/Xdummy/xorg.conf
This will fail without the patch since you cannot use your own config or log file location. You can then "chmod +s" Xorg and it will then refuse to honour those flags. > Xephyr and Xvfb already run as non-root, Xorg needs device access to > run which will likely fail as non-root. The particular use case which led me to write this patch does not require any hardware access (dummy driver), for more information on the changes and the reason why checking for root "is always the wrong check" please see this discussion: http://www.mail-archive.com/[email protected]/msg25230.html AFAIK there are a number of things that still need to be addressed to allow X to run as root against real hardware. This patch does not try to address any of it. Cheers Antoine > Thanks > Michal
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
