#!/bin/sh # Step 1 : Copy the above gist xstartup to .vns/xstartup. Remember the password you use for accessing the vncserver. Kill vncserver -> vncserver-kill :1 # Step 2 : Add the port no 5901 in your ec2 security group -> Custom TCP Rule | TCP | 5901 | 0.0.0.0/0 # Step 3 : Run tightvnc viewer, Write your public ip in remote host text box and port no. publicIp::port sudo apt-get install ubuntu-desktop sudo apt-get install vnc4server sudo apt-get install gnome-panel