How to install VirtualBox Guest Additions on Kali Linux
If you run Kali Linux as a 'guest' in VirtualBox, this article will help you successfully install the 'VirtualBox Guest Additions' tool on Kali Linux.
You must use 4.2.xx or newer of VirtualBox to take advantage of enhancements, including compatible updates and enhance the stability of both platform and client applications.
- Download VirtualBox
Install VirtualBox Guest Additions in Kali Linux
VirtualBox Guest Additions integrates appropriate mouse and screen, as well as shared folders, with your operating system. To install them, proceed as follows.
Start the Kali Linux virtual machine, open the terminal window and enter the following commands:
apt-get update
apt-get install -y virtualbox-guest-x11
reboot
Install VirtualBox Guest Additions in older Kali versions
Start Kali Linux virtual machine, open a terminal window and enter the following command to install Linux kernel headers:
apt-get update && apt-get install -y linux-headers - $ (uname -r)
Once completed, you can attach an image of the CD-ROM ' Guest Additions '. Select ' Devices ' from the VirtualBox menu and then select ' Install Guest Additions '. This will mount the ISO Guest Additions in the virtual CD drive of the virtual machine Kali Linux. When prompted to run the CD automatically, click the Cancel button.
From the terminal window, copy the VboxLinuxAdditions.run file from the Guest Additions CD-ROM to the path on the local system. Ensure the necessary conditions and run the file to start the installation.
cp /media/cd-rom/VBoxLinuxAdditions.run / root /
chmod 755 /root/VBoxLinuxAdditions.run
cd / root
./VBoxLinuxAdditions.run
Restart Kali Linux virtual machine to complete the Guest Additions installation process. You will now have full mouse and screen integration, as well as the ability to share folders with the server system.
Create shared folders with the server system
This section explains how to share folders on the server system with Kali Linux VirtualBox 'guest'.
From VirtualBox Manager, select your Kali Linux VM and click on the ' Shared Folders ' link in the right pane. This will open a window to add the shared folder. In this window, click the " Add Folders " icon.
In the Folder Path text box, provide the path to the folder you want to share or click the drop-down arrow to browse the server system for the path to the directory. Select the checkboxes to enable ' Auto-mount ' and ' Make Permanent ' and click the ' OK ' button both times when prompted.
Your shared folders will now be available in the media folder. You can create bookmarks or links for easier access to folders.
See more:
- How to install Kali Linux on Android using Linux Deploy
- Instructions for installing Kali Linux on Windows 10 are easier than ever
- How to install and use Kali Linux on VmWare virtual machine
You should read it
- How to install Kali Linux on macOS
- Instructions for installing Kali Linux via Network PXE
- How to install Kali Linux reduced version
- How to Install VirtualBox on Linux
- How to create customized Potassium ISO
- Instructions for installing Kali Linux on Windows 10 are easier than ever
- How to install NVIDIA drivers on Kali Linux
- How to install Kali Linux dual boot on macOS
May be interested
- How to manage Linux services using Systemdone of the most important skills that any new systemd user needs to learn is how to manage computer services. this article will teach you the basics: start, stop, enable and disable services from the linux command line.
- 10 reasons you can't not 'love' Linux Mintwhen deciding to switch to linux, which version should you choose? when consulting with the 'seniors', they will introduce linux mint. why? it is simply one of the most user-friendly and flexible linux distributions.
- How to 'turn' Ubuntu into Windowsthanks to gnome shell in ubuntu 18.04 lts, you can now get a windows-style taskbar on ubuntu. alternatively, you can change the theme to look like windows if you feel 'bored' with the orange theme of ubuntu.
- How to find, set and change IP addresses on Linuxip address is like a computer phone number. computers use it to communicate with other devices and vice versa. here are some simple ways to manage ip addresses on linux.
- How to check the status of using laptop battery running Linuxpreviously, battery management on laptops running linux was quite complicated. for years, linux has been 'famous' for managing inefficient battery life. part of it is due to the amount of work going into linux through the server space. partly because it can't guess the user configuration setting.
- Instructions for using pstree command on Linuxpstree is a powerful and useful command to display processes running in linux. like the ps command, it shows all the processes that are currently active on your login system. the main difference is that when running the pstree command, processes are organized into tree sorting instead of lists like using the ps command.