Virtualbox and Windows 7 Sleep issues

I got Virtualbox Version 5.1.28 r117968 (Qt5.6.2), running in Windows 7 Ultimate. I installed Ubuntu 16.04 LTS as a guest in Vb. Works great but doesn’t let Windows go to sleep after the sleep timeout. I can put Windows to sleep manually but Windows cannot go to sleep on its own when Ubuntu is running in Vb. Any clues on how to fix this? I like to save power and want Windows to go to sleep on its own if a user forgets to put it to sleep manually.

So I switched to Vmware Player and the sleep works fine. Even the volume keys work in the guest OS (Lubuntu).

Vmware tools installation from Vmware Player CD load didn’t work. You can check by doing this:
s@s-Lubuntu:~$ /etc/init.d/vmware-tools status
vmware-guestd is not running

So install open-vm-tools instead. Here is the command for that:
sudo apt-get update
sudo apt-get install open-vm-tools open-vm-tools-desktop

More on that command here:

s@s-Lubuntu:~$ /etc/init.d/open-vm-tools status
● open-vm-tools.service – Service for virtual machines hosted on VMware
Loaded: loaded (/lib/systemd/system/open-vm-tools.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-09-19 20:19:20 CDT; 9h ago
Main PID: 615 (vmtoolsd)
Tasks: 2 (limit: 19660)
CGroup: /system.slice/open-vm-tools.service
└─615 /usr/bin/vmtoolsd



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: