Ubuntu – How can i share the host Ubuntu machine desktop to guest Windows machine

virtualbox

Possible Duplicate:
How do I set up shared folders in a Windows XP virtualbox guest?

I installed VirtualBox on my physical machine:

  • Linux Ubuntu 10.04

  • Oracle VirtualBox 4.0.8

In VirtualBox I hosted Windows XP SP3

Question:

How can I share the host Ubuntu machine desktop to guest Windows machine.

Best Answer

For 11.10 and below

Do the following:

First you will need to add yourself (Your Ubuntu user) to the vboxusers.

  1. Go to System -> Administration -> Users and Groups
  2. Select Manage Groups
  3. Look for vboxusers and double click on it
  4. Select yourself form the list since you will be unselected if it is the first time.
  5. It may be needed to Relog/Reboot for the changes to take effect.

Now you have to setup the Windows Guest.

  1. Install your Windows Guest. In my case is Windows XP SP3
  2. Create a folder in your Ubuntu home directory (Lets call it ShareMe)
  3. Open Virtualbox and go to your WinXP VirtualBox Settings. Go to the option that says Shared Folder and click on the little Blue Folder with the Plus sign and select the Folder you want from your home directory (The ShareMe Folder in my case) and then put the name of the folder.
  4. Now run WinXP VirtualBox and install Guest Addition (Load the Guest Addition CD).
  5. Reboot the WinXP Virtualbox after installing Guest Addition and it should automatically load the Shared Folder. If it does not then do this in the Windows Terminal: net use x: \\vboxsvr\SharedMe

Now you have a User in the vboxusers and you have also shared your folder.

Related Question