Page 1 of 1

run vbox as a service on a mac

Posted: 14. Jun 2010, 22:43
by hmanski
hi all,

i have read some threads about running vbox as a service on windows, but did not find any article about how to do the same on a mac os.
problem is within a small network i do not want to be permanently logged on in order to be able to use vbox through rdp.
can anyone help?

thanx in advance.

Re: run vbox as a service on a mac

Posted: 16. Jun 2010, 02:45
by wyrdR
Is this what you're after?
Running VBox on OS X Server

Re: run vbox as a service on a mac

Posted: 20. Jun 2010, 00:35
by hmanski
yeah, pretty much.
modified the script and tried out, but it is not working for me.
all i want is virtual box to start automatically on server boot or run in background.
currently i have to login and run virtual box and stay logged in. as soon as i log out, virtual box is being quit.
any tutorial or something alike available ?

thanks a mil'

Re: run vbox as a service on a mac

Posted: 20. Jun 2010, 04:21
by wyrdR
No tutorial yet.

I might go through this step by step and post it up later.

Note: It's not just a script. You need to "a LaunchDaemon to start the VBoxHeadless process". See also man launchd.

Re: run vbox as a service on a mac

Posted: 20. Jun 2010, 16:57
by hmanski
thank u very much for your help.
do i get this right: first i have to set up a launch daemon which will start the VBoxHeadless. this again will work with the script and run vbox when booting server, right?

cheers

Re: run vbox as a service on a mac

Posted: 21. Jun 2010, 01:06
by wyrdR
That's the gist of it.

Re: run vbox as a service on a mac

Posted: 24. Jun 2010, 09:40
by wyrdR
hmanski wrote:hi all,

i have read some threads about running vbox as a service on windows, but did not find any article about how to do the same on a mac os.
problem is within a small network i do not want to be permanently logged on in order to be able to use vbox through rdp.
can anyone help?

thanx in advance.
Hi hmanski,

I hope this post will help you:

VBox Daemon for Mac OS X

Re: run vbox as a service on a mac

Posted: 25. Jun 2010, 20:22
by hmanski
Hi hmanski,

I hope this post will help you:

VBox Daemon for Mac OS X
brilliant!! much appreciated.