[osg-users] Getting OSG to display on second screen

Robert Osfield robert.osfield at gmail.com
Thu Aug 2 04:40:35 PDT 2007


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 <rw at shadowrobot.com> 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 | rw at shadow.org.uk
> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list