run vbox as a service on a mac

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
hmanski
Posts: 4
Joined: 14. Jun 2010, 22:37
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: win xp

run vbox as a service on a mac

Post 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.
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: run vbox as a service on a mac

Post by wyrdR »

Is this what you're after?
Running VBox on OS X Server
hmanski
Posts: 4
Joined: 14. Jun 2010, 22:37
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: win xp

Re: run vbox as a service on a mac

Post 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'
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: run vbox as a service on a mac

Post 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.
hmanski
Posts: 4
Joined: 14. Jun 2010, 22:37
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: win xp

Re: run vbox as a service on a mac

Post 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
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: run vbox as a service on a mac

Post by wyrdR »

That's the gist of it.
wyrdR
Posts: 36
Joined: 9. Aug 2009, 15:15
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7,Xubuntu,Mac OS X server

Re: run vbox as a service on a mac

Post 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
hmanski
Posts: 4
Joined: 14. Jun 2010, 22:37
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: win xp

Re: run vbox as a service on a mac

Post by hmanski »

Hi hmanski,

I hope this post will help you:

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