Created
May 16, 2011 09:29
-
-
Save mpj/974144 to your computer and use it in GitHub Desktop.
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
DISPLAY=:99.0 firefox http://example.org | |
# For kicks, you can make a screenshot to see it working | |
xwd -root -display :99.0 -out screenshot.xwd | |
convert screenshot.wxd ~/screenshot.jpg | |
# Exit SSH session and download the | |
# screenshot to your local computer via SCP: | |
exit | |
scp -i yourkeypairfile.pem [email protected]:screenshot.jpg screenshot.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment