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 ?

Thanks

 

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.

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

552 views 2 7
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