{"action":"opened","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/2802","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/2802/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2802/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/2802/events","html_url":"https://github.com/arduino/Arduino/issues/2802","id":63492716,"number":2802,"title":"Command line tool requires X to verify or upload?","user":{"login":"jacobrosenthal","id":455796,"avatar_url":"https://avatars.githubusercontent.com/u/455796?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobrosenthal","html_url":"https://github.com/jacobrosenthal","followers_url":"https://api.github.com/users/jacobrosenthal/followers","following_url":"https://api.github.com/users/jacobrosenthal/following{/other_user}","gists_url":"https://api.github.com/users/jacobrosenthal/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobrosenthal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobrosenthal/subscriptions","organizations_url":"https://api.github.com/users/jacobrosenthal/orgs","repos_url":"https://api.github.com/users/jacobrosenthal/repos","events_url":"https://api.github.com/users/jacobrosenthal/events{/privacy}","received_events_url":"https://api.github.com/users/jacobrosenthal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-22T05:43:42Z","updated_at":"2015-03-22T05:43:42Z","closed_at":null,"body":"Trying to docker the arduino command line tools. Most stuff works\r\n```bash\r\n[ root@a80a54ab13f1:~ ]$ /usr/local/share/arduino/arduino --get-pref pumpkins                                                             \r\n[ root@a80a54ab13f1:~ ]$ echo $?\r\n4\r\n[ root@a80a54ab13f1:~ ]$ /usr/local/share/arduino/arduino --get-pref board   \r\nuno\r\n[ root@a80a54ab13f1:~ ]$ echo $?\r\n0\r\n[ root@a80a54ab13f1:~ ]$ \r\n```\r\nBut all verify or upload require X?\r\n```bash\r\n[ root@a80a54ab13f1:~ ]$ /usr/local/share/arduino/arduino --upload /root/tester/tester.ino --board arduino:avr:uno --port /dev/tty.usbmodem1411\r\nException in thread \"main\" java.awt.HeadlessException: \r\nNo X11 DISPLAY variable was set, but this program performed an operation which requires it.\r\n\tat sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:82)\r\n\tat processing.app.Base.nextEditorLocation(Base.java:476)\r\n\tat processing.app.Base.<init>(Base.java:245)\r\n\tat processing.app.Base.main(Base.java:162)\r\n```"}}