There are many types of desktop environments and window session managers you could install.
You will need to have a server running Ubuntu VPS with a desktop environment and a window session manager. However, for this guide, we will assume that remote control of a desktop environment is needed or otherwise wanted. If you want to use TeamViewer without using a GUI you can skip installing a desktop environment and window session manager and go straight to the Installing TeamViewer section. TeamViewer supports text-based consoles as well as a GUI (Graphic User Interface). They also offer monitoring, asset tracking, anti-malware, and backups for an additional fee. Many additional features such as chat, file transfers, and wake-on-LAN are available through TeamViewer. Once TeamViewer is set up on your server, accessing your server takes only a couple of clicks. Have you ever wanted to open a file manager and browse your server’s files? Have you ever wanted to open a browser on your server and use it as a VPN? TeamViewer will allow you to do that without much effort. VNC is often used for remote technical support and remotely accessing files. Several are cross-platform and add additional features, such as chat or file transfers. There are many different kinds of VNC software available today. Keyboard and mouse strokes from your computer are relayed to the remote computer/server. Allowing you to remote control another computer or server over the Internet or local network as if you were sitting in front of it. VNC (Virtual Network Computing) is a method for sharing a remote desktop environment.