Skip to content

Instantly share code, notes, and snippets.

@lashex
Created April 3, 2014 05:25
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save lashex/9948712 to your computer and use it in GitHub Desktop.
Save lashex/9948712 to your computer and use it in GitHub Desktop.
Getting Amazon Linux working with X11
# These instructions assume you are using a Linux or Mac machine as
# the “local” machine and an Amazon Linux as the “remote” machine.
# Here’s one way to get X11 working between the two.
# on the local machine (Linux or Mac with X11 already installed)
$ ssh -X -i <amazon_key.pem> ec2-user@<remote_ec2_box_name>
# then on the remote Amazon Linux EC2 box
$ sudo yum install xauth
$ sudo yum install xterm
$ sudo yum install xorg-x11-apps
$ xeyes
# should result in the XEyes application displaying on the local machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment