You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use Arduino from the command-line, it complains about requiring an X11 DISPLAY:
$ arduino --pref boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json --save-prefs
Picked up JAVA_TOOL_OPTIONS:
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117)
at processing.app.Base.<clinit>(Base.java:91)
# Ensure we have a DISPLAY for the Arduino IDE
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
- sleep 3
- export DISPLAY=:1.0
The text was updated successfully, but these errors were encountered:
dagwieers
changed the title
Arduino requires X11 DISPLAY where no should be needed
Arduino requires X11 DISPLAY where none should be needed
Jul 13, 2016
dagwieers
added a commit
to dagwieers/Arduino-1
that referenced
this issue
Jul 14, 2016
Settings preferences does not need a splash-screen. Avoid needing an X11 DISPLAY in this case so CI solutions do not bail out (e.g. Travis).
More information in arduino#5131.
This fixesarduino#5131.
This ensures now splash-screen is shown when preferences are changed or CLI-mode is used.
More information in arduino#5131.
However this does NOT fixarduino#5131, since the Arduino IDE in CLI-mode still requires X11 (according to arduino#1981).
If you use Arduino from the command-line, it complains about requiring an X11 DISPLAY:
This forces people to implement ugly work-arounds using Xvfb in order to accomodate Arduino IDE: https://github.com/timelab/ADEM/blob/master/.travis.yml#L5
The text was updated successfully, but these errors were encountered: