Last active
December 20, 2015 01:09
-
-
Save ialhashim/6046536 to your computer and use it in GitHub Desktop.
GUI preparation - Ubuntu @ Amazon EC2
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
# 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