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

February 4, 2019 1.8k 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?

1 Answer


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.


Have another answer? Share your knowledge.

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