install vnc on aws ubuntu 14 Edit

  • start a ubuntu 14 linux on aws, open port 5901
  • set apt-get proxy, if you box don't have public ip
add /etc/apt/apt.conf , the content like:
Acquire::http::Proxy "http://proxy:port";
  • install lxde
sudo apt-get update
sudo apt-get install lxde -y
  • start lxdm
sudo start lxdm
  • install tight vnc
sudo apt-get install tightvncserver -y
  • start vnc sever
vncserver :1
  • restart vnc server
vncserver -kill :1
vncserver :1

install java 8 Edit

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version

  • apt-add-repository behind proxy
 export http_proxy=
export https_proxy=
sudo -E add-apt-repository ppa:webupd8team/java

  • or download jdk from oracle, when you behind proxy, java-installer not work.

install firefox Edit

sudo apt-get install firefox -y

open ssh tunnel Edit

ssh -i ~/.ssh/rcom-ppe.pem  -C -f -N -g -L *:5901: ec2-user@
Community content is available under CC-BY-SA unless otherwise noted.