Search code examples
javalinuxlwjgl

Run a program using LWJGL on Linux terminal


So I'm using a software using LGJWL(v3), and the program won't run on Linux. All I want to do is to run the server on Linux terminal, with no GUI environment. The program has plugins supported and there's no guarantee that plugins won't use LWJGL. Is there any way to create something like "null" window that does not rely on any GUI native.


Solution

  • enter image description here

    The program worked fine after installing xvfb & osmesa. I also note that LIBGL_ALWAYS_INDIRECT had to be 0 for the program to work.