Created
December 19, 2009 18:03
-
-
Save dysinger/260173 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
| #!/bin/sh | |
| # Install & configure xmonad on the server | |
| sudo apt-get install -y xmonad | |
| # Install & run tightvnc on the server | |
| sudo apt-get install -y tightvncserver | |
| tightvncserver :1 | |
| # Enter a password & restart w/ xmonad friendly script | |
| tightvncserver -kill :1 | |
| perl -p -i -e 's/^\#x-/x-/g' ~/.vnc/xstartup | |
| tightvncserver :1 | |
| # On the Mac | |
| ssh -i your-ec2-ssh-key -L 5901:localhost:5901 user@host.name | |
| open vnc://127.0.0.1:5901 ;# or apple-k in finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment