- Kali linux virtualbox guest addition
- virtualbox-guest-x11
- Install VirtualBox Guest Additions on Kali Linux 2020.3
- Install VirtualBox Guest Additions on Kali Linux 2020.3
- Install VirtualBox Guest Additions on Kali Linux 2020.3 via x11 Guest Utilities package
- Install VirtualBox Guest Additions via Guest Additions Image
- Insert the Guest Additions Image into the Kali Linux 2020.3 virtual machine
- Kali Linux 2020.3 FullScreen on VirtualBox
- Related Tutorials
- SUPPORT US VIA A VIRTUAL CUP OF COFFEE
- Install VirtualBox Guest Additions on Kali Linux 2021.3
- Install VirtualBox Guest Additions on Kali Linux 2021.3
- Install VirtualBox Guest Additions on Kali Linux 2021.3 via x11 Guest Utilities package
- Install VirtualBox Guest Additions via Guest Additions ISO
- Install Linux Headers, DKMS and Build Tools
- Insert the Guest Additions Image into the Kali Linux 2021.3 virtual machine
- Insert Guest Additions Image manually
- Insert Guest additions Image by installing it
- Install VirtualBox Guest Additions on Kali Linux 2021.3
- Kali Linux 2021.3 FullScreen on VirtualBox
- Related Tutorials
- SUPPORT US VIA A VIRTUAL CUP OF COFFEE
Kali linux virtualbox guest addition
Installing “Guest Addition”, gives a better user experience with VirtualBox VMs (e.g. proper mouse and screen integration, as well as folder sharing). This is why since Kali Linux 2019.3, during the setup process it should detect if Kali Linux is inside a VM. If it is, then automatically install any additional tools (in VirtualBox’s case, virtualbox-guest-x11 ). The Guest Addition is also pre-installed in the Live image since Kali Linux 2021.3.
You must use VirtualBox 4.2.xx or higher in order to take advantage of the improvements, including compatibility updates, and enhanced stability of both the core application and the Guest Additions.
virtualbox-guest-x11
Should you decide to create your own VirtualBox installation of Kali Linux (rather than using our pre-made VirtualBox images), and you want to force a manual reinstall of virtualbox-guest-x11 (as something has gone wrong), first make sure you are fully updated, then enter the following:
[email protected]:~$ sudo apt update [. ] [email protected]:~$ [email protected]:~$ sudo apt install -y --reinstall virtualbox-guest-x11 [. ] [email protected]:~$ [email protected]:~$ sudo reboot -f [email protected]:~$
For older versions of Kali Linux, here is our previous guide.
Updated on: 2023-Mar-06
Author: g0tmi1k
Install VirtualBox Guest Additions on Kali Linux 2020.3
In order to set your Kali Linux running on VirtualBox in fullscreen mode, you need Guest additions installed on the VM. In this tutorial, you will learn how to install VirtualBox guest additions on Kali Linux 2020.3. Apart from enabling the virtual machine to have a full screen view, guest additions offers many other features;
- Mouse pointer integration
- Shared folders for easy sharing of files between the host and the guest
- Ensures better and accelerated video performance.
- Seamless windows integration
- Generic host/guest communication channels that enables you to control and manage guest execution.
- Provides Host-Guest time synchronization.
- Shared clipboard between host and guest vm.
- Automated logins.
You can read more about these features on the VirtualBox User Manual.
Install VirtualBox Guest Additions on Kali Linux 2020.3
Install VirtualBox Guest Additions on Kali Linux 2020.3 via x11 Guest Utilities package
X11 Guest Utilities package for VirtualBox are provided by the virtualbox-guest-x11 package. To install this package, you need to have the Kali Linux repositories installed.
Check if you Kali Linux repos installed;
grep -v '#' /etc/apt/sources.list | sort -u
deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib
If the command output is empty, run the command below to install Kali Linux rolling release repositories.
Run system package cache update once the repos are installed.
Install VirtualBox x11 guest utilities.
apt install virtualbox-guest-x11
Once the installation is done, reboot the system and your Kali Linux 2020.3 is now running in fullscreen on VirtualBox.
If the screen doesn’t resize itself to fullscreen on reboot, you can toggle the screen auto-resize by navigating to VirtualBox VM menu View > Auto-resize Guest display .
Install VirtualBox Guest Additions via Guest Additions Image
If you want to take this long route, then you first need to insert the guest additions iso/image file into your Kali Linux 2020.3 virtual machine.
Insert the Guest Additions Image into the Kali Linux 2020.3 virtual machine
Guest additions image can be inserted into a VirtualBox virtual machine manually via the VM menu or by installing the virtualbox-guest-additions-iso package.
Insert Guest Additions Image manually
Guest additions image can be manually inserted into a vm via the VM virtualbox menu. Before the image can be inserted into the vm, you need to install required build tools, the Linux kernel headers and the support modules, if not already installed.
To verify if these build requirements have already been installed, run the command below;
sudo dpkg -l | grep -E "dkms|linux-headers-$(uname -r)|build-essential"
ii build-essential 12.8 amd64 Informational list of build-essential packages
As you can see, we only have the build-essential tools installed. The ii means that the package is installed. Install the missing packages;
sudo apt install dkms linux-headers-$(uname -r) build-essential
Once the installation is done, insert the Guest Additions ISO into the vm from the menu bar > Devices > Insert Guest Additions CD Image.
Ensure that you have unallocated (empty) controller IDE from virtual machine storage settings to insert the image.
Once you insert the image, a dialog box which prompts you to run or cancel the Guest Additions installer is launched. You can click run or simply cancel and do the installation of VirtualBox guest additions on Kali Linux 2020.3 from the command line;
If no dialog is launch upon Guest addition image insertion, simply double click the image icon the desktop to mount it.
Insert Guest additions Image by installing it
You can as well install the VirtualBox Guest additions iso/image file from Kali Linux repositories;
sudo apt install virtualbox-guest-additions-iso
When installed, the VirtualBox Guest Additions ISO is now available as /usr/share/virtualbox/VBoxGuestAdditions.iso .
To install the Guest Additions ISO, you need to mount it.
sudo mount -o loop /usr/share/virtualbox/VBoxGuestAdditions.iso /media/cdrom
If you used the manual method of inserting the guest additions iso, the image can be mounted on either, /media/ . You can find the mount point using d f -h command.
Next, run the Guest additions installer for Linux on Kali Linux 2020.3 VirtualBox vm. Replace the path to the Guest additions installer appropriately.
bash /media/cdrom/VBoxLinuxAdditions.run
Once the installation is done, restart the system to reload the kernel modules and apply the changes.
Kali Linux 2020.3 FullScreen on VirtualBox
Your Kali Linux 2020.3 should now be running in fullscreen. If upon system reboot the screen doesn’t auto-resize automatically, be sure to toggle (off/on, so to say) View -> Auto-resize Guest Display on the VM menu bar to set right VM resolution.
That is how easy it is install VirtualBox Guest Additions on Kali Linux 2020.3 and run it on full-screen. Enjoy
Related Tutorials
SUPPORT US VIA A VIRTUAL CUP OF COFFEE
We’re passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!
Install VirtualBox Guest Additions on Kali Linux 2021.3
In this tutorial, you will learn how to install VirtualBox guest additions on Kali Linux 2021.3.
Guest additions offers many other features;
- Run VM in fullscreen mode
- Mouse pointer integration
- Shared folders for easy sharing of files between the host and the guest
- Ensures better and accelerated video performance.
- Seamless windows integration
- Generic host/guest communication channels that enables you to control and manage guest execution.
- Provides Host-Guest time synchronization.
- Shared clipboard between host and guest vm.
- Automated logins.
Install VirtualBox Guest Additions on Kali Linux 2021.3
There are two ways in which you can install VirtualBox guest additions on Kali Linux 2021.3.
Install VirtualBox Guest Additions on Kali Linux 2021.3 via x11 Guest Utilities package
The virtualbox-guest-x11 package X11 Guest Utilities.
To install this package, you need to have the Kali Linux repositories installed.
Check if you Kali Linux repos installed;
grep -v '#' /etc/apt/sources.list | sort -u
deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib
If the command output is empty, run the command below to install Kali Linux rolling release repositories.
Run system package cache update once the repos are installed.
Install VirtualBox x11 guest utilities.
apt install virtualbox-guest-x11
Once the installation is done, reboot the system;
Your Kali Linux 2021.3 is now running in fullscreen on VirtualBox.
If the screen doesn’t automatically resize to fullscreen on reboot, you can toggle the screen auto-resize by navigating to VirtualBox VM menu View > Auto-resize Guest display .
Install VirtualBox Guest Additions via Guest Additions ISO
To install VirtualBox Guest Additions via Guest additions ISO file, you need to insert the guest additions iso/image file into your Kali Linux 2021.3 virtual machine.
Install Linux Headers, DKMS and Build Tools
To verify if these build requirements have already been installed, run the command below;
sudo dpkg -l | grep -E "dkms|linux-headers-$(uname -r)|build-essential"
ii build-essential 12.9 amd64 Informational list of build-essential packages
The ii means that the the build-essential tools is installed.
Install the missing packages;
sudo apt install dkms linux-headers-$(uname -r) build-essential
Insert the Guest Additions Image into the Kali Linux 2021.3 virtual machine
Guest additions image can be inserted into a VirtualBox virtual machine manually via the VM menu or by installing the virtualbox-guest-additions-iso package.
Insert Guest Additions Image manually
Guest additions image can be manually inserted into a vm via the VM virtualbox menu.
Before the image can be inserted into the vm, ensure that you have unallocated (empty) controller IDE from virtual machine storage settings to insert the image.
Once the installation is done, insert the Guest Additions ISO into the vm from the menu bar > Devices > Insert Guest Additions CD Image.
Once you insert the image, a dialog box which prompts you to run or cancel the Guest Additions installer is launched.
If no dialog is launch upon Guest addition image insertion, simply double click the image icon the desktop to mount it.
The virtualbox guest additions image can be mounted on either, /media/ .
You can find the mount point using df -h command.
Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 957M 0 957M 0% /dev tmpfs tmpfs 199M 1000K 198M 1% /run /dev/sda1 ext4 15G 9.7G 4.4G 70% / . . /dev/sr1 iso9660 59M 59M 0 100% /media/cdrom1
Insert Guest additions Image by installing it
You can as well install the VirtualBox Guest additions iso/image file from Kali Linux repositories;
sudo apt install virtualbox-guest-additions-iso
When installed, the VirtualBox Guest Additions ISO is now available as /usr/share/virtualbox/VBoxGuestAdditions.iso .
To install the Guest Additions ISO, you need to mount it.
sudo mount -o loop /usr/share/virtualbox/VBoxGuestAdditions.iso /media/cdrom
Install VirtualBox Guest Additions on Kali Linux 2021.3
Next, run the Guest additions installer for Linux on Kali Linux 2021.3 VirtualBox vm.
Replace the path to the Guest additions installer appropriately.
bash /media/cdrom/VBoxLinuxAdditions.run
Once the installation is done, restart the system to reload the kernel modules and apply the changes.
Kali Linux 2021.3 FullScreen on VirtualBox
Your Kali Linux 2021.3 should now be running in fullscreen. If upon system reboot the screen doesn’t auto-resize automatically, be sure to toggle (off/on, so to say) View -> Auto-resize Guest Display on the VM menu bar to set right VM resolution.
That concludes our guide on how to install VirtualBox Guest Additions on Kali Linux 2021.3 and run it on full-screen as well as shared clipboards between the host and the VM.
Related Tutorials
SUPPORT US VIA A VIRTUAL CUP OF COFFEE
We’re passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!