Page 2 of 2

Posted: 28. Oct 2008, 16:40
by vkov_tinsky
I hope you have moved any virtual disks in /opt/vbox (or whatever you called the directory you created) back to your home directory.
elliotash wrote:I cannot delete the folder created
This should definitely remove the folder: sudo rm -rf /opt/vbox (unless VirtualBox is running or your current path in a terminal window is within that directory).

Regards,
VT

Posted: 28. Oct 2008, 22:27
by Sasquatch
elliotash wrote:Actaully I am still having the same problem and i am stuck. I am getting the same messages regardless of which code I try. What is also happening is I cannot delete the folder created. So something is wrong could you offer some clarification?
Ok, lets say your user is call 'elliot' who uses VB, then the cp/mv command would be mv /home/elliot/.VirtualBox/*.

Posted: 29. Oct 2008, 05:05
by elliotash
Hello guys i have discovered the following in trying to physically share the folder

'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share

Posted: 8. Nov 2008, 00:01
by elliotash
can anyone help me with the following error message i got while trying to reinstall vbox

dpkg: error processing /var/cache/apt/archives/virtualbox 2.0_2.0.4-38406.5fUbuntu%5fhardy_1386.deb (--unpack)
trying to overwrite /lib/modules/2.6.24-21-generic/misc/vboxdrv.ko', which is also in package virtualbox-osemodules-2.6.24-21 generic
dpkg-deb subprocess paste killed signal by signal (broken pipe)
errors were encountered while processing:
/var/cache/apt/archives/virtualbox 2.0_2.0.4-38406.5fUbuntu%5fhardy_1386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Posted: 9. Nov 2008, 16:50
by Sasquatch
It seems that you still have the OSE version installed, or at least a package from the OSE version. Open your package manager and remove all the VB packages you can find. Then install the PUEL version again.

Re: muliple accounts on ubuntu 8.04

Posted: 29. Nov 2009, 02:59
by 2handband
I'm going to bump this thread because I'm having the same prob. I've followed the instructions given by greenpossum. I was able to create the symbolic link from my account (where the machine was originally created) to the new file, but I can't do it from my wife's account. Not sure why. Any ideas?

Re: muliple accounts on ubuntu 8.04

Posted: 29. Nov 2009, 15:13
by Sasquatch
Any errors? Just a simple ln -s /location/of/vb/folder /home/wife/.Virtualbox should be enough. Don't run it as root, else the user might not have the right permissions for it and you need to chown it. You also have to make sure that your wife is in the vboxusers group, and the shared location has full access for the vboxusers group (ownership 664/775, files/folders).

Re: muliple accounts on ubuntu 8.04

Posted: 29. Nov 2009, 15:39
by 2handband
No errors at all. I went in and used chgrp to assign the whole directory to vboxusers, of which both my wife and myself are members. No change; I can still access it fine yet when my wife opens virtualbox she is invited to create a new machine, not access the one in the /opt/vbox directory. Is there anything I should post for you to look at? I'm just learning the bash shell and not very good at troubleshooting yet. Thanks!

Re: muliple accounts on ubuntu 8.04

Posted: 29. Nov 2009, 16:01
by 2handband
Okay, update. I managed to get the symbolic link created for my wife (finally), but now when I try to run vbox from her account I get this error message:

Failed to create the VirtualBox COM object.
The application will now terminate.
Could not even open settings file '/home/jess/.VirtualBox/VirtualBox.xml' in read mode (VERR_ACCESS_DENIED).

Any thoughts?

Re: muliple accounts on ubuntu 8.04

Posted: 29. Nov 2009, 16:10
by Sasquatch
Yes, the file is not fully read/write for vboxusers. The folder might be, but not the files under it. I think it's set for full permission for your user only.

Re: muliple accounts on ubuntu 8.04

Posted: 29. Nov 2009, 17:24
by 2handband
Okay, fixed that, also had to fix permissions on a couple of other files as well. It works now. Awesome! Thanks.