title: Executing OpenGL Programs in Linux
body: <p>I am trying to run opengl programs in linux, by connecting to a remote linux server. 
  I connect using ssh and also provide the -X option, to use the X windowing system.</p>
  
  <p>I am able to connect to the server and compile it. I successfully create the executable.
  Now when I run the executable, I get an error. It says </p>
  
  <pre><code>freeglut (./lineTest):  ERROR:  Internal error &lt;FBConfig with necessary capabilities not found&gt; 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
  </code></pre>
  
  <p>Where lineTest is the name of the executable.</p>
  
  <p>When I compile the code, I link it to both the glut and GLU libraries. </p>
  
  <p>Since the server is a remote server, I cannot make much driver changes.</p>