Gentoo Archives: gentoo-user

From: Alec Ten Harmsel <alec@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] java.awt.AWTError
Date: Wed, 03 Feb 2016 13:16:45
Message-Id: 20160203131626.GA767@greenbeast
In Reply to: [gentoo-user] java.awt.AWTError by Helmut Jarausch
1 On Wed, Feb 03, 2016 at 12:44:19PM +0100, Helmut Jarausch wrote:
2 > Hi,
3 >
4 > when emerging sci-geosciences/josm-9999 I get a Java error :
5 >
6 >
7 > java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
8 >
9 >
10 > This is on a local machine using DISPLAY :0
11 >
12 > Would anybody please shed some light on this error.
13 >
14 > (Emerge version 9060 proceeds just fine)
15 >
16 > Many thanks for a hint,
17 > Helmut
18 >
19
20 Sadly, I won't be a whole lot of help. I am experiencing the same thing,
21 but when I build josm by hand in a docker container or on a headless
22 server without X installed I can't reproduce this. I think it is a
23 problem in portage with the environment.
24
25 For now, I would recommend checking it out and building by hand.
26
27 Alec