Re: running Xorg without root

2018-12-12 Thread Lauri Tirkkonen
On Wed, Dec 12 2018 11:09:18 +0100, Mark Kettenis wrote: > > Date: Wed, 12 Dec 2018 01:27:24 +0200 > > From: Lauri Tirkkonen > > > > Hi, > > > > since the Xorg setuid bit was removed, I looked a little bit into what > > it would take to run it without root privs. I have a proof of concept > > pu

Re: running Xorg without root

2018-12-12 Thread Mark Kettenis
> Date: Wed, 12 Dec 2018 01:27:24 +0200 > From: Lauri Tirkkonen > > Hi, > > since the Xorg setuid bit was removed, I looked a little bit into what > it would take to run it without root privs. I have a proof of concept > put together, and things seem to work (on an X220 amd64 + modesetting > dri

Re: running Xorg without root

2018-12-12 Thread Lauri Tirkkonen
argh: On Wed, Dec 12 2018 10:26:42 +0200, Lauri Tirkkonen wrote: > > What was the issue that prompted you to make this change ? > > The console was not opened otherwise if euid==0 euid != 0, I meant. -- Lauri Tirkkonen | lotheac @ IRCnet

Re: running Xorg without root

2018-12-12 Thread Lauri Tirkkonen
On Wed, Dec 12 2018 09:18:45 +0100, Matthieu Herrb wrote: > > diff --git a/xserver/hw/xfree86/common/xf86Init.c > > b/xserver/hw/xfree86/common/xf86Init.c > > index 2a04da045..b814eb412 100644 > > --- a/xserver/hw/xfree86/common/xf86Init.c > > +++ b/xserver/hw/xfree86/common/xf86Init.c > > @@ -967

Re: running Xorg without root

2018-12-12 Thread Matthieu Herrb
On Wed, Dec 12, 2018 at 01:27:24AM +0200, Lauri Tirkkonen wrote: > Hi, > > since the Xorg setuid bit was removed, I looked a little bit into what > it would take to run it without root privs. I have a proof of concept > put together, and things seem to work (on an X220 amd64 + modesetting > driver

running Xorg without root

2018-12-11 Thread Lauri Tirkkonen
Hi, since the Xorg setuid bit was removed, I looked a little bit into what it would take to run it without root privs. I have a proof of concept put together, and things seem to work (on an X220 amd64 + modesetting driver, inteldrm; login on ttyC0 and running xinit). Testing the waters here to se