Machine fails to come back from suspend when running as a virtual machine

Bug #1758896 reported by Will Cooke
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Invalid
Low
Unassigned

Bug Description

This is a bit of a compound issue:

1) It is possible to suspend a machine via the top-right menu in GNOME Shell. Click and hold on the power button, it will change to a pause icon. Click this and the machine will suspend. You then can't get the machine to resume.

2) Not being able to resume could be a kernel bug, or a virtualbox bug, or none of these.

3) With a recent change upsteam https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/2fdb48fa auto-suspending might be a default because of energy star requirements. If this setting is standard, then anyone running a virtual machine might find that they can't resume that machine because it's gone to sleep automatically.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I tried duplicating #3 but all I got was a notification

"Automatic Suspend
Computer will suspend very soon because of inactivity."

But it doesn't actually auto-suspend. So maybe it's a bit annoying to have that notification but not a critical bug. If you think that's a worthwhile bug, please file that bug separately.

For #1, to resume from suspend, click in the VirtualBox menu: Machine > ACPI Shutdown.

While not very intuitive, it vaguely makes sense that pressing the virtual power button would be a way to resume a computer from suspend if mouse or keyboard input doesn't work and there is no lid to open.

So I'm going to reassign this bug to VirtualBox.

affects: gnome-settings-daemon (Ubuntu) → virtualbox (Ubuntu)
Changed in virtualbox (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Will Cooke (willcooke) wrote :

I think this is invalid then. The method to resume works.

Changed in virtualbox (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I agree about it being invalid, pressing a key or something else, should not poweron the machine again, we have ACPI menu just to emulate such hardware keys, thanks for enlightening me about the change in gnome-settings-daemon, I got it as a weird default change, even if I wasn't aware of the rationale behind it!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.