freeglut (./light): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
问题 I installed the OpenGL in Linux server (Ubuntu16.04) without a graphical interface, install command below: apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev apt-get install freeglut3-dev libglew1.10 libglew-dev libgl1-mesa-glx libxmu-dev apt-get install libglew-dev libsdl2-dev libsdl2-image-dev libglm-dev libfreetype6-dev apt-get install mesa-utils now, I compile light.c by gcc light.c -o light -lGL -lglut . I want to display it in my Windows mechine by XMing server. code: