From 07f0ad981b495b515b1a6a7c3136c4146c6a1bd0 Mon Sep 17 00:00:00 2001 From: Jesse Smith Date: Mon, 1 Feb 2021 21:18:18 -0400 Subject: [PATCH] Mention running GUI applications in the README file. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 95b978a..b9c17fe 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,15 @@ vidoas script accepts no parameters and can be simply run as vidoas +## Desktop applications (GUI applications) + +Please be aware that, by default, doas scrubs most environment variables. In effect +this means certain information about your environment will not be passed to the target +user and graphical desktop applications (GUI applications) will not be able to run. +To enable graphical applications to run from doas, please use the keepenv keyword +in the configuration file. See the doas.conf manual page for details. + +## Running commands using doas To make use of doas, run it in front of any command. Here are some examples: