Hi Rich,

You can set the display number programatically via
GraphicsContext::Traits right now, but as yet I haven't added support
into osgViewer for automatically reading the DISPLAY variable.

Robert.

On 8/2/07, Rich Walker <[EMAIL PROTECTED]> wrote:
>
> Probably a stupid question, but I can't find an answer anywhere obvious.
>
> I have a machine running two X servers - :0 is 16bpp and :1 is 24bpp. I
> want to run an OSG example on :1
>
> With X environment variable
>   DISPLAY=:1.0
> all the OSG examples display on :0, even if run from an xterm in :1.
>
> Any ideas?
>
> cheers, Rich.
>
> --
> rich walker         |  Shadow Robot Company | [EMAIL PROTECTED]
> technical director     251 Liverpool Road   |
> need a Hand?           London  N1 1LX       | +UK 20 7700 2487
> www.shadowrobot.com/hand/overview.shtml
>
>
> _______________________________________________
> 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