Virsh - Graceful Shutdown Guest Prompt

Sending the virsh shutdown command prompts a leave confirmation in both whonix guests instead of graceful shutdown.

Disabled “ask for confirmation before leaving” in Session Settings. same problem.

Modified /etc/systemd/logind.conf to show HandlePowerKey=poweroff same problem.

where is this prompt setting being enforced and how to change it?

Generic LXQt research has yielded no other workarounds.

1 Like

Could you try please Generic Bug Reproduction?

Probably needs to be discussed/reported upstream as per:

1 Like

I have the same problem.
I am using virt-manager and when I click to shut down a virtual machine it does not shut down, because the guest machine asks for a confirmation box and it bothers me. For example, when shutting down whonix gateway I have to open the guest machine to confirm shutdown

3 Likes

I did try looking at the upstream documentation for LXQt, but after trying various settings involving /etc/systemd/logind.conf I couldn’t find a workaround.

From a Whonix perspective, are there any custom modifications that would be over-riding the default behavior of LXQt in regards to shutdown commands?

Not to my awareness, no.

If you click on the Start Menu → Preferences → Power Management → Power Keys → Power Key Action, you might be able to customize things there.

1 Like

It looks like part of labwc configuration

2 Likes