noVNC erratic mouse cursor in Win VM when display=spice

andreisrr

Member
Feb 2, 2024
56
5
13
Hi,

I've had problems with Windows VMs (Win10 guests for testing) in the following context:
- display = default (initial install)
- install full virtio drivers
- change display to spice

At this stage I can access the VM very well using spice client, but if for any reason I have to access it using noVNC, the mouse is totally erratic and I can't do anything useful.

What did I do wrong?
Than kyou.
 
Hi,

how did you setup the VM? Did you enable the Qemu Guest Agent flag?
If yes it could be because you are missing the Qemu Guest Agent on the guest machine (windows)

To remedy this install the "Qemu Guest Agent". You can find instructions on how to do this here:
https://pve.proxmox.com/wiki/Qemu-guest-agent

Additionally this is how I would setup my Windows Guest Machines:
System:
Machine: q35
Qemu Agent: true

BIOS: OVMF (UEFI)
Add EFI Disk: true

Disks:
Cache: Write Back
Discard: true
IO Thread: true

CPU:
Cores (min): 3

Memory:
RAM: 8192

Finish but don't boot it yet.
Attach the virtio drivers (can be found in the wiki guide above)
as a CD/DVD Drive with BUS set to IDE

In the installer when reaching the setup select the load drivers option
and search through the drivers you added using the CD/DVD Drive

The most important drivers would be the following:
  • Hard disk
  • Network:
  • Memory Ballooning
Hope this helps.