HowTo: SikuliX in headless mode (Linux/Windows)

Asked by Nabil Ghodbane on 2017-02-21

dear experts,
I am trying to use SikuliX in headless mode and I am failing to find the correct approach to be used in my case.
I do have a slave node on which I have as a non root user on which I want to run my tests, that I implemented.
How shall I proceed here? I could see that SikuliX implements the headless approach, but how do I have to modify my current jython script to take this approach into account ?
is there some official page which describes this? if so, I will be grateful if someone could point me to it such that I can try it.
I welcome recommendations/inputs ?
thanks for your valuable help.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-02-21
Last reply:
2017-02-22
RaiMan (raimund-hocke) said : #1

SikuliX itself out of the box does not work in headless mode - it always needs a real monitor attached to the running system.

If you want to run on a system without a monitor attached, then on Linux you can use xvfb, to simulate a monitor. I am not an expert with that, so I do not know the equivalent solution for Windows.

Furthermore there are hardware solutions available for HDMI outlets.

Can you help with this problem?

Provide an answer of your own, or ask Nabil Ghodbane for more information if necessary.

To post a message you must log in.