Skip to content

Instantly share code, notes, and snippets.

@gfa
Created August 14, 2015 06:35
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 gfa/7609b66bc1d1a5fd51e9 to your computer and use it in GitHub Desktop.
Save gfa/7609b66bc1d1a5fd51e9 to your computer and use it in GitHub Desktop.
#!/bin/bash
[ -f $HOME/.keychain/$HOSTNAME-sh ] &&
. $HOME/.keychain/$HOSTNAME-sh
scp ~/.Xauthority firefox.lap:
xhost +firefox
xhost +firefox.lap
export DISPLAY=laptop${DISPLAY}
ssh -oCompression=no firefox.zumbi.lap DISPLAY=${DISPLAY} firefox $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment