Last Updated: April 03, 2023
·
408
· hckmar

Adjusting the screen of Ubuntu in Virtual Box (Finally)

It has been a long time since I used Virtual Box for Ubuntu, and recently I had the issue with my screen and trying to update the Guest Additions. So, after reading posts here and there, the next steps helped me a lot. This is a friendly reminder for my future self, in case this happens to me again.

Step 1: Update and Upgrade (of course)

Step 2: Install Required Packages
Run the following command in the terminal: sudo apt install linux-headers-$(uname -r) build-essential dkms

Step 3: Insert Guest Additions CD Image
After installing the required packages, go to the VirtualBox host application menu and select Devices. Then, click Insert Guest Additions CD image. This will open a pop-up window that will ask you to run it. Press the Run button to start the installation.

Step 4: Install Guest Additions
The installation process will start automatically after you press the Run button. Wait for the installation to finish. Once the installation is complete, press Enter to close the pop-up window.

Step 5: Shut Down and Restart Virtual Machine, try re-sizing the screen, and voilà!

See you next time!

  NODES
Community 1
iOS 2
Javascript 2
mac 1
os 9