[PATCH xserver] check for elevated privileges rather than just euid=0

Michal Suchanek hramrach at centrum.cz
Thu Oct 6 14:25:00 PDT 2011


On 6 October 2011 17:30, Antoine Martin <antoine at nagafix.co.uk> wrote:
> 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
>

I tried to build a Debian X server package with this patch.

I can run Xorg directly with these arguments but not through the X
suid wrapper Debian uses.

Still I cannot run X server with these arguments when I use su to log
in as root.

Since Debian and Ubuntu ship with root login disabled it disables
these arguments for root entirely which does not sound desirable.

Thanks

Michal


More information about the xorg-devel mailing list