Page 2 of 2
Posted: 12. Jul 2008, 06:54
by kunaljain
Hey TerryE,
I try
at command to save the state of Guest OS here are the results
* console startvm, console initiated at savestate :-
works
* console startvm, ssh initiated at savestate : -
fails
I still not able to figure out why it fails remotely while it runs perfectly fine on the console.

Posted: 12. Jul 2008, 07:16
by kunaljain
Hey TerryE
One more thing
ssh startvm, console savestate :- Fails
Sorry i forgot to mention it earlier.
Posted: 12. Jul 2008, 21:18
by TerryE
So for the avoidance of doubt if your script is called
suspendVM and your VM is called
fred them if you create the test script
~/sleepFred:
Code: Select all
#! /bin/sh
whoami
at now <<END
suspendVM fred >/tmp/suspend$1.log 2>&1
END
then if you start
fred from the console, and later type
~/sleepFred Cons from the console then the suspend works. If you restart
fred from the console, and type
~/sleepFred SSH from an interactive ssh then the suspend dies. Just the two files post up
suspendCons.log and
suspendSSH.log here in [
code] blocks will you.
Posted: 27. Jul 2008, 05:25
by bundabrg
Sorry, just a quick post. Probably not a solution.
Another option, under linux, is to use the "disown" command.
IE:
Similar to nohup, it means it will allow you to log out and the session to keep running.
- Brendan
Posted: 27. Jul 2008, 08:34
by kunaljain
Hey TerryE
Only solution i find for handling VirtualBox Remotely is i installed RealVNC on the server and its viewer on my laptop so that i can handle it remotely.