
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!