Skip to content

Instantly share code, notes, and snippets.

@mistificator
Last active December 7, 2022 10:05
Show Gist options
  • Save mistificator/57e82aba2a5414700837d50e5a4c2dc8 to your computer and use it in GitHub Desktop.
Save mistificator/57e82aba2a5414700837d50e5a4c2dc8 to your computer and use it in GitHub Desktop.
command to asynchronously start GUI app on remote host inside XRDP session
#!/bin/sh
# command to asynchronously start GUI app on remote host inside XRDP session (batch command is part of "at" package)
ssh user@host "echo 'DISPLAY=:10 app_name' | at now"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment