vglrun loads VirtualGL into a particular application. This is necessary to make OpenGL applications run properly and with hardware acceleration in a Un*x remote display environment. I don't have any familiarity with xrdp, but I do know that TigerVNC has a built-in software OpenGL implementation. Thus, running glxgears within TigerVNC should work without VirtualGL, although it will not be hardware-accelerated. If you aren't able to run glxgears in TigerVNC without VGL, then that is a TigerVNC bug. If you can run glxgears within TigerVNC but not TigerVNC + XRDP, then that is an XRDP bug.
On 9/17/16 11:39 PM, Joshua Moore wrote: > I think I figured it out finally. > > I only can get it to work using > > vglrun runwb2 > > Previously I had LD_LIBRARY_PATH to include > /ansys_inc/v172/Framework/bin/Linux64/Mesa. I think that was overriding > some of the NVIDIA drivers or something. > > Now it runs and doesn't crash and no errors. > > Why can't I get glxgears to run without (vglrun glxgears). Is it not > compatible with NVIDIA's OpenGL libraries? > > Thanks. > > Josh > > > > > On Sat, Sep 17, 2016 at 11:56 PM, Joshua Moore <jdmo...@ncsu.edu > <mailto:jdmo...@ncsu.edu>> wrote: > > Hello, > > I am using Windows Remote Desktop to connect to a CentOS7.2 box with > a NVIDIA GeForce GT 720 graphics card. I also have a NVIDIA Tesla > K40c on it as well. > > I am using TigerVNC and XRDP and then launching workbench with > > vglrun runwb2 > > Everything seems to work ok, except when I try to open "System > Coupling". > > Then I get > > [VGL] ERROR: in init-- > [VGL] 218: Invalid argument > Exception caught in virtual > Ans::Graphics::Scene::EventProcessor::~EventProcessor() @line176 > > Then Workbench closes immediately with no other error message > > I am very new to using VNC, and Remote Desktop to access Linux, as > well as even newer to OpenGL and VirtualGL. > > Does anyone know what is going on? Or if someone else is using > ANSYS and can duplicate this error? > > I have ANSYS on another machine running CentOS7.2. It does not have > a NVIDIA graphics card. Actually I'm not even sure what kind of > graphics card it is running, but it definitely isn't a good one. It > runs just fine. I can open ANSYS without VirtualGL just with runwb2 > and can open System Coupling and it seems to run just fine. I do > get error in the WorkbenchLog files which state that I don't have > hardware acceleration. > > Thanks. > > Josh > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > ------------------------------------------------------------------------------ _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users