help needed for installing one VM and multiple users
Posted: 30. May 2008, 12:25
Hello,
I've just installed Virtualbox 1.6.0 and wanted to know (if it is possible) how do we share VDI image and config files.
The sharing of config files ".Virtualbox" is ok I found the answer by reading the manual chapter 9 Advanced topics, page 113. It's a matter of a variable to set
you can insert this in your bashrc file it's not so clean but it works 
The problem still in sharing VDI image(s), I'll explain ^^:
My VDI image is in /vsrv/VDI when I put rw rights, the listing of this folder:
I can access to my virtual machine by one and only user the other users can't acces this VM with the same image it's locked by Virtualbox.
So I wanted to try opening access with read only on the VDI files so now the listing of /vsrv/VDI/ :
this way I don't have lock problem so I can startup the VM from 2 different accounts but another problem appears; The VM boot only in text mode the x server fails and crashes.
Do someone have a solution or something that I can do that make it clean please.
Thanks in advance.
I've just installed Virtualbox 1.6.0 and wanted to know (if it is possible) how do we share VDI image and config files.
The sharing of config files ".Virtualbox" is ok I found the answer by reading the manual chapter 9 Advanced topics, page 113. It's a matter of a variable to set
Code: Select all
export "VBOX_USER_HOME=/path/to/configFile" The problem still in sharing VDI image(s), I'll explain ^^:
My VDI image is in /vsrv/VDI when I put rw rights, the listing of this folder:
Code: Select all
$ ls -l /vsrv/VDI
-rw-rw---- 2 admin vboxusers 2562743296 2008-05-30 12:10 ubuntu.vdiI can access to my virtual machine by one and only user the other users can't acces this VM with the same image it's locked by Virtualbox.
So I wanted to try opening access with read only on the VDI files so now the listing of /vsrv/VDI/ :
Code: Select all
$ ls -l /vsrv/VDI
-r--r----- 2 admin vboxusers 2562743296 2008-05-30 12:10 ubuntu.vdithis way I don't have lock problem so I can startup the VM from 2 different accounts but another problem appears; The VM boot only in text mode the x server fails and crashes.
Do someone have a solution or something that I can do that make it clean please.
Thanks in advance.