summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2019-03-21 20:39:09 +0100
committerPiotr Karbowski <slashbeast@gentoo.org>2019-03-21 20:39:09 +0100
commitbdd4b3309fef4c58066f9a5f88b4db448be19dfe (patch)
tree991d4ebf021e5e6f04c2669fb2398cedf3b2c06f /x11-base/xorg-server/metadata.xml
parentmedia-plugins/kodi-pvr-vuplus: 3.20.0 version bump (diff)
downloadgentoo-bdd4b3309fef4c58066f9a5f88b4db448be19dfe.tar.gz
gentoo-bdd4b3309fef4c58066f9a5f88b4db448be19dfe.tar.bz2
gentoo-bdd4b3309fef4c58066f9a5f88b4db448be19dfe.zip
x11-base/xorg-server: elogind integration, -suid by default.
This enables users that does not run systemd to have suid-less Xorg. A privileged entity is required for SETMASTER and DROPMASTER calls to get control over framebuffer. Additionally elogind with udev grant user access to input device nodes and elogind alone interfaces the SETMASTER/DROPMASTER calls. Xorg-server will do keeptty automatically, meaning one does not need to pass any extra parameters to `startx` to get things working, It does take adventage of $XDG_SEAT and $XDG_VTNR set by pam_elogind upon login. Although it's possible to run rootless without udev (with any /dev manager, like mdev of busybox), the configure flag that USE=elogind enables (--enable-systemd-logind) checks if udev toggle is also enabled. This leads to a situation where udev needs to be present on user system while building, however, udev does not needs to be running, as long as user is in video and input system groups, elogind is running and user logged in when pam_elogind.so was enabled Xorg will start as regular user. Closes: https://bugs.gentoo.org/670930 Ack-by: Matt Turner <mattst88@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'x11-base/xorg-server/metadata.xml')
-rw-r--r--x11-base/xorg-server/metadata.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-base/xorg-server/metadata.xml b/x11-base/xorg-server/metadata.xml
index 74e52195b25..5c14eec54c8 100644
--- a/x11-base/xorg-server/metadata.xml
+++ b/x11-base/xorg-server/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="dmx">Build the Distributed Multiheaded X server</flag>
+ <flag name="elogind">Use elogind to get control over framebuffer when running as regular user</flag>
<flag name="glamor">Enable Glamor OpenGL 2D acceleration</flag>
<flag name="kdrive">Build the kdrive X servers</flag>
<flag name="unwind">Enable libunwind usage for backtraces</flag>