SDTLOGIN interface

Dave Airlie airlied at
Thu May 29 17:19:11 PDT 2008

On Fri, May 30, 2008 at 8:16 AM, Alan Coopersmith
<Alan.Coopersmith at> wrote:
> Dave Airlie wrote:
>> Running the X server as the user is in our upcoming plans for Fedora.
>> There is a lot of things that need fixing before this can happen in
>> the drivers.
> Right - the Solaris solution starts the X server as root, and after all
> the hardware is initialized/opened, and the login screen is displayed,
> and the user logs in, it then setuid()'s Xorg to run as the user for the
> rest of the session.   (I think the addition of VT support in Solaris is
> going to make us setuid back to root and then back to the user around VT
> switches, but haven't confirmed that.)

Yes that would be the problem, doing vt switch will of course require
programming the hardware and changing VTs.

I also wonder about doing a modesetting, but perhaps since you have
already opened all the devices and have all the maps
it should be fine.

I heard OpenBSD has some priv sep X server code, but upstream hasn't
seen those patches.


More information about the xorg mailing list