Skip to content

Instantly share code, notes, and snippets.

@elowy01
Last active April 12, 2022 15:29
Show Gist options
  • Save elowy01/c3a5397569c360db8d5d365f9bd1ae89 to your computer and use it in GitHub Desktop.
Save elowy01/c3a5397569c360db8d5d365f9bd1ae89 to your computer and use it in GitHub Desktop.
1)
sudo yum install xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps -y
2)
Check that X11Forwarding is yes
sudo cat /etc/ssh/sshd_config |grep X11
You will see:
X11Forwarding yes
3)
touch ~/.Xauthority
4)
Login again with ssh
Ssh -Y username@hostname # if you want additional info use: ssh -Yv
5. In local Mac
6. Install XQuartz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment