Virtualbox

Copy-paste in VirtualBox

To enable bidirectional copy-paste in VirtualBox, follow these steps:

  1. Install VirtualBox Guest Additions:

    • Open the terminal and execute: sudo apt-get install -y virtualbox-guest-x11

  2. Update the system:

    • Run: sudo apt-get update

    • Reboot the system.

  3. Upgrade system packages:

    • Execute: sudo apt-get dist-upgrade

    • Reboot the system.

  4. Clean up unnecessary packages:

    • Run: sudo apt-get autoremove --purge

  5. (Optional) Remove Guest Additions:

    • Execute: sudo apt-get purge virtualbox-guest-x11

Reboot after each step for changes

---

sudo apt install build-essential linux-headers-$(uname -r)

Last updated