RDC to vm boot shutdown question.

genesis1

Member
Feb 3, 2022
99
3
8
You will have to forgive me if I ask some silly or obvious questions, being totally new to this.
I've set up a remote desktop to my vm on proxmox host.
Now, if i'm in the guest running the vm and i shut down on the guest, it shuts down the vm with no way of booting again from the guest. Is there a way to boot it from the guest. I know i can simply log out of the RDC but that leaves the vm running.
I wondered if there was a way to boot and shutdown the vm from the guest like being on a normal pc?? Or maybe there is a way to link the shutdown button in the guest so it just logs out??
 
Which guest OS you are using? Isn't there a logout button already?
If you just need that VM at specific times you could start and stop it by cron so its not wasting that much energy.
 
Windows 11. Yes there is a logout but if someone uses shutdown in the guest the vm shuts down and I have to login to proxmox host to restart it again.
 
Then you could create a script that runs every several minutes and checks if a VM is shutdown. If it is then let it start again.
 
  • Like
Reactions: genesis1