Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been assigned a homework on my C++ class using OpenGL and GLUT. When I try to run the project, it runs very slowly and it freezes after a little bit. Before the program runs I get the following error:

extension "NV-GLX" missing on display

If have tried:

  • Installing the driver from NVIDIA website.
  • Installing the driver by following the instructions in this thread: extension "GLX" missing on display
  • Installing/Uninstalling the drivers several times.

All of this without any success. I am not a Linux expert, and this is my first time dealing with Linux seriously, so if you could please set me in the right direction I would appreciate it.


share|improve this question
up vote 1 down vote accepted

because you are running Ubuntu under virtual box, you don't need the Ubuntu drivers - you just need the virtualbox virtual display driver. You can get it by installing the VirtualBox "guest additions"

share|improve this answer
After very long this is what I did and it worked just fine. Thanks for your help mate. – Hanlet Escaño Dec 12 '12 at 5:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.