Skip to content

Instantly share code, notes, and snippets.

@genekogan
Created March 23, 2020 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genekogan/6048e571519f5233d973b8f417a5a922 to your computer and use it in GitHub Desktop.
Save genekogan/6048e571519f5233d973b8f417a5a922 to your computer and use it in GitHub Desktop.
Deploying a graphical program on a Raspberry Pi via ssh
sudo systemctl stop lightdm
sudo nohup X -ac >/dev/null 2>&1 &
export DISPLAY=:0
./myApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment