<div dir="ltr"><div><div>HI Tony,<br><br></div>My best guess would be that the X11 code that is querying the number of screens isn't functioning for some reason. I don't have Fedora so can't check this myself. You'll need to have a look at the OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp for the X11WindwSystemInterface implementation is doing, or not as the case may be. <br></div><div><br></div><div>Curiously the X11WindowingSystemInterface::getNumScreens() method only uses a couple of standard X11 calls without any extensions to X11 so it's surprising that it's failing. Perhaps the X11 system you are working on is broken in some way.<br></div><div><br></div>Robert.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 November 2015 at 07:40, Tony Vasile <span dir="ltr"><<a href="mailto:minghia@gmail.com" target="_blank">minghia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I having a few problems with running an executable on Fedora Core 23. When I query the output of osg::GraphicsContext::WindowingSystemInterface I get a valid pointer. When I call getNumScreens() I get 0 as the value. Any ideas what I need to set in my environment to get this to work? I am using the default window manager.<br>
<br>
------------------------<br>
Tony V<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=65774#65774" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=65774#65774</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br></div>