How can I display a window on my local mac from an app running on ubuntu (e.g. firefox) ?

February 4, 2019 1.7k views
DigitalOcean Applications Ubuntu 18.04

I tried ssh -X user@ipaddress on my local mac then on ubuntu server edited sshconfig with ForwadingX11 yes, and tried ForwardAgent yes, ForwardX11 yes, ForwardX11Trusted yes and also did similar sshd_config. I tried export DISPLAY=:0, and a few other permutations I found online that work for others but not for me. I saw one similar question on this forum a 4 months ago where the only answer was to install x2go. I haven't tried that. Are there any simple commands to do this?

Be the first one to answer this question.