Created
October 25, 2018 18:59
-
-
Save nshores/ce3dd558df557ff3b1209aff6f440ee0 to your computer and use it in GitHub Desktop.
X11 forwarding osx
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
Steps for X11 forwarding with OSX - | |
Install Xquartx with Homebrew -- | |
brew cask install xquartz | |
Set preferences for xquartz | |
open -a XQuartz. In the XQuartz preferences, go to the “Security” tab and make sure you’ve got “Allow connections from network clients” ticked: | |
Use xhost on remote machine to allow access to local client for x11 forwarding | |
xhost + 1.1.1.1 (SSH client ip) | |
Set env variable on remote machine to local ssh client ip | |
env DISPLAY=1.1.1.1:0 | |
Run remote x11 app from ssh session on remote machine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment