How to Install VirtualBox Guest Additions in Ubuntu

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

33 Responses

  1. Zac says:

    Thanks for this, now the resolution fits my monitor :)

  2. Henry says:


    After doing this I can see the shared folder, but when running:

    ls -l /media/
    ls: cannot open directory  : Permission denied

    I am using Ubuntu guest VM.

  3. Harlin Seritt says:

    Great job on the post, Aaron! This helped perfectly what I was trying to get done. Your articles are great!

  4. Eirkir says:

    Hey there! MUCH appreciated. The one thing I noticed with Xubuntu 18.04 is that I was not auto prompted to install any software.

    Just had to use the terminal to:

    $ sudo sh /media/%username%/VBox_GAs_6.0.0/
  5. Yousef says:

    Thank You this worked flawlessly

  6. SRV says:

    Hey Champs!!, whoever is having problem in their VM bootup process, please uncheck the button for “Enable 3D acceleration” under display setting!!
    Then it works like champ.

    Bye there!!!

  7. Yash Jain says:

    After inserting Guest Additions CD Image, no popup came and a new icon came. On clicking it, its internal folders and files are visible and i cannot run any of them.

  8. Ismail says:

    Thank you so much for this tutorial.

  9. albig says:

    Hello I tried to perform this and went clicking on Device tab “Insert Guest” I get the message “Unable to insert the virtual optical disc”

    I am using Ubuntu server


  10. fred says:

    $(uname-r) should have a space: $(uname -r)

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.