Re: Run firefox across ssh?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30Apr2020 10:11, S.Bob <sbob@xxxxxxxxxxxxxxxxxxxxx> 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 <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux