Skip to content

Instantly share code, notes, and snippets.

@ialhashim
Last active December 20, 2015 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ialhashim/6046536 to your computer and use it in GitHub Desktop.
Save ialhashim/6046536 to your computer and use it in GitHub Desktop.
GUI preparation - Ubuntu @ Amazon EC2
# Update software packages
sudo apt-get update
# Install LXDE desktop
sudo apt-get -y install lxde
# Start desktop service
sudo start lxdm
# Install Remote Desktop
sudo apt-get -y install xrdp
# Add a password
sudo echo "ubuntu:123456" | chpasswd
# Dispaly public address
echo "Ready to connect at:"
curl -s http://169.254.169.254/latest/meta-data/public-hostname
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment