How to get an Ubuntu remote desktop when I only have root SSH access?

1

I have root SSH access to a remote Ubuntu 17 machine. I'm working locally on macOS 10.12. I want to be able to get a remote desktop to the Ubuntu machine. How do I do this? What do I need to install/enable on the Ubuntu machine? What to I need to install enable on my local macOS?

Jeff

Posted 2017-10-19T14:00:35.227

Reputation: 394

I'd suggest you read this: https://askubuntu.com/questions/149058/how-can-i-add-a-desktop-gui-to-a-command-line-ubuntu-installation

– djsmiley2k TMW – 2017-10-19T14:27:13.070

Is the PC running Ubuntu Server (has no GUI) or Ubuntu Desktop? – Moses – 2017-10-19T15:45:44.923

I may be wrong but that answers how to do it for a local machine (I know hes talking about a VM but its essentially the same thing as a local machine). It doesnt cover the process for doing it remotely. – Jeff – 2017-10-19T15:48:13.003

@Moses I'm not entirely sure. Since the remote PC is from a hosting provider (Vultr.com), I would assume Server. – Jeff – 2017-10-19T15:49:14.867

Don't know the full details, but basically: you install a X-window server on your Mac (yes, a server), you install the GUI apps on the remote with possibly a X-window manager (no need for the X server there), and you login with SSH allowing X-tunneling (-X) so that the apps on the remote can connect to your X-window server.

– xenoid – 2017-10-19T21:26:09.063

This client–server terminology ... often confuses new X users Yep. That may have been the mental hurdle that was tripping me up. Thanks. – Jeff – 2017-10-19T22:03:25.060

No answers