
VirtualBox Ubuntu server installation may not require the guest additions, if you need them for any specific reason, the steps given below should work. Set custom screen resolution for the Ubuntu Guest (shown in the below image)įAQs FAQ: Installing guest addition on VirtualBox Ubuntu DesktopĪll these steps will work on the Ubuntu command line, tested using Ubuntu-20.04.3-desktop-amd64 FAQ: Installing guest addition on VirtualBox Ubuntu Server.Enable Drag and Drop – you would be able to drag and drop files between guest and host.Enabling Shared-Clipboard – copy-paste between guest and host ( Detailed guide to enable copy paste).With this, you will have some very useful features like: You have successfully installed the guest addition software. You can verify whether your VBox addition steps were successful, by running the following command lsmod | grep vboxĪ successful installation would display the output of the command as shown here: VirtualBox Guest Addition features Step #4 VirtualBox guest additions check if installed You can get the VBox version using the below command (after mounting as given in Step #2): :/media/devops# ls -l /media/devops/ĭr-xr-xr-x 5 devops devops 2408 Jul 28 22:04 VBox_GAs_6.1.26 You may have to change these values to suit your environment. Note: the path contains the username and VBox versions, in this example the username is devops and the VBox version is VBox_GAs_6.1.26. Note: Ignore the version number shown above, your VBox guest version could be different from the above.


Step #2: Insert the guest addition CD imageįrom your VirtualBox VM window, go to Devices Menu and Click on Insert the guest addition CD image Install the guest addition pre-requisites using the command below, sudo apt-get install gcc make perlĮnter your user password and give y when prompted for confirmation to continue. Step #1: Preparing your Ubuntu VM with the required packages Here is a quick installation guide for VirtualBox Guest Addition installation. Please choose the article according to your Ubuntu version. vbox guest additions Ubuntu 22.04 and vbox guest additions Ubuntu 20.04. VirtualBox install guest additions ubuntu command line guide CodeTryout provides version specific articles to install VirtualBox guest additions installation steps.
