VirtualBox/Guest Additions
Contents
Warning
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Warning
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#Warning|Warning]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Warning](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Warning)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Warning](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Warning)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Warning]Warning[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
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
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Installing_VirtualBox_Guest_Additions
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#Installing_VirtualBox_Guest_Additions|Installing VirtualBox Guest Additions]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Installing VirtualBox Guest Additions](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Installing_VirtualBox_Guest_Additions)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Installing VirtualBox Guest Additions](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Installing_VirtualBox_Guest_Additions)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Installing_VirtualBox_Guest_Additions]Installing VirtualBox Guest Additions[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
New Instructions for Debian Wheezy
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#New_Instructions_for_Debian_Wheezy
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#New_Instructions_for_Debian_Wheezy|New Instructions for Debian Wheezy]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[New Instructions for Debian Wheezy](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#New_Instructions_for_Debian_Wheezy)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[New Instructions for Debian Wheezy](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#New_Instructions_for_Debian_Wheezy)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#New_Instructions_for_Debian_Wheezy]New Instructions for Debian Wheezy[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
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
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
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Old_instructions_for_Ubuntu_Precise
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#Old_instructions_for_Ubuntu_Precise|Old instructions for Ubuntu Precise]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Old instructions for Ubuntu Precise](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Old_instructions_for_Ubuntu_Precise)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Old instructions for Ubuntu Precise](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Old_instructions_for_Ubuntu_Precise)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Old_instructions_for_Ubuntu_Precise]Old instructions for Ubuntu Precise[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Moved to Ubuntu.
Shared Folder
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Shared_Folder
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#Shared_Folder|Shared Folder]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Shared Folder](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Shared_Folder)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Shared Folder](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Shared_Folder)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Shared_Folder]Shared Folder[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
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 different name, do not use share, use something else, anything, for example, shared.
Permanently mount Shared Folder
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Permanently_mount_Shared_Folder
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#Permanently_mount_Shared_Folder|Permanently mount Shared Folder]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Permanently mount Shared Folder](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Permanently_mount_Shared_Folder)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Permanently mount Shared Folder](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Permanently_mount_Shared_Folder)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Permanently_mount_Shared_Folder]Permanently mount Shared Folder[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
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
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Temporary_disable_Guest_Additions
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[VirtualBox%2FGuest_Additions#Temporary_disable_Guest_Additions|Temporary disable Guest Additions]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Temporary disable Guest Additions](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Temporary_disable_Guest_Additions)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Temporary disable Guest Additions](https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Temporary_disable_Guest_Additions)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/VirtualBox%2FGuest_Additions?oldid=7914#Temporary_disable_Guest_Additions]Temporary disable Guest Additions[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
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 config file for module blacklisting.
sudo nano /etc/modprobe.d/vbox.conf
And add:
blacklist vboxvideo blacklist vboxsf blacklist vboxguest
Safe and reboot. Done.


Copy as Wikitext

for Discourse, reddit, GitHub

Copy as Markdown

Copy as phpBB Click below ↴ = Open social URL with share data











We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!