Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Run script on Ubuntu that requires active DISPLAY

Guy Cukierman January 21, 2015

Hi,

I need to run a command that even though it has no user interaction it does require an active display. (specifically, I am talking about Matlab compiler deploytool command).

I've set up an Ubuntu instance, and indeed the command works fine when I run it from the Ubuntu terminal. But when I try to run it as a Bamboo script I get an error that it can't connect to the X display.

I've tried to find a Matlab compiler switch that will remove the need for a display, but with no luck.

So my question is: can I run a Bamboo script with an active display?

Thanks,

Guy.

1 answer

1 accepted

1 vote
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2015

Start xvfb prior to running the compiler (and kill it afterwards). http://en.wikipedia.org/wiki/Xvfb

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events