sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28285
[Bug 1370113] Re: [1.0.1] Mac: Sikuli ignores X11 DISPLAY variable on remote machine run via ssh
this worked for me having a ssh session to another Mac machine:
open -n -a Terminal path-to-some-executable-shellscript
this opens a new Terminal session on the remote machine and runs the
given shell script.
you might prepare a script containing the java command to run the Sikuli
script on the remote machine, copy it to the remote machine, make it
executable and issue the open command.
Since I do not have experiences with Jenkins slaves yet, I cannot tell
you how to add this to a Jenkins environment.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1370113
Title:
[1.0.1] Mac: Sikuli ignores X11 DISPLAY variable on remote machine
run via ssh
Status in Sikuli:
In Progress
Bug description:
System details are:
Host machine : OSX 10.9.2 (where i am trying to run the tests FROM)
Destination machine: OSX 10.9.2 (where I want the tests to execute ON)
Version 1.0.1
I have built the setup jar with the and IDE and without (no IDE and
option of executing on the command line)
Hi, I am trying to run a sikuli script I have written from another
machine (all the scripts and the jars, etc exist on the remote
host...I can run them fine If i am sat at the machine)
Before running the commands i export the display...
export DISPLAY=:0.0
I ssh in, and cd into the directory and run the following command....
java -jar /Users/admin/Documents/Sikuli/sikuli-script.jar
Scripts/End2End.sikuli
I see...
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:180)
at org.sikuli.basics.MultiFrame.<init>(MultiFrame.java:29)
at org.sikuli.basics.SikuliX.displaySplash(SikuliX.java:109)
at org.sikuli.basics.SikuliScript.main(SikuliScript.java:39)
I also tried....
/Applications/SikuliX-IDE.app/Contents/runIDE -r "End2End.sikuli" --args superbobc
But that gives me the same.
On another note, when I try to launch another app, i.e. TextEdit....
/Applications/TextEdit.app/Contents/MacOS/TextEdit
works fine, I can see it fire up
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1370113/+subscriptions
References