New window briefly appears and then closes immediately
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 200
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
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
$DISPLAYis set correctly and confirmed X11 forwarding works (e.g.,xeyesruns fine). - Installed
x11-appsand verified other X11 apps run normally. - Verified that
freeglutis 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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is identified in the report. Start by reproducing the OpenGL GLUT program under WSL with the reported DISPLAY and X11 setup, comparing it with the working xeyes check and the attempted glutMainLoop() run. Done means identifying a reproducible cause and documenting or verifying a fix for the immediate window closure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100