Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active January 27, 2025 00:55
Show Gist options
  • Save plembo/21d4a1579850f7fe84301a90f4fcdf9a to your computer and use it in GitHub Desktop.
Save plembo/21d4a1579850f7fe84301a90f4fcdf9a to your computer and use it in GitHub Desktop.
You need spice-vdagent

You need spice-vdagent

Debian or Kali Linux installed to as KVM (libvirtd) guests do not automatically have qemu-guest-agent or spice-vdagent installed. This will prevent seamless movement of the mouse cursor between the guest and host desktop in Virtual Machine Manager (requiring the use of a Ctrl-Alt to release the cursor from the guest window).

To cure this, install both qemu-guest-agent and spice-vdagent on each guest and reboot (the guests).

$ sudo apt install qemu-guest-agent
$ sudo apt install spice-vdagent
@shawazi
Copy link

shawazi commented Sep 14, 2024

thank you!

@Heal75
Copy link

Heal75 commented Oct 2, 2024

thank you !

@Archie-2021
Copy link

How can I move the control of keyboard to host? In VirtualBox the Host Key is RCtrl, but can't find the one qemu uses

@plembo
Copy link
Author

plembo commented Oct 22, 2024

Is this what you're looking for?

@Archie-2021
Copy link

Is this what you're looking for?

Yes , it is exactly what I was looking for, Ctrl+Alt+g is a kinda weird key to escape the emulator. Expecting something simpler to be default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment