On 30Apr2020 10:11, S.Bob <s...@quadratum-braccas.com> wrote:
I seem to remember way back in the day we used to ssh to a server, set our local display on that connection and then run a web browser FROM the ssh target but display the web browser on the source machine.
[...]

ssh -Y mac_ip
export DISPLAY=:0
$ /Applications/Firefox.app/Contents/MacOS/firefox

Do not fiddle with $DISPLAY. "ssh -Y" sets $DISPLAY for you, to a display which is tunnelled _back_ over the ssh connection to your local machine's X11 server.

You do need the "xauth" programme installed on the Mac in order for ssh to arrange the access token, but that is easily installed with HomeBrew or MacPorts or via the Mac XQuartz stuff.

And WRT to the various misinformation in many other posts in the thread:

- the native Mac desktop isn't X11

- there's a well supported X11 system available which can be run on Macs (XQuartz) which runs as an app, so you _can_ run X11 programmes locally displayed on a Mac

- both of these things are irrelevant to your "ssh -Y" question

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to