virtualbox guest additions

5
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 Whonix / Documentation / VirtualBox Guest Additions http://sourceforge.net/p/whonix/wiki/VirtualBox Guest Ad... 1 de 5 04/06/13 02:30

Upload: cosasdeangel

Post on 21-Jan-2016

70 views

Category:

Documents


14 download

TRANSCRIPT

Page 1: VirtualBox Guest Additions

SourceForge

Browse Enterprise Blog Help JobsLog In or Join

Solution Centers

Smarter Commerce Go Parallel HTML5 Smarter ITResources Newsletters

HomeBrowseProjectsWhonix

Whonix

alpha

Whonix is an Anonymous Operating System.

Brought to you by: adrelanos

Summary_ReviewsSupportHomepageDocumentationImportant BlogFeature BlogUser Help ForumDeveloper Mailing ListDonate__

VirtualBox Guest Additions

Whonix Homepage | | Donate

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

1 de 5 04/06/13 02:30

Page 2: VirtualBox Guest Additions

News | Screenshots | Videos | Download | Documentation | About | Features | SecurityGuide | FAQ | Forum | Contact

Bridges Support | VPN/Tunnel Support | Location/IP Hidden Servers | WindowsSupport | 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 AdditionsWarningInstalling VirtualBox Guest Additions

New Instructions for Debian WheezyOld instructions for Ubuntu Precise

Shared FolderPermanently mount Shared Folder

Temporary disable Guest AdditionsFooter

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 youinstall Guest Additions anyway, better cover it up or remove yourmicrophone.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 machinesettings -> 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 wassometimes a real pain to install the guest additions. The search brought up, thathonorable people created a debian package with the tools. Simply do:

sudo apt-get update && sudo apt-get dist-upgrade

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

2 de 5 04/06/13 02:30

Page 3: VirtualBox Guest Additions

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, VirtualBox: 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 mountautomatically and create permanently. Press ok. Use the following commands tomount to folder.

sudo mkdir -p /mnt/sharedsudo chmod 777 /mnt/sharedsudo mount -t vboxsf -o uid=1000,gid=1000 shared /mnt/shared

If you run into a Protocol Error try using a different 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 folderautomatically, have a look at the source of that information or simply add before exit0 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 Boxguest 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 config file for module blacklisting.

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

3 de 5 04/06/13 02:30

Page 4: VirtualBox Guest Additions

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

And add:

blacklist vboxvideoblacklist vboxsfblacklist 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

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

4 de 5 04/06/13 02:30

Page 5: VirtualBox Guest Additions

Help

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

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

5 de 5 04/06/13 02:30