Configure virtual machine for all users

Discussions related to using VirtualBox on Windows hosts.
Post Reply
isvouga
Posts: 1
Joined: 28. Nov 2010, 22:26
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Fedora

Configure virtual machine for all users

Post by isvouga »

Hi,

When i create a virtual machine it is only available for the user who created it. How can i replicate that configration for all users.

My operating system host is a Windows 7 running a virtual machine of Fedora.

Thanks

Marco
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Configure virtual machine for all users

Post by Sasquatch »

Add a system wide variable called VBOX_USER_HOME and point it to a location where every user has read and write privileges. Reboot the system and VB will now look in that location for VMs for all users. Do note that every VM is now created there, you can't have private VMs without changing the variable somehow when you start VB.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Saurabh Gayali
Posts: 1
Joined: 1. Jul 2015, 13:30

Re: Configure virtual machine for all users

Post by Saurabh Gayali »

What if I want only 1 VM to be shared but not others.

I want 1 VM say alluserVM

And I will produce more VMs later with name extraVM2 and extraVM3
But I dont want to share this with other users, neither give them power to delete. Cause simple password would have been a solutin, but they can delete it.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Configure virtual machine for all users

Post by mpack »

The advice above is 5 years old, it is obsolete and in any case was about a subtly different subject: how to ensure that future VMs are created in a shared space. Wheras you want to locate a single existing VM in a shared space.

So - move that one VM to common folder space and have each user register it separately.

Howto: Move a VM.
Post Reply