Program Crashes on Startup

Hello all,

I can’t get the debugger to run my test program. When I try to run it, I get the errors “No protocol specified,” followed by “freeglut (GL): failed to open display ‘:0’.” The program then exits.

As you can tell, I am using freeglut, but I don’t see why that should be a problem.

All environment settings are at their defaults except for PWD, which is set to the folder containing the executable and shaders.

Thanks in advance.

Hi nokturnusmf,

Can you please provide more information about the problem? A few questions as below.

  • Can your test program run normally without the debugger?
  • The used shell is bash?
  • Does the machine connect to the monitor?
  • Is the user root user under the OS?
  • Have you run the command: xhost +

Thanks,
Letitia