muliple accounts on ubuntu 8.04

Discussions related to using VirtualBox on Linux hosts.
vkov_tinsky
Volunteer
Posts: 218
Joined: 5. Apr 2008, 20:18

Post 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
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

Post 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/*.
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.
elliotash
Posts: 6
Joined: 27. Oct 2008, 09:57

Post 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
elliotash
Posts: 6
Joined: 27. Oct 2008, 09:57

Post 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)
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

Post 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.
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.
2handband
Posts: 60
Joined: 29. Nov 2009, 02:53
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: win xp

Re: muliple accounts on ubuntu 8.04

Post 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?
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: muliple accounts on ubuntu 8.04

Post 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).
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.
2handband
Posts: 60
Joined: 29. Nov 2009, 02:53
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: win xp

Re: muliple accounts on ubuntu 8.04

Post 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!
2handband
Posts: 60
Joined: 29. Nov 2009, 02:53
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: win xp

Re: muliple accounts on ubuntu 8.04

Post 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?
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: muliple accounts on ubuntu 8.04

Post 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.
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.
2handband
Posts: 60
Joined: 29. Nov 2009, 02:53
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: win xp

Re: muliple accounts on ubuntu 8.04

Post by 2handband »

Okay, fixed that, also had to fix permissions on a couple of other files as well. It works now. Awesome! Thanks.
Post Reply