On Mon, 2009-02-23 at 22:18 +0000, Chris G wrote:
I run xubuntu 8.10 and I want to shut down my VirtualBox guest machine when I log out. That is I want to shut it down automatically, I usually remember to do it before I logout but sometimes I forget and it is then shut down 'ungracefully' with risk to its contents.
One would have thought that there would be 'hooks' for running stuff at shutdown but I can't find any at all.
Does anyone have any suggestions?
Glad to see from the other thread that you have found the answer to your own question.
On a related note though does VirtualBox support VNC? If it does there is another mode of operation in which existing from X doesn't forcibly kill the guest but leaves it running in such a way that you can reattach to it later and continue working. This can be good if you want to avoid a guest reboot cycle if you have to exit X and restart it for some reason.
Regards, Steve.