Error 'Can't connect to X11 window server' is reported during Server Startup

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following message is being displayed in the Bamboo Server log file, making the application startup or the database configuration fail:

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Cause

The current machine does not have all the graphical support that the Bamboo libraries demand.

Resolution

1. Add the following setting to the bamboo.sh RUN_CMD variable:

-Djava.awt.headless=true

2. Ensure that Bamboo is using a full version of one of the supported JDKs (JRE is not enough).

Last modified on Dec 30, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.