← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #689685]: No X11 DISPLAY variable was set, but this program performed an operation which requires it. (Using Gitlab)

 

Question #689685 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689685

    Status: Answered => Solved

Shresth Suman confirmed that the question is solved:
Thank you for your reply!
My ubuntu machine does have a monitor connected to it. Whenever I run the command directly from the machine it runs without any error. However, when I run the same command using the gitlab yml file, it gives an  error.
Workaround -  export DISPLAY=:0.0

I do not know how this command solves it but it is working for now.
Please let me know in case I have a wrong understanding.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.