💻 Software
OpenGL program not work with X forwarding
Fresh5 days ago
Mar 15, 202610822 viewsConfidence Score0%
0%
Problem
I have an OpenGL program in a Linux server. I want to run the program remotely with X forwarding, but it fails, whereas programs such as xclock and xeyes work fine. (I confirmed that the program works in the local desktop environment.) Below is additional information. Test Code: Running:
Error Output
#include <GL/glut.h>
#define WIDTH 300
#define HEIGHT 300
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3d(1, 0, 0);
glBegin(GL…Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: OpenGL program not work with X forwarding
Low Risk
You need to set up remote rendering, or use a ssh client that supports to get pre-rendered windows. On my machine Cygwin/X allows me to run both modes, while Xming only allows the remote rendering (on client). The application I developed also had tr…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix