[1.1.4] Running in headless mode and using VNC Server

Asked by Asheru on 2019-10-02

Seems not to be possible in 1.1.4

(sorry, accidentially changed question title and content)

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-10-02
Last reply:
2019-10-03
Asheru (asheru93) said : #1

Sorry, I have just seen this for 1.1.4

"-- Real Screen needed

The system running SikuliX scripts or any apps using SikuliX features must have a real screen connected. So called headless systems are not supported (Java restriction). While using SikuliX features, the screen should not be in sleep mode nor show a screen saver. It must be in a state, that a user could work with the system and watch on the screen what is going on."

The question is now, there is no posibility to run in headless mode?

RaiMan (raimund-hocke) said : #2

currently 1.1.4 blocks running on headless systems.

With my latest tests switching to OpenCV 4 (branch dev-opencv-4), I tested the Linux behavior on a Windows 10 system using WSL/Ubuntu18-04 which is restricted to headless by default.

I successfully used sikulixapi.jar to run a script, that did not touch any features, that are not available in a headless environment, after fixing some startup quirks, that leaded to crashes in headless.
I will add these fixes to master (and hence latest build) the next days.

I will keep you informed here.

Asheru (asheru93) said : #3

OK, thank you.

We will use 1.1.3 still until there is a stable use for headless mode in 1.1.4 since we can only use with the whole configuration the headless mode.

RaiMan (raimund-hocke) said : #4

ok, I will keep you informed here.

Can you help with this problem?

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

To post a message you must log in.