Page 1 of 1

Starting VBox Instance in Background

Posted: 11. May 2016, 11:50
by FaBiBu
Hello,

actual i start my vm' using the comand
vboxmanage startvm vmname --type headless

At this time i am logged in with RDP in the Win 2008 server which ist my VBox host.

But wenn ich close the RDP connection, all my vm's going down.

How kann i start VBox vm's in Background?

What exactly are --type sdl and --type seperate

Who kann i start vm's at boot time under a specific user account?

Thanks for any help.

Re: Starting VBox Instance in Background

Posted: 11. May 2016, 15:57
by scottgus1
i am logged in with RDP in the Win 2008 server which ist my VBox host. But wenn ich close the RDP connection, all my vm's going down.
Microsoft's Remote Desktop is heavily connected to the logged-in account, and it may very well interfere with running guests, as there may be a log-off depending on how MS RDP is disconnected, and the guests will be killed.

You could use another remote desktop software that doesn't force a log-off, like UltraVNC or TeamViewer or some such. (I use UltraVNC and have no issues running guests remotely.) Put your command in a shortcut and put the shortcut in the Startup folder, then have your host automatically log on and lock itself. The guests will run when the host boots and auto-logs-in, and you could remote in as needed. Use Virtualbox's Remote Desktop server to see the guests' windows.

Or use the Task Scheduler to run the guests so no auto-log-in is necessary, then you could keep using MS RDP and use Virtualbox's RDP to see the guests.

Re: Starting VBox Instance in Background

Posted: 19. May 2016, 16:46
by noteirak
VBoxVmService is what you are looking for. Have at look at the last post for the latest release and the official website.