Page 1 of 1
[Solved] Lost connection to guest
Posted: 11. Sep 2013, 18:51
by PaulaCafeld
Hello!
I installed Virtualbox 4.2.18-88780 on a Mac Mini running MacOS X 10.8.4. There is a Ubuntu 12.04 Server as guest.
I can enter the webapplication that is hosted on this guest. After a while it is not possible to access the app anymore. I have to login to the Mac via VNC, click in the guest window and strike a key. And only then I can access the webapp again. It seems that the virtual network interface (bridge mode) enters some kind of sleep mode

What can I do to avoid this?
Re: Lost connection to guest
Posted: 11. Sep 2013, 19:00
by Perryg
Are you sure it isn't the guest that has gone to sleep? What about the guests power management?
Re: Lost connection to guest
Posted: 11. Sep 2013, 21:48
by PaulaCafeld
Perryg wrote:Are you sure it isn't the guest that has gone to sleep? What about the guests power management?
I can click into the guest's virtualbox-window, press a key and I immediately get the console prompt. So I'm sure that the guest didn't hibernate or supend.
Re: Lost connection to guest
Posted: 11. Sep 2013, 22:02
by Perryg
I can click into the guest's virtualbox-window, press a key and I immediately get the console prompt. So I'm sure that the guest didn't hibernate or supend.
Not to be augmentative but doesn't this actually prove the guest was in power save mode (notice I did not say suspend or hibernate). If you had opened it and had the prompt without hitting a key I would have agreed with you.
You can disable all this with a simple command and see if it stops the problem.
If it does then add the statement to /etc/rc.local to make it permanent.
Re: Lost connection to guest
Posted: 12. Sep 2013, 11:24
by PaulaCafeld
Doesn't seem to work

Re: Lost connection to guest
Posted: 12. Sep 2013, 15:01
by Perryg
The command doesn't work or it does not fix the issue?
[Solved] Lost connection to guest
Posted: 13. Sep 2013, 10:51
by PaulaCafeld
Perryg wrote:The command doesn't work or it does not fix the issue?
It didn't fix the issue.
But I solved anyway

I switched off every powersaving parameter on the Mac hostsystem (System settings -> Power). I think, this prevents the virtual network interfaces to fall into a kind of suspend mode.
Thank you for your help.
Paula