On Wed, 03 Feb 2016 12:44:19 +0100, Helmut Jarausch wrote:

> when emerging sci-geosciences/josm-9999 I get a Java error :
> 
> 
> java.awt.AWTError: Can't connect to X11 window server using ':0' as the
> value of the DISPLAY variable.

Probably because you are running as root and the display is not available.

If you use su, try sux instead, it's a wrapper for su that makes running
X programs easier.

If you're using sudo, try sudo -E.


-- 
Neil Bothwick

Top Oxymorons Number 46: Found missing

Attachment: pgpoy6Y1KylX1.pgp
Description: OpenPGP digital signature

Reply via email to