I have some Ubuntu virtual machines running in Proxmox and although I normally manage them via CLI, there are times when connecting to the Desktop is nice. Connecting via the Proxmox console works but can be cumbersome (especially if you haven’t updated Java recently). The answer is to install xrdp and gnome-session-fallback, we will also create the .xsession file to make sure you connect to gnome-fallback.
sudo apt-get install xrdp sudo apt-get install gnome-session-fallback
Next create a file called .xsession in your home directory containing the following line:
You should now be able to connect via rdp to your Ubuntu machine from Windows and/or Linux using an rdp client such as Remmina
I also create a logout file on the Desktop to easily log out from my session:
chmod 755 Desktop/logout