How to Keep running VirualBox guest OS even when Host system logs off?

Discussions related to using VirtualBox on Mac OS X hosts.

How to Keep running VirualBox guest OS even when Host system logs off?

Postby thulasis » 5. Nov 2017, 09:21

Dear All

I am new to VBox. To complete one of the project I choose VirtualBox. I am running Kubuntu 64 bit OS on Virtual Box and Mac OS High Sierra as Host OS.
I am running a Perl Script in guest OS which will take more than 24 hours to finish. Everything looks fine until I observed this fact. Whenever host OS logs off or Screens locks or idle for some time, the script running in guest OS pauses and resumes only when the Host OS active again. I cannot turn on Host OS display for every 5 or 10 minutes. Please suggest me a way to keep running VirtualBox guest OS even host OS is idle or log off state.

Thank you
thulasis
 
Posts: 2
Joined: 5. Nov 2017, 09:10

Re: How to Keep running VirualBox guest OS even when Host system logs off?

Postby socratis » 5. Nov 2017, 11:07

thulasis wrote:a way to keep running VirtualBox guest OS even host OS is idle or log off state

I'm afraid those are two completely different things. If you're idle (and most probably sleeping after a while), your applications are still up and running, including VirtualBox. When you're logged off, all your applications stop to work, including VirtualBox...

What you need to do is to change the "Sleep" settings on your OSX and your guest to never-sleep. You didn't mention your host (laptop or not), but make sure that the "Computer sleep" is set to "Never". And adjust your guest's power/energy preferences to never sleep, to never put the display to sleep and disable the screensaver.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12612
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: How to Keep running VirualBox guest OS even when Host system logs off?

Postby thulasis » 7. Nov 2017, 08:52

Dear Socratis

I did both that sleep never in both host and guest. If I went wrong somewhere, I'll check again. I forgot to mention that mine is Macbook Air 2017 model. Guest OS is Kubuntu
thulasis
 
Posts: 2
Joined: 5. Nov 2017, 09:10


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Google [Bot] and 24 guests