Skip to content

Instantly share code, notes, and snippets.

@jdumont0201
Created May 9, 2018 20:05
Show Gist options
  • Save jdumont0201/e3141d70a9d552f487435d9ad995e8d8 to your computer and use it in GitHub Desktop.
Save jdumont0201/e3141d70a9d552f487435d9ad995e8d8 to your computer and use it in GitHub Desktop.
Arduino headlessly with ssh -X option and this script
#!/bin/bash
SCREEN=3
Xvfb :$SCREEN -nolisten tcp -screen :$SCREEN 1280x800x24 &
xvfb="$!"
DISPLAY=:$SCREEN arduino $@
kill -9 $xvfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment