Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Linux client: how to access X11 display ?

I have a bamboo client, installed on linux, running some OpenGL test:
compilation is OK.
But when execution starts, everything crash. When trying to start the GUI, it requires access to the X11 display. Which is locked because the bamboo user does not own the display ...

So anyone have an idea how to allow display access from an application started by bamboo ?



1 answer

You need to run the X11 display server in a headless fashion, which is commonly achieved via the X virtual framebuffer (Xvfb).

Not 100% positive on this, but I think Xvfb is included on the stock Bamboo Elastic images (despite the lack of a preconfigured capability), either way none of this is properly documented. You can find resp. hints via Populating your EBS volume and BAM-16951, which should translate to custom Bamboo Elastic images and regular remote agent scenario conceptually.

Similarly, you should also be able to apply these Xvfb patterns to a custom Docker image for use with the Bamboo Docker runner or Bamboo Docker task, in case it isn't included in the default Bamboo Docker images already. You can find resp. hints via Gui tests on xvfb, initialisation and cleanup.

Sorry for not being more specific, hope it helps to get you on the way.

Does this work on local agents as well? Or does it need to be remote?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

46 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you