How to run scripts in Windows XP remotely on headless machine??

Asked by mattH

This may be as much a Windows question as a Sikuli one, but I have run into trouble trying to remotely execute Sikuli scripts on a Windows XP machine. The issue is that processes initiated remotely do not instantiate the GUI for those processes (for security reasons, as my research suggests). So for example, Sikuli will attempt to launch firefox.exe, and I can see it in the active processes, but no window appears. Obviously without windows in which to operate, Sikuli isn't much use!

I am wondering if anyone has figured out a workaround for this? My current setup is to ssh to Windows XP and run Sikuli-IDE.bat - xxx.sikuli -s from the command line. The process begins as expected but fails as soon as any image recognition or interaction is required.

I have to figure that someone out there must be trying to run Sikuli in this fashion as well. I hope there is a solution!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

With the current version Sikuli needs the machine to create "real" screen content to process the visual features. So if Sikuli runs on a "headless" machine, it will fail.

I remember that there is at least one answer in this Q&A, that claimed to have it running with a special ?VNC? configuration, but I am not sure. Try to find it

Can you help with this problem?

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

To post a message you must log in.