RDP (GNOME) encryption error in Ubuntu 24.10 vm

s1l3nce

New Member
Jan 19, 2024
12
1
3
I'm having a very weird issue when connecting to an Ubuntu VM inside Proxmox through RDP. Let me describe the different scenarios:

1. If I connect from a Windows PC (physical computer) to the Ubuntu VM inside Proxmox, I often get an encryption error and my Windows machine gets disconnected. A good way to replicate the issue fast is to stream video content while connected on a RDP session.
2. If I connect from a virtual machine (Windows or Linux, doesn't matter) to the Ubuntu VM, I don't get the encryption error.

3. If I connect from a Windows PC (physical computer) to an Ubuntu installed on a virtualbox VM, I don't get the encryption error either.

In the following video, you can see a comparison of the 1st and the 3rd scenario. On the left, I'm connected to an Ubuntu vm inside proxmox and on the right I'm connected to a vm inside virtualbox.

I found a post in askubuntu that explains the same issue I'm having.

I don't know if this is a Proxmox issue, an Ubuntu issue or an RDP issue but I thought this might be a good place to share it.

BTW, on a different note, I've noticed that my graphical performance is a bit better when connecting with RDP to the virtualbox ubuntu vm than to the proxmox ubuntu vm. It's quite noticeable when moving windows around. Why is that? Shouldn't it be the other way around? I have allocated the same amount of resources to both vms (2 CPUs and 8 gigs of RAM.
 
Just to see if it might be an issue with certain modifications I did while trying to passthrough my Intel iGPU, I did a complete reinstallation (using XFS this time instead of ZFS) and I still have the same exact problem.
 
One more thing: I don't know if this is normal but CPU usage in Ubuntu while connected through RDP (Gnome) is quite high. SPICE CPU usage is considerable lower. On the other hand, when connecting to a Windows VM, CPU usage from Spice and RDP are very similar.

I've also observed that in both cases, RDP is sending a lot more data constantly, both in Ubuntu and Windows. So SPICE is a lot more efficient than RDP, based on my testing results. I just find it very inconvenient having to download *.vv files from Proxmox every time I have to start a SPICE session.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!