Created
May 9, 2018 20:05
-
-
Save jdumont0201/e3141d70a9d552f487435d9ad995e8d8 to your computer and use it in GitHub Desktop.
Arduino headlessly with ssh -X option and this script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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