I don't want guest additions.

I have Virtualbox on a Windows host running Ubuntu 16.04 LTS as a guest. How do I make sure that all the guest additions are removed from the Ubuntu guest? I so far have run, in Terminal, these:

dpkg -l | grep virtualbox

Which returned: unity-scope-virtualbox

lsmod | grep -io vboxguest

Which returned: vboxguest

Although it doesn't show up as having the typical virtualbox guest additions, the Ubuntu screen size still resizes to the virtual machine's window. Is that actually a part of Ubuntu or from guest additions?

When first installed as a virtual machine, Ubuntu supports mouse pointer integration and screen (virtual machine window) resizing, which are typically from guest additions being installed.

Is there a way to remove the vboxguest kernel module as well?

Thank you.

  • How did you install them ? Did you reboot ? See unix.stackexchange.com/questions/31899/…
    – Panther
    Sep 10, 2017 at 1:00
  • Look at Community answer to that issue: askubuntu.com/questions/22743/…
    – Redbob
    Sep 10, 2017 at 1:09
  • 1
    Obvious question... why do you want to remove guest additions? VB won't run correctly without them.
    – heynnema
    Sep 10, 2017 at 1:14
  • I did not install them. I am looking to remove the ones that come with the initial install of Ubuntu. I'm trying to remove them for security, as I've heard it is better to have them removed for that.
    – Smiith
    Sep 10, 2017 at 1:20
  • 1
    So you could update VIrtualBox Guest Additions. It's better.
    – Redbob
    Sep 10, 2017 at 1:28

1 Answer 1


From using the commands:

dpkg -l | grep virtualbox
ii  unity-scope-virtualbox      0.1+13.10.20130723-0ubuntu1      all    VirtualBox scope for Unity


lsmod | grep vboxguest
vboxguest   282624  6 vboxsf,vboxvideo

Since you want to remove these packages do as follows:

  1. modules vboxguest:

    • Change into /opt/VBoxGuestAdditions-<version_number> folder

      cd /opt/VBoxGuestAdditions-<version_number>
    • In there run:

      sudo ./uninstall.sh        
  2. For the guest additions unity-scope-virtualbox:

    sudo dpkg-query -s unity-scope-virtualbox
    Package: unity-scope-virtualbox
    Status: install ok installed
    Priority: optional
    Section: gnome
    Installed-Size: 77
    Maintainer: Ubuntu Developers <[email protected]>
    Architecture: all
    Version: 0.1+13.10.20130723-0ubuntu1
    Replaces: unity-lens-vm
    Provides: unity-lens-vm
    Depends: python3, python3-gi, gir1.2-unity-5.0 (>= 7), gir1.2-dee-1.0 (>= 1.2.5), unity-scopes-runner, gir1.2-glib-2.0
    Conflicts: unity-lens-vm
    Description: VirtualBox scope for Unity
    This package contains the "virtualbox" scope which allows Unity
    to search for VirtualBox content.
    Original-Maintainer: David Callé <[email protected]>
    Homepage: https://launchpad.net/unity-scope-virtualbox
    • This is used by unity for search and probably be left alone.
  • If the module (vboxguest) is in use, how is it best to remove it? (Prevented from removing it because it was in use. Is there a way to stop it from running so it can be removed?
    – Smiith
    Sep 10, 2017 at 15:49
  • @Smiith see updated answer for how to... Sep 10, 2017 at 17:46
  • I went into /opt/VBox... folder and ran the uninstall.sh to uninstalled the vboxguestadditions. My problem is I opened the ova file in vmware and saw this "vbox kernel service is not running" warning at the start
    – JCQian
    May 17, 2019 at 18:01
  • @jcqian can you ask a new question? May 17, 2019 at 18:29
  • This answer solved my problem. I was able to uninstall the vbox guest additions.
    – JCQian
    May 22, 2019 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .