sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28270
[Bug 1370113] Re: No X11 DISPLAY variable was set message seen when running Sikuli script remotely
Sorry, but I cannot help you with that in the moment.
I accept it as a bug to be fixed in version 1.2 later this year.
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => High
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.2.0
** Summary changed:
- No X11 DISPLAY variable was set message seen when running Sikuli script remotely
+ [1.0.1] Sikuli ignores X11 DISPLAY variable on remote machine run via ssh
** Summary changed:
- [1.0.1] Sikuli ignores X11 DISPLAY variable on remote machine run via ssh
+ [1.0.1] Mac: Sikuli ignores X11 DISPLAY variable on remote machine run via ssh
--
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