[email protected] wrote on Thursday, May 14, 2009 12:28 PM: > I need to be able to run my OSG program remotely (from a different machine > that where the display location). I'm using "ssh" to login to the remote > location and have my "setenv DISPLAY" set back to my original computer (I've > set xhost + on the server machine). > > When I do this, on SOME OSG examples, I'm getting: > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > Error: Unable to open display ":0.0". > Error: unable to create graphics window > > I haven't narrowed down when I get this but it seems that I get it only when > I run applications that create their own windows. I do not see this when > running osgviewer in full screen mode nor with many of the other OSG > examples. However, I do see this problem with osgkeyboardmouse, > osgcompositeviewer, osgsidebyside, osgtexture3D, osgslice, and osgwindows. > In these cases, instead of opening up a window as I think these are supposed > to do, it runs full screen. > > Any idea what is going on here?
Not sure what's wrong with your DISPLAY, but 'ssh -Y' will tunnel the X connection through ssh and set up the DISPLAY correctly (usually to something like 'localhost:10.0') without you having to mess with it. You don't say, but I'm assuming you're running Linux or something like that; OSG compiled for Windows doesn't do X forwarding :) -- Bryan Thrall FlightSafety International [email protected] _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

