automatic start and savestate of headless VMs
Posted: 17. Apr 2009, 10:54
I have VirtualBox 2.2.0 installed on Ubuntu8.04
And I have two headless VMs running under user "A" on the host.
One headless VM act as a server and one headless VM act as a Desktop via rdp-connection.
What I want is, that these VMs start automatically, when a second user "B" starts up the host and savestate automatically and complete, when user B shuts down the host.
I've found a HowTo at: http://www.glump.net/howto/virtualbox_as_a_service
But neither the automatic shutdown where "/etc/default/virtualbox" and "/etc/init.d/vboxdrv" is involved,
nor the init-script for automatic starting worked for me.
Is it essential to run them VMs as a service, or is it also possible to start them via rc.local?
I'm not the only one who made the experience that automatic savestate does not work via vboxdrv and the corresponding entries in /etc/default/virtualbox. What changes I have to make for the VBox Version 2.2.0 to solve it?
Do you have any hints or suggestions?
Greetings
And I have two headless VMs running under user "A" on the host.
One headless VM act as a server and one headless VM act as a Desktop via rdp-connection.
What I want is, that these VMs start automatically, when a second user "B" starts up the host and savestate automatically and complete, when user B shuts down the host.
I've found a HowTo at: http://www.glump.net/howto/virtualbox_as_a_service
But neither the automatic shutdown where "/etc/default/virtualbox" and "/etc/init.d/vboxdrv" is involved,
nor the init-script for automatic starting worked for me.
Is it essential to run them VMs as a service, or is it also possible to start them via rc.local?
I'm not the only one who made the experience that automatic savestate does not work via vboxdrv and the corresponding entries in /etc/default/virtualbox. What changes I have to make for the VBox Version 2.2.0 to solve it?
Do you have any hints or suggestions?
Greetings