On 12/05/2013 03:49 PM, Kevin Van Workum wrote:
> I'm trying to run Visit (https://wci.llnl.gov/codes/visit/) and am
> getting the following error:
>
> Maximum number of clients reached[VGL] ERROR: Could not open display :0.
>
> Visit tries to open several windows of which I guess at lease two are
> trying to connect to :0. Is there a way around this?

A typical X server is built with:

#define MAXCLIENTS      256

Every time you XOpenDisplay() it uses up client.  When you use up the 
available clients you get the error above. VGL will open one display 
connection (client) to your local 3D X server per process it is 
preloaded into, if that process uses any symbol VGL is hooking.

I would run `xlsclients -d :0` and/or `xlsclients -d :0 | wc -l` to 
check if some application(s) are using all available displays.

I would also start vglrun with the +v option and count how many 
connections Visit itself uses. Look for: "[VGL] Opening local display"

-Nathan


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to