Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPE broken on OSX #22

Open
rturknett opened this issue Apr 30, 2014 · 1 comment
Open

MPE broken on OSX #22

rturknett opened this issue Apr 30, 2014 · 1 comment

Comments

@rturknett
Copy link
Contributor

Can't run MPE sketches where processes ssh to localhost on OSX. Debug output when running MPEPeasy.pde with configuration_localhost.xml:

loading XML configuration node
loading XML dimensions node
loading XML dimensions node, screenWidth
loading XML dimensions node, mullionHeight
loading XML dimensions node, debug
numFollowers_ = 4
loading XML dimensions node, head
Server: localhost:9002
loading XML configuration node
loading XML dimensions node
loading XML dimensions node, screenWidth
loading XML dimensions node, mullionHeight
loading XML dimensions node, debug
numFollowers_ = 4
loading XML dimensions node, head
Server: localhost:9002
-1: Number of followers: 4
Setting window location to: 0, 0
Settings: Rank: -1, offsets: 0,0, lDims: 400,400, mDims: 400,400, windowLocation: 0,0
PeasyCam v200
AutoLauncher:loading XML configuration node
AutoLauncher:loading XML processingPath node
processingPath = /usr/bin/

localhost-rank2: java.awt.HeadlessException:
localhost-rank1: java.awt.HeadlessException:
localhost-rank2: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
localhost-rank1: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
localhost-rank1: at sun.java2d.HeadlessGraphicsEnvironment.getScreenDevices(HeadlessGraphicsEnvironment.java:72)
localhost-rank3: java.awt.HeadlessException:
localhost-rank1: at processing.core.PApplet.runSketch(PApplet.java:10482)
localhost-rank2: at sun.java2d.HeadlessGraphicsEnvironment.getScreenDevices(HeadlessGraphicsEnvironment.java:72)
localhost-rank2: at processing.core.PApplet.runSketch(PApplet.java:10482)
localhost-rank2: at processing.core.PApplet.main(PApplet.java:10377)
localhost-rank1: at processing.core.PApplet.main(PApplet.java:10377)
localhost-rank4: java.awt.HeadlessException:
localhost-rank3: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
localhost-rank4: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
localhost-rank3: at sun.java2d.HeadlessGraphicsEnvironment.getScreenDevices(HeadlessGraphicsEnvironment.java:72)
localhost-rank4: at sun.java2d.HeadlessGraphicsEnvironment.getScreenDevices(HeadlessGraphicsEnvironment.java:72)
localhost-rank3: at processing.core.PApplet.runSketch(PApplet.java:10482)
localhost-rank4: at processing.core.PApplet.runSketch(PApplet.java:10482)
localhost-rank3: at processing.core.PApplet.main(PApplet.java:10377)
localhost-rank4: at processing.core.PApplet.main(PApplet.java:10377)

@rturknett rturknett added this to the Version 2 Release milestone Apr 30, 2014
@rturknett
Copy link
Contributor Author

Tested this today -- replicated issue by running ssh localhost, setting the DISPLAY variable, and launching a simple Processing sketch. Also fails when doing the same from a remote host:

java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

NOTE: determine the proper DISPLAY variable setting on OSX by launching terminal window in XQuartz and type echo $DISPLAY

@rturknett rturknett changed the title Exception when running localhost configuration on OSX MPE broken on OSX May 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant