From 5ce789c8116f186c94bcfb65ba4f417871ce68f7 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Wed, 30 Oct 2019 06:24:02 +0000 Subject: [PATCH] Add sudoers configuration for Xorg. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22329 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 4 ++-- introduction/welcome/changelog.xml | 9 +++++++++ x/installing/xorg7.xml | 13 +++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/general.ent b/general.ent index b163229576..1b55ae1a4f 100644 --- a/general.ent +++ b/general.ent @@ -1,12 +1,12 @@ - + - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index c94dc2c02c..2786b34fe7 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -41,6 +41,15 @@ --> + + October 30th, 2019 + + + [dj] - Add sudoers configuration for Xorg. + + + + October 29th, 2019 diff --git a/x/installing/xorg7.xml b/x/installing/xorg7.xml index 95f8e35b2a..99d9e32893 100644 --- a/x/installing/xorg7.xml +++ b/x/installing/xorg7.xml @@ -137,6 +137,19 @@ chmod 644 /etc/profile.d/xorg.sh will not remove the baskslash. It must then be removed manually. + + If you've installed , ensure that + XORG_PREFIX and XORG_CONFIG are available + in the sudo environment. As the + root user, run the following + command: + + +cat > /etc/sudoers.d/xorg << EOF +Defaults env_keep += XORG_PREFIX +Defaults env_keep += XORG_CONFIG +EOF + If you've decided to use the standard /usr prefix, you can omit the remainder of this page and continue at .