To enable Guest Additions in Kali Linux while running as a guest on a Windows 11 host, follow these steps:
-
Install VirtualBox on your Windows 11 system if you haven't already. You can download it from the VirtualBox Downloads page.
-
Start the VirtualBox application and create a new virtual machine or select an existing one with Kali Linux installed.
-
Power on the Kali Linux virtual machine.
-
Once the Kali Linux desktop loads, locate the "Devices" menu at the top of the screen.
-
Click on "Devices" and then select "Insert Guest Additions CD image." A CD icon should appear on the desktop.
-
Open a terminal window and navigate to the CD mount point, which should be
/media/cdrom0. -
Run the following command to install the Guest Additions:
sudo sh VBoxLinuxAdditions.run
-
During the installation process, you may be prompted to confirm the installation of various packages. Type
Yand press Enter to continue. -
After the installation completes, reboot the Kali Linux virtual machine.
-
Once the system reboots, you should be able to resize the guest window, copy and paste between the host and guest systems, and other benefits provided by Guest Additions.
References
- Installing Guest Additions (VirtualBox Manual)
- Installing Guest Additions in Kali Linux (Tecmint)
- Kali Linux Guest Additions on Windows 10 (Ask Ubuntu)
- VirtualBox Guest Additions for Linux (VirtualBox Downloads)