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.

Related Post:  How to install and configure Git on your favorite 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.

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.

Related Post:  How to install Go on Linux Mint 18 18.1 and Ubuntu 16.04 16.10

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

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:

We Recommend These Vendors and Free Offers

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. Students can register at a 50% discount.

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).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

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

*