
When I run my OpenGL GLUT program, a new window pops up for a split second and then disappears immediately.
What I’ve tried:
- Checked that
$DISPLAY is set correctly and confirmed X11 forwarding works (e.g., xeyes runs fine).
- Installed
x11-apps and verified other X11 apps run normally.
- Verified that
freeglut is installed (tried to install but had package issues).
- Ran the program with
glutMainLoop() but the window still closes immediately.
Any help or suggestions would be appreciated!
When I run my OpenGL GLUT program, a new window pops up for a split second and then disappears immediately.
What I’ve tried:
$DISPLAYis set correctly and confirmed X11 forwarding works (e.g.,xeyesruns fine).x11-appsand verified other X11 apps run normally.freeglutis installed (tried to install but had package issues).glutMainLoop()but the window still closes immediately.Any help or suggestions would be appreciated!