Hi Steven,

Does osgviewer work fine?

Is it only your own attempts to manually create a graphics context
that is failing?  It could be simply that your Traits aren't set up
correctly.  You could copy and paste the settings into an email.

Robert.

On Dec 18, 2007 9:01 PM, Steven Powers <[EMAIL PROTECTED]> wrote:
>
>
>
>
> 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
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to