Running OpenGL Programs on Linux

I am trying to run opengl programs on linux by connecting to a remote Linux server. I connect using ssh and also provide the -X option to use the X window system.

I can connect to the server and compile it. I successfully create an executable file. Now when I run the executable, I get an error message. It says:

freeglut (./lineTest):  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:  26
  Current serial number in output stream:  29

Where lineTest is the name of the executable file.

When I compile the code, I link it to both the overflow libraries and the GLU.

Since the server is a remote server, I cannot change the driver much.

+5
source share
1 answer

The first line of the error message is the control:

freeglut (./lineTest):  ERROR:  Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow

... , X11, , , OpenGL.

glxinfo , . , glxinfo, , ( , OpenGL - ). glxinfo , , OpenGL.

+5

All Articles