Make sure that your graphics card driver <div>is up-to-date. I remember getting this error </div><div>and if I remember correctly we got it resolved </div><div>by updating the driver. </div><div><br></div><div>Cagatay</div>
<div><div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Message: 3<br>
Date: Thu, 03 May 2012 15:55:39 +0200 (CEST)<br>
From: Tuan Ha Tran <<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>><br>
Subject: Re: [vtkusers] ParaViewWeb - bad X server connection<br>
To: Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <a3461420-f580-4f8f-a1a7-c64c63c5f84d@zstore2><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Seb,<br>
I use the tomcat that I downloaded. I downloaded the latest version, 7.0.27, copied the webs app issued from the make of paraviewweb into that folder.<br>
Thanks for your help<br>
<br>
----- Original Message -----<br>
From: Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>
To: Tuan Ha Tran <<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>><br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Sent: Thu, 03 May 2012 14:10:26 +0200 (CEST)<br>
Subject: Re: [vtkusers] ParaViewWeb - bad X server connection<br>
<br>
Hi Tuan,<br>
<br>
Which OS are you using ?<br>
=> I guess Linux ?<br>
<br>
Which Tomcat are you using ?<br>
=> The one you downloaded in your home directory and that you started<br>
with your user, or the system one that run under the tomcat6 user with<br>
no graphical context ?<br>
<br>
Seb<br>
<br>
On Thu, May 3, 2012 at 4:26 AM, Tuan Ha Tran wrote:<br>
> Hi everybody,<br>
><br>
> I tried to configure ParaViewWeb to use with X but I didn't success. So<br>
> I ask for your help.<br>
> What I did :<br>
> - Build ParaView using X (VTK_USE_X) because I need ParaView GUI for<br>
> coding Python plugin<br>
> - Start Active mq JMS Broker<br>
> - Start Tomcat server<br>
> - mpirun ./pvserver -display localhost:0 (in ParaView/install/bin)<br>
> - xhost +<br>
> - add all the LD_LIBRARY_PATH so that I can start ./PWServer,<br>
> ./pvserver, ./paraview<br>
><br>
> When I tried to start ParaViewWeb in localhost/PWApp, I received "bad X<br>
> server connection" in log file (working directory)<br>
><br>
> So I want to ask<br>
> - if I have well followed the instructions to setup ParaViewWeb<br>
> - if you have any idea about what happens?<br>
><br>
> Thank you very much for your help<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120503/f3746203/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120503/f3746203/attachment-0001.htm</a>><br>
<br></blockquote></div></div></div>