Spice / remote-viewer / acpi to VM

ricardoj

Member
Oct 16, 2018
101
8
23
67
Sao Paulo - Brazil
Hi,

I have 18 Windows 10 VMs accessed by Spice and it is working very well.

The only problem is that some users from time to time force a poweroff of their physical machines (all Debian 9) by pressing the power button and the associated VM also goes off.

I found here someone with a similar question but no no one answered that question.

Does anyone know how to disable the remote viewer from passing the shutdown command to a VM?

I'm running PVE 5.4.11 and remote-viewer 5.0

Thank you,

Ricardo Jorge
 
This should be configurable from inside the VM for Windows, somewhere in the user rights you can define who is allowed to shutdown remotely.