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

I tried ssh -X user@ip_address on my local mac then on ubuntu server edited ssh_config 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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


Yes it should work with x2go. You need to install the x2go server on your droplet and the x2go client on your PC. Then you should be able to connect.

Another option would be to install a GUI like Gnome desktop and then install xRDP on your droplet. That way you could then use any RDP client to connect to your droplet.

Regards, Bobby