How to set VBOX_USER_HOME environmental variable on a Mac

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
andre-CA
Posts: 36
Joined: 27. Feb 2010, 10:14
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP Pro SP 3

How to set VBOX_USER_HOME environmental variable on a Mac

Post by andre-CA »

How do I set the VBOX_USER_HOME=PATHNAME environmental variable on Snow Leopard Mac Os X 10.6.2?

I want all users to share a single value for this varriable when they login. Thanks.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: How to set VBOX_USER_HOME environmental variable on a Mac

Post by ChipMcK »

Google "macosx environment variables" when you have time to do a lot of reading.

The info is buried and, as always, there are multiple ways depending on . . .

Best of Luck finding your method
andre-CA
Posts: 36
Joined: 27. Feb 2010, 10:14
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP Pro SP 3

Re: How to set VBOX_USER_HOME environmental variable on a Mac

Post by andre-CA »

I have spent many hours of reading and I am new to the Mac so I am just not sure which will work for me and what is the easiest way. If someone has set the the variable VBOX_USER_HOME on a Mac OS X 10.6 Snow Leopard - I would greatly appreciate them listing the steps here. I don't want to become an expert at Mac environmental variables - I just need to set this (as do other Mac Host users) so that when different users logon to the Mac they can use the same VMs.

My full question is here: http://forums.virtualbox.org/viewtopic.php?f=8&t=28418

and another user with the same question here: http://forums.virtualbox.org/viewtopic.php?f=8&t=24613

Thanks.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: How to set VBOX_USER_HOME environmental variable on a Mac

Post by baf »

One way I think should work.
Put:
export VBOX_USER_HOME=wanted_value
in /etc/profile and I think it should do what you want.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: How to set VBOX_USER_HOME environmental variable on a Mac

Post by ChipMcK »

All the methods work and are easy to use.

The main hang-ups are
- Command Line
- GUI
- Spotlight
- What version of OS X
- What are the users going to be using

The only real answer is to experiment.

Best of Luck! (Personally, I would go with SpotLight.)
andre-CA
Posts: 36
Joined: 27. Feb 2010, 10:14
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP Pro SP 3

Re: How to set VBOX_USER_HOME environmental variable on a Mac

Post by andre-CA »

Being very new to the Mac - the post above from baf seems easy enough to try.
baf wrote:One way I think should work.
Put:
export VBOX_USER_HOME=wanted_value
in /etc/profile and I think it should do what you want.
ChopMcK - How would I do the spotlight method that you suggest? Thanks again for your thoughts on this.
Post Reply