I am running Ubuntu Desktop 16.04.7 LTS inside a KVM/QEMU VM.
I manage this (and other VMs) via the virsh
CLI, including starting and shutting down the VM.
No matter what I do, when I issue the shutdown command, it hangs. When I open the console to look for the reason - I see it is stuck on the Power Menu prompt (Restart, Shutdown, etc.).
I tried to follow a few guides to resolve this and it works if I issue the command as a logged in user, but I want to shutdown the VM using the virsh
command alone.
How can I make the changes to the shutdown behavior in LightDM's settings, without any user logged in?
0 Answers