Last active
July 15, 2021 03:35
-
-
Save nsteele/fd1c06ad7c49c5a808e35ead6ea68826 to your computer and use it in GitHub Desktop.
Enable glx between mac client and linux server
This file contains 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
#!/bin/bash | |
# on macOS, enable indirect opengl vi xquartz | |
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true | |
# ssh to linux server with x forwarding, and start an opengl app | |
ssh -X user@linux_server | |
glxgears | |
# note that using indirect rendering (which is the case when going over ssh), xquartz only supports up to opengl 1.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment