Friday, January 12, 2018

Install Virtualbox Guest Additions to Kali Linux

Start the Kali Linux VM.

Edit your official repos list:

  • nano /etc/apt/sources.list 
and ensure that the following 2 lines are there

Save and exit nano.

Open a terminal window and type
  • apt update 
  • apt -y dist-upgrade
  • reboot

Check your version to ensure it is the latest.
  • uname -a

Install the X11 guest utilities package, which provide closer integration and improve the virtual machine's interactive performance.
  • apt -y install virtualbox-guest-x11
  • reboot
Now mount the VirtualBox Guest Additions image, using the "Devices/Install Guest Additions CD image" menu option on the running VM window.

When that is done, open a terminal window and type the following commands (assuming you are logged in as 'root')

  • cd /root/Desktop
  • cp /media/cdrom/VBoxLinuxAdditions.run /root/Desktop/
  • chmod 755 VBoxLinuxAdditions.run
  • ./VBoxLinuxAdditions.run

ps: Comments and/or links to this article are most welcome!