Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Ubuntu guest in VirtualBox - some tips


12 Mar 2012   #1
TE7

Microsoft Windows 7 Home Premium 64-bit SP1
 
 
Ubuntu guest in VirtualBox - some tips

1. Getting a high or fullscreen resolution for your Ubuntu guest:

If installing the Guest Additions doesn't give you a high enough resolution for a decent sized window, or nor a fullscreen resolution, try the following link:

Ubuntu In VirtualBox – Set A High Screen Resolution - Linux/Unix Tutorials | Dream.In.Code

I found I had to edit my xorg.conf (/etc/X11/xorg.conf) to give me fullscreen resolution. After you make the change, just reboot, and you will have your desired resolution (windowed or fullscreen). If fullscreen, just choose Fullscreen from the virtualbox view menu option.

2. Sharing a Windows folder with Ubuntu:

- In settings for the guest, choose your Windows folder to share.
- In your home folder in Ubuntu you can create a new folder (VBoxShared for example).
- Open the terminal in Ubuntu, and type the following command:

sudo mount -t vboxsf NameofYourWindowsFOlder ~/NameofYourFolderToShareInUbuntu

For example, if in the guest settings your choose a Windows folder called VirtualBoxShared, and created a folder called VBoxShared in Ubuntu in your home folder , you would use the following command:

sudo mount -t vboxsf VirtualBoxShared ~/VBoxShared

Just type in your password when prompted, and hit enter.

To make things quicker,

- You can open gedit, enter your command, and save it to the Desktop.
- Then right click on the saved file, choose Properties, then Permissions,
and check "Allow executing file as program"
- Then just double click, and choose Run In Terminal, and enter your password.

If you want to automatically access your Windows share every time you boot into your Ubuntu guest, you can do the following:

Add yourself (username) to the vboxsf group using the following command:

sudo usermod -a -G vboxsf username

Then logout and log back in, and your Windows shared folder should show up /media in the filesystem with read/write permissions.

Make sure that in the settings in VirtualBox for your Ubuntu guest, you select the Windows shared folder as auto-mount.

3. Create desktop launchers (for those who like desktop icons, in the Gnome Classic desktop, for example):

How To Create Desktop Launchers in Ubuntu 11.10(Oneiric)*|*Ubuntu Geek

To make things quicker, open gedit, paste the command into it, save to desktop, and make executable, as in step 2 above. Most all of your program executables will be in /usr/bin when your browse for your command.

I hope these tips help.

Tom


My System SpecsSystem Spec
.

12 Mar 2012   #2

Windows 7 Home premium 64bit SP1
 
 

good info for those that run Ubuntu in virtual box
My System SpecsSystem Spec
13 Mar 2012   #3
TE7

Microsoft Windows 7 Home Premium 64-bit SP1
 
 

Thanks.
My System SpecsSystem Spec
.


13 Mar 2012   #4
TE7

Microsoft Windows 7 Home Premium 64-bit SP1
 
 

I added how to auto-mount your Windows shared folder.
My System SpecsSystem Spec
Reply

 Ubuntu guest in VirtualBox - some tips




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:44 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33