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 ?
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.
Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...
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