OpenGL over X
OpenGL over X
- Subject: OpenGL over X
- From: Joel Goguen <email@hidden>
- Date: Fri, 11 Nov 2005 14:54:02 -0400
I'm having some trouble with OpenGL over X11. A professor asked me to
look into this for him, and I'm stumped. What he wants to do is to run
an OpenGL app on a Linux machine on his Mac over X. He's got X11
installed, and he can run other applications (like Firefox or Eclipse)
over X just fine. When he tries to run an OpenGL app, connecting with
"ssh -X user@host" he gets the message "freeglut (./rectangle): OpenGL
GLX extension not supported by display 'localhost:10.0'". Using a
regular terminal, connecting with the same command, he gets the message
"freeglut (./rectangle): failed to open display ''". Connecting from a
Linux machine to this Linux machine, the application runs fine. Using
X11, $DISPLAY on the Linux machine is set to localhost:10.0, and using a
normal terminal $DISPLAY is not set.
The app compiles fine on both Linux and Mac, although with different
linker flags, and runs fine on the local machine. I've tried it on my
Mac and I get the same results. We're also both running the same
software versions. Mac OS X 10.4.3. XFree86 4.4.0 release 6600. All
available updates have been applied. I've got an ATI Radeon 9200
graphics processor with AGP 4X support, 32MB dedicated DDR video memory.
Linux linker flags:
-L/usr/X11R6/lib -L/usr/local/lib -lGL -lGLU -lm -lglut
Mac linker flags:
-L/usr/local/lib -lm -framework Cocoa -framework OpenGL -framework GLUT
-framework Foundation -lstdc++
So, with that out of the way, here's my question. With this setup, is
it possible to use X11 to connect to a Linux machine, run an OpenGL app
compiled on the Linux machine, and have the display forwarded to the
Mac? Is there anything that can be done (config changes, installing
packages, etc.) to get this to work?
--
Joel Goguen
UNB ITS Student Consultant
Bachelor of Computer Science III
University of New Brunswick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden