 <p>The first line of the error message is a telltale:</p> <pre><code>freeglut (./lineTest): ERROR: Internal error &lt;FBConfig with necessary capabilities not found&gt; in function fgOpenWindow </code></pre> <p>… it means, that the X11 server the client is connected to doesn't support setting a framebuffer format that's required by OpenGL.</p> <p>The first course of action is using <code>glxinfo</code> to check, what's actually supported. Please run <code>glxinfo</code> as you would your program and post its output here (most likely there's no OpenGL support somewhere in the line). Also execute <code>glxinfo</code> locally, since it is your local machine, that'll do all the OpenGL work.</p>