[Xgl/Xegl] Input Devices
Jim Gettys
Jim.Gettys at hp.com
Wed Jul 27 11:24:22 PDT 2005
On Wed, 2005-07-27 at 09:53 -0700, Alan Coopersmith wrote:
> >
> > How's that gonna work with display managers?
>
> Somewhere down the list of code I need to give back to Xorg from Sun's
> stash is our backdoor channel between the display manager and the X
> server, in which the display manager starts X as root, then once the
> user authenticates to the display manager, the display manager passes
> that information to the X server, which setuid()'s to the authenticated
> user. We use this on x86 today and give up root uid completely once
> this happens - of course, this is after the X server has set the IOPL,
> opened the memory mappings, and done everything else at setup time that
> required root, since all that has to happen before the display manager
> can display the login screen.
>
That would be useful. Of course, we'd like X to normally not be running
at root at all; we'll probably need a helper process to do one of the
transitions...
- Jim
More information about the xorg
mailing list