How to: Running Sikuli on computer A. Sikuli connects through VNC to control computer B

Asked by Lingling Den

Installed Sikuli on Computer A (Window 7 64 bit). Installed VNC on computer B (Can be Window XP, Vista or Window 7, Mac OS X). I am not sure how to connect the Computer B through Sikuli (which is Computer A)? Can anyone give me the steps to do it?

Thanks.

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

Sorry, not my focus.

But I remember some questions about "remote Sikuli".

You have to go intelligently ;-) through the questions (include the expired) and bugs using keywords like VNC, remote, ...

good luck.

Revision history for this message
Jonathan Antognini (jantogni) said :
#2

i solve the remote execution of sikuli using open ssh, i mount a ssh server in computer B in this case, and connect from computer A using display variable.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Sounds interesting.

Could you give more information on the setup (e.g. what is running where, key settings and a short sample script)

Revision history for this message
Jonathan Antognini (jantogni) said :
#4

i leave the explication in your mail inbox =)

Revision history for this message
Lingling Den (lingling-den) said :
#5

Could do you share up your solution?

Revision history for this message
RaiMan (raimund-hocke) said :
#6

this is what I got from Jonathan Antonini. Did not have time to check.

Supposing A is a computer with script to execute, and B is a computer when i want run script i do this:

Previously i install all dependencies into A, like openjdk o sunjdk, and opencv 2.1.

First: In A install an open ssh server http://www.openssh.com/, i use Ubuntu 10.10, and do this installing repository package.

Second: I run this in line command:~$sudo /etc/init.d/ssh start, this start a open ssh server, i don't do this into windows or mac, i only job with linux, but i think this is not problem to do in windows or mac.
Now the A machine are available to use like a ssh server.

Third: Into B machine, in terminal i execute an ssh connection
in line command:~$ssh -X user@machine, in my case user is a test for example, and machine is a ip direction. The important in this line is a -X, this is a display variable, and determine use things of A machine, but acts all in B screen.

Fourth: In B machine i can run the sikuli-ide, or just run script in line command. How we set -X display variable, all script is executed by A computer, but acts in B computer display.

Can you help with this problem?

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

To post a message you must log in.