Last active
August 29, 2015 14:01
-
-
Save fraank/60683421bbcb0aab7d3e to your computer and use it in GitHub Desktop.
VNC on Ubuntu with GUI via AWS - EC2
This file contains 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
Easy Install VNC on Ubuntu with GUI via EC2 (I used a Ubuntu 64 Precise 12.04 HVM Instance, daily) | |
$ sudo apt-get update | |
$ sudo apt-get install ubuntu-desktop | |
$ sudo apt-get install vnc4server | |
Add correct permissions for the Securty-Group of the Instance and grant access for port 5901 | |
Start the VNC-Server on Port :1 (or 5901) and set Password for connection | |
$ vncserver :1 | |
Now you can use you client (I'm using http://www.realvnc.com/ on OSX) and conenct to your instance (use the Public DNS Name, for example: ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com). | |
You should connect to: ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:1 | |
If you're done you can kill the VNC-Sever with | |
$ vncserver -kill :1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment