How to improve Remote Desktop MacOS <-> Linux Mint 22.3 latency

haux

Renowned Member
Jun 5, 2017
14
0
66
43
Hi,

I am trying to connect to VM Mint 22.3 (Cinnamon and XCFE) using SPICE Display and qemu-agent installed from a MacOS (Windows App v11.3.6) with RDP protocol over Wifi and it's really slow, the latency is 1-3 seconds.
The PVE server is very powerful and the VM has plenty of CPUs and Memory.
I read that using RDP over UDP might improve the performance, but the Windows App on mac doesn't support that.

Any idea how I can connect to my VM desktop (Same Home network) without loosing the performance, even if I have to use deferent protocol or application ?

Thanks
 
Last edited:
Worth separating two things here: the SPICE display setting and your RDP session are completely different paths. If you're connecting with the Windows App over RDP, you're talking to xrdp (or similar) inside the Mint guest; Proxmox's virtual display device is never in that path, so changing it won't affect what you see. The QEMU guest agent isn't involved either; it handles fsfreeze/shutdown/IP reporting. And 1–3 s of lag isn't a host CPU/RAM problem, so throwing more vCPUs at the VM won't help.

I'd check your Wi-Fi link: ping the VM from your Mac for a minute and watch jitter/loss, then try the same RDP session from a wired connection. RDP degrades badly with jitter, that can cause multi-second lag. Second, Cinnamon: it expects a compositor with GL acceleration and falls back to software rendering (llvmpipe) in an xrdp session, so every redraw is done on the CPU. XFCE with the compositor off (Settings → Window Manager Tweaks → Compositor) and animations disabled is much lighter.
 
  • Like
Reactions: haux