Install VirtualBox Guest Additions Software And Enable Bidirectional Clipboard Sharing With Ubuntu Guest Machines 2


VirtualBox is a cool software. You can use it to run multiple guest operating systems (Windows XP, Vista, Windows 7, Ubuntu, Fedora and many others) from one host machine at the same time ( if the host can handle the load). The host machine is the one that you’ll install VirtualBox software on, and the guest machines are the ones created within VirtualBox Software.

It is a great tool to have if you’re planning to run and test different operating systems without needing individual machine to run each.

I use it everyday to run my machines which includes, Windows XP, Windows 7, Windows 8, Ubuntu 12.04, Ubuntu 13.04, all from a single Windows 7 computer. The host machine could be any OS. But I prefer Windows 7.

So, this brief tutorial is going to show you how to install VirtualBox Guest Additions software inside a Ubuntu guest machine and enable bidirectional clipboard sharing ( copying and pasting content from the guest to the host machine or vice versa).

To get started, open VirtualBox, select the guest machine you wish to edit and click ‘Settings’

 

guest_machine_clipboard

Mine is Ubuntu 13.04 Raring Ringtail.

Next, select the ‘Advanced’ tab and enable Shared Clipboard: (Bidirectional)

 

guest_machine_clipboard_1

 

Save and close out. When you’re done, start the guest machine and sign into Ubuntu. When you login, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to install the guest machine software for Ubuntu.

Run this commands to update your system and install essential tools to support the guest machine software.

sudo apt-get update && sudo apt-get install build-essential linux-headers-$(uname -r)

 

guest_machine_clipboard_2

 

Finally, run the commands below to install the guest machine software.

sudo apt-get install virtualbox-ose-guest-x11

 

guest_machine_clipboard_3

 

Restart your computer. After restarting, you should be able to copy and paste text from the host machine to the guest and vice versa.

 

guest_machine_clipboard_4

 

Enjoy!


Please share if you like it on:



Leave a Comment

Your email address will not be published. Required fields are marked *

2 thoughts on “Install VirtualBox Guest Additions Software And Enable Bidirectional Clipboard Sharing With Ubuntu Guest Machines

  • hello

    If you are running ubuntu 12.04 as your main host and you want to install the guest additions on your virtual box, run the virtual machine and press right ctrl+D, and select download guest additions. When the download is finished mount it, open up your guest machine and click next. My Guest OS is windows xp sp3 and I want to install the direct 3d support. I clicked reboot when my installation finished and when it started up again I pressed f8 to get to the start in safe mode option, put in my admin password, and pressed right ctrl + D again, this time I checked direct 3d support. Install it reboot it a second time and it should be done. When it reboots I can finally access my shared folder. I tried holding alt or shift to get the devices options but it never showed on my guest machine window. I guess it was forgotten about. If you were to be running windows xp sp3 and installing ubuntu 12.04 as a guest operating system, you could do everything I wrote by just clicking devices and installing guest additions in safe mode all in one step.