Fixing KVM spice-vdagent Display Auto-Resize Issue in Debian 12 With KDE Plasma, or desktops other than Gnome.

You are running a Debian in a KVM VM. You installed spice-vdagent, started and enabled the service, yet nothing works. No screen resizing, nothing.
Note: This problem still exists in Debian 12.2

Here’s the fix:

Copy spice-vdagent.desktop to User’s Autostart Directory:

Bash
cp /etc/xdg/autostart/spice-vdagent.desktop ~/.config/autostart/
Bash

Edit the Copied File

Open ~/.config/autostart/spice-vdagent.desktop with a text editor.

  • Find and comment out the line containing X-GNOME-Autostart-Phase.
  • Save the changes.

Posted

in

, , ,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *