I am trying to create a shared folder between my Windows 7 Host and my Ubuntu Virtual Machine.
First i am Creating a Folder on my Desktop. Secondly i go to the Virtual Box Menu and the Options of the chosen Virtual Machine, click Shared Folders and select the created folder and also click auto mount.
Then i start my already setup Virtual Ubuntu Machine and install the Guest Additions.
Afterwards i open a terminal and paste in gksudo gedit /etc/init.d/rc.local The terminal asks me to install some gksudo stuff which i do and afterwards hit the command again and get to work on that file.
To the bottom of the file i paste in:
mount -t vboxsf Share /media/sf_Share
Share is the name of the folder i created on my windows 7 desktop.
After saving the file and exiting the terminal shows me a Gtk_Warning Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided.
Then i install gnome session manager, open the fiel with the gksudo command again save it, exit and ther comes no error message.
Still when i go to media folder and try to open the shared folder there comes a message that i don't have the rights todo so.
Where is the mistake? I already tried to reinstall the virtual machine from scrath but it won't help. It worked on my last system and the only thing different was that i used an older virtual box version.
Could this be the problem? Oracle Virtual Box v.4.3.18?
Problem with setting up shared folder with an Ubuntu Guest
-
kennthG1234
- Posts: 38
- Joined: 9. Jul 2014, 03:15
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Problem with setting up shared folder with an Ubuntu Gue
auto-mount means that it is auto-mounted for you see chapter 4.3 in your VirtualBox users manual.
-
kennthG1234
- Posts: 38
- Joined: 9. Jul 2014, 03:15
Re: Problem with setting up shared folder with an Ubuntu Gue
Yes, but my problem still remains.Perryg wrote:auto-mount means that it is auto-mounted for you see chapter 4.3 in your VirtualBox users manual.
Does anyone have a solution for me how i could get rights to read/write the shared folder in my Ubuntu Guest MAchine?
-
kennthG1234
- Posts: 38
- Joined: 9. Jul 2014, 03:15
Re: Problem with setting up shared folder with an Ubuntu Gue
Maybe i should try the older version of Virtual Box it used to work there before i reinstalled windows 7 64bit?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Problem with setting up shared folder with an Ubuntu Gue
Did you read the information that is provided in the manual? It tells you what you need to do, so what set is unclear to you?
The location of the shared folder, adding your user name to the vboxsf group, or the fact that the guest additions must be installed?
The location of the shared folder, adding your user name to the vboxsf group, or the fact that the guest additions must be installed?
-
kennthG1234
- Posts: 38
- Joined: 9. Jul 2014, 03:15
Re: Problem with setting up shared folder with an Ubuntu Gue
Well i read the information in the tutorial,i stated all the steps i took to create the folder impov i did everything correctly and i also stated that it worked for me using an earlier VBox version following the same steps i stated above.
So either please tell me what i did wrong or if there is a bug in this version that would not allow one to create shared folders and what version of vbox does support it.
Heres the video tutorial i used i followed it step by step and impov it tells you the same as the user manual.
https://www.youtube.com/watch?v=GSqLm63oy-I
So either please tell me what i did wrong or if there is a bug in this version that would not allow one to create shared folders and what version of vbox does support it.
Heres the video tutorial i used i followed it step by step and impov it tells you the same as the user manual.
https://www.youtube.com/watch?v=GSqLm63oy-I
Last edited by kennthG1234 on 20. Oct 2014, 03:24, edited 1 time in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Problem with setting up shared folder with an Ubuntu Gue
All of the steps you posted were for a manual share and you do *NOT* use auto-mount for that.
If you are wanting to use the auto-mount you do not need to have the mount statement in the /etc/rc.local
Auto mount only requires thre thing as I have stated.
But you can not have the manual mount statements in /etc/rc.local or auto-mount will fail.
If you are wanting to use the auto-mount you do not need to have the mount statement in the /etc/rc.local
Auto mount only requires thre thing as I have stated.
- 1) guest additions must be installed ( in the guest )
2) you select auto-mount when creating the shared folder.
3) your guests user name must be in the vboxsf group.
But you can not have the manual mount statements in /etc/rc.local or auto-mount will fail.
-
kennthG1234
- Posts: 38
- Joined: 9. Jul 2014, 03:15
Re: Problem with setting up shared folder with an Ubuntu Gue
OK, but what i said is that the folder IS mounted but i can not acsess it, just saying i will give it another try now.
-
kennthG1234
- Posts: 38
- Joined: 9. Jul 2014, 03:15
Re: Problem with setting up shared folder with an Ubuntu Gue
OK thanks, i added my Ubuntu username to the vboxsf group (http://alcobrov.blogspot.co.at/2012/06/ ... ccess.html) and added the shared folder as auto mount folder in Virtual Box Options of my Ubuntu Machine.
It worked that way (it really is all in the user Manual) and is a much easier way to achieve the shared folder than the way i used before.
It worked that way (it really is all in the user Manual) and is a much easier way to achieve the shared folder than the way i used before.