Matt Turner posted on Sun, 01 Apr 2018 20:08:35 -0700 as excerpted: > My list of to-do items consists of: > > == Fix x11-base/xorg-server suid/systemd situation == > https://bugs.gentoo.org/635102 > > Under some circumstances (kernel modesetting driver + systemd, I think) > Xorg should be able to run without root privileges. We were shipping a > USE=suid option without anyone knowing or understanding its purpose.
FWIW I understood it, but also knew it broke X for me back when I first tried it. However... > For >=x11-base/xorg-server-1.20 I plan to ship the xserver in a way that > allows systemd/elogind users with kernel modesetting drivers to run Xorg > without root privileges. I expect to push version 1.19.99.902 (1.20 RC2) > into the tree soon with something working for systemd. I would very much > appreciate an ebuild patch from any elogind user as well as non-systemd > testing to make sure I haven't broken anything like I did with > 1.19.99.901. I noticed the recent no-superuser X changes here (on ~amd64), and decided to try it again... And now (after undoing an old hack I had to manually set SUID here) I have X running as my normal user. Thanks! =:^) FWIW, systemd with modesetting (amdgpu), as you suspected. startx (no *dm at all merged). X starts on top of the vt1 login. xorg- server-1.19.99.901-r1 > == Update packages to depend on x11-base/xorg-proto == > https://bugs.gentoo.org/651286 > > The new x11-base/xorg-proto package combines nearly all (28 in fact) of > the x11-proto/* packages into one, with a very fast Meson build system. > It installs on my laptop in less time than it takes to ./configure one > of the individual x11-proto/ packages. I've kept empty versions of the > x11-proto/ packages to ease the transition. I noticed that I didn't need many of the protos any longer here too, and figured it was a recombining. Thanks for the confirmation. =:^) And thanks for the roadmap to what's ahead re X. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman