Skip to content

Instantly share code, notes, and snippets.

@shamidreza
Created February 2, 2018 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamidreza/be25bde686f98c8699ad9b0a522df4cc to your computer and use it in GitHub Desktop.
Save shamidreza/be25bde686f98c8699ad9b0a522df4cc to your computer and use it in GitHub Desktop.
Speed up Ubuntu 16.04 LTS installed as guest on VirtualBox on Host MacOS
Step 1: Install Guest Additions on guset Ubuntu:
$ sudo apt-get install virtualbox-guest-dkms
$ sudo apt-get install linux-headers-virtual
$ sudo reboot
- Download VBoxGuestAdditions.iso from virtualbox.org
- Mount it from Devices -> Optical Devices -> Choose disk images
$ cd /media/$user$/$VBox_folder$
$ sh ./VBoxLinuxAdditions.run
$ sudo reboot
Step 2: Install the vboxvideo driver:
$ sudo bash -c 'echo vboxvideo >> /etc/modules'
$ sudo reboot
Step 3: Enable 3D Acceleration:
- Power off Ubuntu
- Setting -> Display -> tick 'Enable 3D Accelaration'
- Start Ubuntu
- It should be faster by now, to fasten up further, perform Step 4.
Step 4: Disable 3D desktop visual effects:
$ sudo apt-get install compizconfig-settings-manager
$ ccsm
- OpenGL -> untick Framebuffer Object
- Effects -> Disable effects, such as fading windows, animations and window decoration.
$ sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment