LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2016, 12:45 PM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Rep: Reputation: Disabled
How do you wake up CentOS7 from suspend mode in Virtual Box?


To reduce power consumption,
I suspended CentOS7 in virtual box like so:

systemctl suspend

The it turns into a black screen.
But when I click inside the black screen,
there is no response.
I have to shutdown virtual box and re-start.

How do you wake up CentOS7 from suspend mode in Virtual Box?
 
Old 05-03-2016, 12:56 PM   #2
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Mine does the same so I dont use Suspend on the guest OS. I use the Pause feature on VirtualBox which can be found on the Machine drop-down menu, or by right-clicking the vm on the VirtualBox Manager.

Last edited by erik2282; 05-03-2016 at 12:59 PM.
 
1 members found this post helpful.
Old 05-03-2016, 01:18 PM   #3
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Thank.
Not sure if that save power by pausing this way.

How to you un-hide the toolbar in the VM?
That toolbar with menu items like Machine, ...

I also just clicked status bar, and it disappeared.
I did not see any provision to un-hide those bars!

Last edited by fanoflq; 05-03-2016 at 01:21 PM.
 
Old 05-03-2016, 01:33 PM   #4
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Answer to self:

In VM do this:

<Right-Ctrl> + <Home>
View > Menu Bar > Show Menu Bar


<Right-Ctrl> + <Home>
View > Status Bar > Show Status Bar
 
Old 05-03-2016, 01:39 PM   #5
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by fanoflq View Post
Thank.
Not sure if that save power by pausing this way.
Not sure either. I don't do it save power though.

Quote:
Originally Posted by fanoflq View Post
How to you un-hide the toolbar in the VM?
That toolbar with menu items like Machine, ...

I also just clicked status bar, and it disappeared.
I did not see any provision to un-hide those bars!

HostKey + <HOME>

My host key is the right Ctrl key, which if I remember correctly is default.

This will pop-up menu, go to View and you will see Menu Bar and Status bar. Here you can show/hide.
 
Old 05-03-2016, 01:40 PM   #6
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
ha you beat me.
 
Old 05-03-2016, 01:41 PM   #7
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Thank you for your help.
 
Old 05-03-2016, 01:43 PM   #8
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
You're welcome.
 
Old 05-03-2016, 01:45 PM   #9
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
One more question:
Quote:
I don't do it save power though.
What do you use it for?
 
Old 05-03-2016, 02:57 PM   #10
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
I use it instead of turning off the VM. I guess there's no good reason to use it now after doing some research. I just read this
https://www.virtualbox.org/ticket/8368

Quote:
"Pause" functionality in VirtualBox was intended to temporarily stop VM execution so that VirtualBox process consumed zero host CPU cycles.

Unfortunately it's not the case:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
12482 birdie 20 0 688m 619m 586m S 2.0 15.4 0:20.84 2 VirtualBox

I see consistent 2% CPU usage even though supposedly VirtualBox must be 100% idle.
Never gave it much thought.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Waking after suspend mode both monitors wake up Shark82 Linux - Laptop and Netbook 2 02-23-2011 12:27 PM
Seamless mode on Virtual Box Disabled. Felpipe Ubuntu 1 05-22-2009 08:11 AM
wake up through LAN from suspend-mode barunparichha Linux - Software 1 05-14-2009 01:51 AM
Rebooting into single user mode with a virtual box desertfox858 Linux - Newbie 2 03-07-2009 02:42 PM
My install of Ubuntu 7.04 doesn't wake up from hibernation or suspend mode adityavpratap Ubuntu 4 08-03-2007 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration