You are on page 1of 5

Whonix / Documentation / VirtualBox Guest Additions

http://sourceforge.net/p/whonix/wiki/VirtualBox Guest Ad...

SourceForge Browse Enterprise Blog Help Jobs Log In or Join Solution Centers Smarter Commerce Go Parallel HTML5 Smarter IT Resources Newsletters Home Browse Projects Whonix

Whonix
alpha

Whonix is an Anonymous Operating System.


Brought to you by: adrelanos Summary _ Reviews Support Homepage Documentation Important Blog Feature Blog User Help Forum Developer Mailing List Donate _ _

VirtualBox Guest Additions


Whonix Homepage | | Donate

1 de 5

04/06/13 02:30

Whonix / Documentation / VirtualBox Guest Additions

http://sourceforge.net/p/whonix/wiki/VirtualBox Guest Ad...

News | Screenshots | Videos | Download | Documentation | About | Features | Security Guide | FAQ | Forum | Contact Bridges Support | VPN/Tunnel Support | Location/IP Hidden Servers | Windows Support | Flash Support | You Can Help Contribiute | Tech. Design | Source Code / Hacking / Development Tickets | Changelog | Authorship | Disclaimer
This is a wiki. Want to improve this page? Contact us!

VirtualBox Guest Additions Warning Installing VirtualBox Guest Additions New Instructions for Debian Wheezy Old instructions for Ubuntu Precise Shared Folder Permanently mount Shared Folder Temporary disable Guest Additions Footer

VirtualBox Guest Additions Warning


Warning: Not recommend! Weakens security in general as per [Security Guide] (Harden Virtualbox). Also see article, The VirtualBox Kernel Driver Is Tainted Crap (w). Additionally they give the Virtual Machine access the the host's (built-in) microphone. Many notebooks have a built-in microphone. In case you install Guest Additions anyway, better cover it up or remove your microphone. Disable clipboard sharing! It is already disabled by default since Whonix 0.5.5. Enable it only temporarily in case you really need it. Go to Virtual Box machine settings -> General -> Advanced -> Shared Clipboard -> Disable -> ok.

Installing VirtualBox Guest Additions


New Instructions for Debian Wheezy
Very simple. Searching for Debian packages containing Virtual Box was a wise thing. In past it was sometimes a real pain to install the guest additions. The search brought up, that honorable people created a debian package with the tools. Simply do:
sudo apt-get update && sudo apt-get dist-upgrade

2 de 5

04/06/13 02:30

Whonix / Documentation / VirtualBox Guest Additions

http://sourceforge.net/p/whonix/wiki/VirtualBox Guest Ad...

Followed by.
## If you only want Shared Folder, for improved security, ## you can try using only the next line, but not the line after next. sudo apt-get install --no-install-recommends virtualbox-guest-dkms virtualbox-guest-utils ## If you want all features, such as dynamic resolution ## and mouse integration. sudo apt-get install virtualbox-guest-x11

Reboot. And you're done. Alternatively, if this fails, you could also refer to the upstream documentation, Virtual Box: Chapter 4. Guest Additions.

Old instructions for Ubuntu Precise


Moved to Guest additions for Ubuntu Precise.

Shared Folder
And if you want to use the shared folder read ahead... Go to VirtualBox -> machine -> change -> shared folder -> choose a folder -> use folder name shared. Choose mount automatically and create permanently. Press ok. Use the following commands to mount to folder.
sudo mkdir -p /mnt/shared sudo chmod 777 /mnt/shared sudo mount -t vboxsf -o uid=1000,gid=1000 shared /mnt/shared

If you run into a Protocol Error try using a dierent name, do not use share, use something else, anything, for example, shared.

Permanently mount Shared Folder


After reboot, you have to repeat the mount command. If you want to mount the folder automatically, have a look at the source of that information or simply add before exit 0 in your /etc/rc.local:
sudo mount -t vboxsf -o uid=1000,gid=1000 shared /mnt/shared

Temporary disable Guest Additions


This solution is incomplete! In case you want to temporarily disable Virtual Box guest additions, you can try this. A safer solution would be to uninstall them. Find out which Virtual box kernel modules are load.
cat /proc/modules | grep vbox

Create a new cong le for module blacklisting.


3 de 5 04/06/13 02:30

Whonix / Documentation / VirtualBox Guest Additions


sudo nano /etc/modprobe.d/vbox.conf

http://sourceforge.net/p/whonix/wiki/VirtualBox Guest Ad...

And add:
blacklist vboxvideo blacklist vboxsf blacklist vboxguest

Safe and reboot. Done.

Footer
This is a wiki. Want to improve this page? Contact us!
Unless otherwise noted above, content of this particular page is copyrighted by adrelanos and licensed under the same Free (as in speech) license as Whonix itself.

Related Wiki: Security Guide


SourceForge

About Site Status @sfnet_ops


Find and Develop Software

Create a Project Software Directory Top Downloaded Projects


Community

Blog @sourceforge Job Board

4 de 5

04/06/13 02:30

Whonix / Documentation / VirtualBox Guest Additions


Help

http://sourceforge.net/p/whonix/wiki/VirtualBox Guest Ad...

Site Documentation Support Request Real-Time Support Copyright 2013 SourceForge. All Rights Reserved. SourceForge is a Dice Holdings, Inc. company. Terms Privacy Cookies/Opt Out Advertise SourceForge.JP

5 de 5

04/06/13 02:30

You might also like