# Plotting of Makie over and SSH connection using an OSX client This is known to work when initiating the SSH connection for `Terminal` or `iTerm`. Using the terminal from VSCode `ssh-remote` requires extra steps. Decent reference for troubleshooting. [https://twiki.nevis.columbia.edu/twiki/bin/view/Main/X11OnLaptops](https://twiki.nevis.columbia.edu/twiki/bin/view/Main/X11OnLaptops) 1. Install [XQuartz](https://www.xquartz.org/) 1. On your mac run this command from the terminal ```defaults write org.xquartz.X11 enable_iglx -bool true```. Restart XQuartz if it was running, the setting only takes effect on next use. 1. SSH to the remote server using the `-X` and `-Y` options. The `-Y` is neccessary to establish trust between the remote server and your X server. 1. On the remote server verify that the `DISPLAY` variable is set automatically by SSH ```env|grep DISPLAY```. 1. On the remote server verify that OpenGL and associate tools/libaries are present ```sudo apt-get install glx-utils mesa-utils libgl1-mesa-glx```. 1. Start XQuartz on your Mac if it is not already running. Verify that you can forward an OpenGL application ```glxgears```. If you run into issues initiate the SSH connection with verbose logging `-v` and try again.