On Mac, install XQuartz from https://www.xquartz.org/
On remote Linux host Aorus.local, make sure:
- $DISPLAY
1 | $ echo $DISPLAY |
- $XAUTHORITY
1 | $ echo $XAUTHORITY |
- sshd_config
1 | $ grep -iE 'X11Forwarding|X11UseLocalhost|XAuthLocation' /etc/ssh/sshd_config |
- xauth
1 | $ which xauth |
Then on Mac run:
1 | $ ssh -Y Aorus.local |
On Aorus.local:
1 | $ firefox |