Orderly save of VirtualBox VM's on logout
Posted: 12. Jan 2010, 02:48
I am using VirtualBox on Linux with FluxBox as my window manager.
When I logout, I want to be able to execute a script such that any running VM's are 'saved'.
I have written a simple script to save any running VM's but I can't find where to put it where it is useful.
If I put it in the .Xsession file, fluxbox has already exited, killing all GUI apps, before my script runs.
This includes killing all the VirtualBox windows, and thus, the VM's.
Is there a way to I can configure VirtualBox to 'Save' a VM rather than abort it, on exit?
I am currently using 3.0.12 but am actively investigating ways of moving to a later version - given my environmental constraints.
...Lyall
When I logout, I want to be able to execute a script such that any running VM's are 'saved'.
I have written a simple script to save any running VM's but I can't find where to put it where it is useful.
If I put it in the .Xsession file, fluxbox has already exited, killing all GUI apps, before my script runs.
This includes killing all the VirtualBox windows, and thus, the VM's.
Is there a way to I can configure VirtualBox to 'Save' a VM rather than abort it, on exit?
I am currently using 3.0.12 but am actively investigating ways of moving to a later version - given my environmental constraints.
...Lyall