Can't run Sikuli from cygwin

Asked by Barry Adams

I'm trying to remotely run a sikuliX script from cygwin via SSH. When i run it locally using a BAT file, it runs correctly. But when i run from cygwin calling the same BAT file the script starts but all the clicks fails.

I'm running CYGWIN_NT-6.1 LCU219678 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
On Windows Visita. Microsoft Windows [Version 6.1.7601]

[log] CLICK on L(145,980)
[error] Location: outside any screen (9016616, 9016616) - subsequent actions might not work as expected
[error] Location: outside any screen (145, 980) - subsequent actions might not work as expected
[error] Location: outside any screen (9016616, 9016616) - subsequent actions might not work as expected
E test (FNC_POS_SS10_Add_CreditOver20_InMenu_To_Game_Start_Session.AddCreditOver20InMenuToGameStartSession)
[error] Location: outside any screen (145, 980) - subsequent actions might not work as expected

And many more.

Somehow remote access cygwin is preventing correct access to the screen. The screen is still on, and the application to be
tested is running. Any ideas.

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
sergueik (kouzmine-serguei) said :
#1

You won't be able to access Windows Desktop from a Windows service (sshd is). To run interactive desktop programs remotely You need to create and run and monitor Windows Scheduled Task (not easy but doable). Let me know if you need further

Can you help with this problem?

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

To post a message you must log in.