← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #239356]: Using Sikuli tests on a headless remote VM

 

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

RaiMan proposed the following answer:
Sikuli scripts will not run on headless machines in no case (this is a
restriction by the internally used Java Robot class).

If you succeed to make visible a VNC window from such a headless machine
on another machines screen (client), ten a script running on the client
just sees the pixels in the VNC window the same as any other pixel on
the local screen.

So you have to simulate, what you would do manually on the local
machine.

But be aware: if you start a script on the remote machine through the
VNC window, the script will not work, since the script runs on the
remote machine, which is still headless.

I saw some solutions on the net (google is your friend), that used some
complex X11 based solutions, that allowed to run Sikuli scripts on
headless machines through VNC.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.