This can happen when running NORSAR-3D or NORSAR-3D legacy tools using a remote X server solution, like FastX.

It can usually be solved by either enabling indirect rendering (for FastX, see OpenGL Support for legacy apps: https://www.starnet.com/xwin32kb/opengl-support-for-legacy-apps/)

or

setting the DISPLAY variable to the machine running the X server:

If X server is running on a Windows PC named WinPC, set environment variable DISPLAY=WinPC:0