Stereo Error

I got an error when I execute my application:
freeglut (/home/…/dist/Debug/GNU-Linux-x86/glutstereo): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 28

It is because of the stereo mode: glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH | GLUT_STEREO);

If I delete GLUT_STEREO, no error appears.

What to do to fix it?

Unless your card supports quad buffered stereo, you will probably not be able to do it.
Search these forums for “quad +buffered +stereo” across previous year, you will find a lot of information.

Are you certain your graphics driver supports stereo?

[Edit: ZbuffeR beat me!]