Tutorials/Tips, Ubuntu

How to wake a VirtualBox guest from suspend mode in Linux

In the course of writing this article, I had to put the VirtualBox guest I used in suspend mode, then tried to wake it from that mode to see if it would work. Well, putting it in suspend mode was easy. Waking it was a different matter because the usual keyboard press did not work.

There has to be another method of waking it from suspend mode. Fortunately, there is. And so in this very brief article, you’ll learn how to wake a VirtualBox guest from suspend mode – from the Linux command line. The command is the same on any Linux distribution.

The VirtualBox guest is running Ubuntu 17.04 (upgraded it from Ubuntu 16.10). I put it in suspend mode by selecting the appropriate option from the user menu. Once in suspend mode, the screen will blank out and resize to 800×600. And it will remain that way until you wake it from that mode.

Related Post:  How to boost the physical security posture of your Linux-powered computer

But like I wrote earlier, no key press will do the trick. To wake it from suspend, use the following command. ubuntu-16.10 is the name of the VirtualBox guest, so swap that out in your own command.

By the way, the same command will also put a VirtualBox guest in suspend mode. However, if you use the command to put the guest in suspend mode, the guest’s screen will not blank out completely. Instead, it will likely look like the one in Figure 1.

VirtualBox guest suspend
Figure 1: A VirtualBox guest in suspend mode

Please share:

We Recommend These Blockchain Conferences and Servicess

Register now for Blockchain & Decentralized Tech SuperSummit, international conference on blockchain technology in Dallas, TX (USA), April 1 - 4, 2019

Reasons to use control panel for your server

Today's valid web hosting discount codes

Learn how to trade cryptocurrencies using technical and fundamental analyses at BDT SuperSummit

Best binary auto trading software reviews by 7binaryoptions.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).


3 Comments

  1. Bob Campbell

    FYI, to do this on MacOS (OSX):

    /Applications/VirtualBox.app/Contents/MacOS/VBoxManage controlvm myvmname acpisleepbutton

  2. How can I send a CTRL-H.
    No way to do that. Please explain in detail.

  3. Do a CTRL-H from the VirtualBox Manager to wake up a Guest from suspend.

Leave a Comment

Your email address will not be published. Required fields are marked *

*