Message ID | 20230123135239.3793628-1-peter.hoyes@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/4,langdale] arm/lib: Add XAUTHORITY to runfvp environment | expand |
On Mon, 23 Jan 2023 13:52:36 +0000, Peter Hoyes wrote: > 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. Applied, thanks! [1/4] arm/lib: Add XAUTHORITY to runfvp environment commit: 65c36dc6c38e10bc51f485f8d5db991bba50fab2 [2/4] classes: Define FVP_ENV_PASSTHROUGH variable dependencies commit: 9d980336fd7facb5003143b6053d141007668565 [3/4] classes: Prevent passing None to the runfvp environment commit: 7090a9bb8ebfe5b9b06276e495594e72bc88dfbb [4/4] classes: Set ARMLMD_LICENSE_FILE in the runfvp environment commit: a590d6e1b88638f570ba5af7811c3b27f73e7cc2 Best regards,
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]