GNU bug report logs - #46532
plantuml in pure environment does not find X11

Previous Next

Package: guix;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Mon, 15 Feb 2021 12:53:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>, 46532 <at> debbugs.gnu.org
Subject: bug#46532: plantuml in pure environment does not find X11
Date: Mon, 15 Feb 2021 16:11:53 +0100
[Message part 1 (text/plain, inline)]
On Mon, 2021-02-15 at 13:52 +0100, Dr. Arne Babenhauserheide wrote:
> Dear Guix hackers,
> 
> when installing plantuml in a pure environment, it throws an java.awt.AWTError: Can't connect to X11 window server using ':1' as the value of the DISPLAY variable.

Is the environment variable XAUTHORITY set?
Compare the value inside the environment and outside the environment.

Perhaps "XAUTHORITY" should be added to %precious-variables in
guix/scripts/environment.scm.  An untested patch is attached,
I'll test it now.

Greetings,
Maxime.
[0001-scripts-preserve-XAUTHORITY-in-pure-environments.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.