meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4][langdale] arm/lib: Add XAUTHORITY to runfvp environment
@ 2023-01-23 13:52 Peter Hoyes
  2023-01-23 13:52 ` [PATCH 2/4][langdale] classes: Define FVP_ENV_PASSTHROUGH variable dependencies Peter Hoyes
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peter Hoyes @ 2023-01-23 13:52 UTC (permalink / raw)
  To: meta-arm; +Cc: Peter Hoyes

From: Peter Hoyes <Peter.Hoyes@arm.com>

aa89fe3f ensured environment variables necessary for GUI applications
are passed through to the model despite runfvp env var restrictions. Add
XAUTHORITY to this list. This is useful when doing X-forwarding with
Kas, which creates its own home directory.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
---
 meta-arm/lib/fvp/runner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arm/lib/fvp/runner.py b/meta-arm/lib/fvp/runner.py
index 4fd624ba..c52cdc1c 100644
--- a/meta-arm/lib/fvp/runner.py
+++ b/meta-arm/lib/fvp/runner.py
@@ -91,7 +91,7 @@ class FVPRunner:
         # Pass through environment variables needed for GUI applications, such
         # as xterm, to work.
         env = config['env']
-        for name in ('DISPLAY', 'WAYLAND_DISPLAY'):
+        for name in ('DISPLAY', 'WAYLAND_DISPLAY', 'XAUTHORITY'):
             if name in os.environ:
                 env[name] = os.environ[name]
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-24  2:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 13:52 [PATCH 1/4][langdale] arm/lib: Add XAUTHORITY to runfvp environment Peter Hoyes
2023-01-23 13:52 ` [PATCH 2/4][langdale] classes: Define FVP_ENV_PASSTHROUGH variable dependencies Peter Hoyes
2023-01-23 13:52 ` [PATCH 3/4][langdale] classes: Prevent passing None to the runfvp environment Peter Hoyes
2023-01-23 13:52 ` [PATCH 4/4][langdale] classes: Set ARMLMD_LICENSE_FILE in " Peter Hoyes
2023-01-24  2:10 ` [PATCH 1/4][langdale] arm/lib: Add XAUTHORITY to " Jon Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).