Launch OpenGL app straight from a windowless Linux Terminal

后端 未结 4 899
执念已碎
执念已碎 2021-02-01 09:31

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

4条回答
  •  粉色の甜心
    2021-02-01 10:02

    Are you trying to have the video be on the monitor connected directly to the computer?

    Is X running on the server?

    If X is running, you can do

      export DISPLAY=:0.0
    

    which tells X apps to connect to the X server at localhost, rather than where' you're coming from.

    If you're actually logging in locally (from a direct terminal) ... yes, you need X installed and running.

提交回复
热议问题