title: Launch OpenGL app straight from a windowless Linux Terminal
body: <p>How exactly would one go about getting an OpenGL app to run fullscreen straight from the terminal (Ubuntu Server 9.04)? I've developed an application for visual diagnostics on my server, but, I'm not totally sure the best way to get it to run in a windowless environment.</p>
  
  <hr>
  
  <p>Ideally, I would run my program:</p>
  
  <pre><code>./visualdiagnostics
  </code></pre>
  
  <p>and have that launch the OpenGL app. Then, via a simple <code>Ctrl+X</code> key binding, I'll kill the app and go back to the terminal.</p>
  
  <hr>
  
  <p>Do I need to install X11 and then somehow launch it from within the program? What would be the best way to detect if it's already running and, start/stop it if necessary?</p>
  
  <p>And FYI:  No, I'm <em>not</em> trying to get this to run over Putty or anything... I have a monitor hooked straight up to the server. The server has proper video drivers installed.</p>