- Install XQuartz (https://www.xquartz.org/)
- Enable GLX for XQuartz, by running following in terminal;
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
- Start AWS EC2 p3.2xlarge instance
- SSH onto instance using
-X
option, e.g.ssh -X -i keypair.pem ubuntu@instance-ip.com
- XQuartz window should open on local machine