I'm running OSG 2.2 ssh'd into a remote linux system.
 
When I run a program using viewer it opens windows fine.
 
ie osgViewer(); viewer->realize(); works just fine.
 
 
When I use a graphics context I get the message: 
 
'Error: Unable to open display ":0.0"' 
 
and
 
osg::GraphicsContext::createGraphicsContext(traits.get());
 
returns NULL.
 
I have the DISPLAY variable set and I'm using X11 forwarding actively
for other tasks.
 
 
Why does this work when I use viewer to build a window and not work when
I try to manually create a graphicsContext???
 
Thanks,
 
Steven Powers 
 
 
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to