All;
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.
I think we used to do this:
ssh -Y target_machine
export DISPLAY=:0
$ firefox &
I have a mac, I can ssh to it, I want to run a web browser FROM the mac but displayed on my Fedora 31 laptop.
I tried this:
ssh -Y mac_ip
export DISPLAY=:0
$ /Applications/Firefox.app/Contents/MacOS/firefox
But no joy
Thoughts? Is this possible?
Thanks in advance
On Thu, Apr 30, 2020 at 12:12 PM S.Bob sbob@quadratum-braccas.com wrote:
All;
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.
I think we used to do this:
ssh -Y target_machine
export DISPLAY=:0
$ firefox &
I have a mac, I can ssh to it, I want to run a web browser FROM the mac but displayed on my Fedora 31 laptop.
I tried this:
ssh -Y mac_ip
export DISPLAY=:0
$ /Applications/Firefox.app/Contents/MacOS/firefox
But no joy
Thoughts? Is this possible?
Thanks in advance
I think the problem is OSX does not use X11 as its windowing system so the fedora box cannot draw it. With that said, good old vnc will work just find.
-- `When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*".' (By Linus Torvalds) _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@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
You do not want to export DISPLAY, either the ssh -Y set it right or it did not. In either case :0 is usually the monitor directly connected to the device so that will probably never be right for a ssh connection.
On Thu, Apr 30, 2020 at 11:12 AM S.Bob sbob@quadratum-braccas.com wrote:
All;
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.
I think we used to do this:
ssh -Y target_machine
export DISPLAY=:0
$ firefox &
I have a mac, I can ssh to it, I want to run a web browser FROM the mac but displayed on my Fedora 31 laptop.
I tried this:
ssh -Y mac_ip
export DISPLAY=:0
$ /Applications/Firefox.app/Contents/MacOS/firefox
But no joy
Thoughts? Is this possible?
Thanks in advance
-- `When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*".' (By Linus Torvalds) _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@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
On Thu, 2020-04-30 at 10:11 -0600, S.Bob wrote:
I have a mac, I can ssh to it, I want to run a web browser FROM the mac but displayed on my Fedora 31 laptop.
I tried this:
ssh -Y mac_ip
export DISPLAY=:0
$ /Applications/Firefox.app/Contents/MacOS/firefox
But no joy
Thoughts? Is this possible?
The MacOS display system is not based on X, so this won't work out of the box. I believe you can install an X server from the Mac app store which should allow it to work.
poc
Even if you install an X server, the native Firefox is not going to use it to render. You may be able to compile a version to work but it will take more than just having X.
On Thu, 2020-04-30 at 22:37 +0100, Patrick O'Callaghan wrote:
On Thu, 2020-04-30 at 10:11 -0600, S.Bob wrote:
I have a mac, I can ssh to it, I want to run a web browser FROM the mac but displayed on my Fedora 31 laptop.
I tried this:
ssh -Y mac_ip export DISPLAY=:0 $ /Applications/Firefox.app/Contents/MacOS/firefox But no joy
Thoughts? Is this possible?
The MacOS display system is not based on X, so this won't work out ofthe box. I believe you can install an X server from the Mac app storewhich should allow it to work. poc_______________________________________________users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@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
On Thu, 2020-04-30 at 17:46 -0400, Kevin Becker wrote:
Even if you install an X server, the native Firefox is not going to use it to render. You may be able to compile a version to work but it will take more than just having X.
True, I was (mis)reading the situation as the other way round, i.e. displaying a remote Firefox session on the Mac.
Vnc is probably the way to go.
poc
On 30Apr2020 10:11, S.Bob sbob@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 cs@cskk.id.au