I have recently rented out a VPS, and installed Ubuntu 20.04.1 (x86_64-Minimal) on it. I installed SSH on it, and I'm accessing it from a Windows 10 machine using command line. However, I want to install a GUI on it. I have looked around, used tasksel, installed gnome GUI, but I can still only access it as a console version. I have tried rebooting, I have tried pressing F1(?) to switch between GUIs (I read that somewhere), but nothing seems to work.

Can anybody help me set up a GUI on this VPS?

  • How did you try to access the desktop? I guess your problem may be that you need an X client (for X-server) on your Windows machine and that X11 forwarding has to be enabled in your terminal emulator. Then, you can open GUI applications and they will appear on your local machine. – Green Sep 10 '20 at 14:47
  • I tried several things, I tried using RemoteNG and tightVNC, none of them worked. Can you please tell me more about this X client? – Twilord Sep 10 '20 at 14:52
  • I used Xming back in the day, maybe you can check this out: superuser.com/questions/99303/…. But maybe this is not exactly what you want to achieve. This will allow you only to execute graphical applications that appear on your local desktop, but does not provide you a remote desktop. Maybe you have to install or start a remote desktop server on your VPS? – Green Sep 10 '20 at 23:40
  • 1
    Does this answer your question? How to install GUI desktop on a server? – karel Mar 2 at 7:30

Try running the following command:

sudo apt install ubuntu-desktop --no-install-recommends

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.