Prevent Standby with Active Guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cweinhofer
Posts: 6
Joined: 1. Aug 2011, 17:08
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Linux Mint

Prevent Standby with Active Guest

Post by cweinhofer »

I am running VB 5.1.14 on Linux Mint 18.0

The system is set to go into standby after 30 minutes of inactivity. However, I would like to set it so it DOESN'T go into standby if there is an active VB guest running.

How would I do this?

Appreciate any help. I tried searching the net but just keep coming up with people who are trying to solve the problem of VB preventing standby, whereas I WANT that behavior.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Prevent Standby with Active Guest

Post by Perryg »

You will need to ask the Mint folks about this. VBox does not have a configuration that would allow or prevent standby that I know of.
cweinhofer
Posts: 6
Joined: 1. Aug 2011, 17:08
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Linux Mint

Re: Prevent Standby with Active Guest

Post by cweinhofer »

cweinhofer
Posts: 6
Joined: 1. Aug 2011, 17:08
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Linux Mint

Re: Prevent Standby with Active Guest

Post by cweinhofer »

The Mint admins responded that there is nothing currently to do this, but that it was theoretically possible "if the running VM could send a message (via D-Bus) to the host (like some media-players)".

Has VB ever considered this as a feature?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Prevent Standby with Active Guest

Post by Perryg »

Not that we would know here. You can always post an enhancement ticket at bugtracker
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Prevent Standby with Active Guest

Post by socratis »

For those that won't visit the Mint forums, the complete reply was:
Sorry, not possible. This would only be possible, if the running VM would send a message (via D-Bus) to the host, like some media-players can do this. I can imagine, that Oracle does not want to do this, because it would be a potential security risk. Depending from your unknown host desktop environment there might be an option to easily turn the energy management temporarily to off.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply