<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Times New Roman;}</style></head><body>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 <sebastien.jourdain@kitware.com><br>To: Tuan Ha Tran <tuan-ha.tran@insa-lyon.fr><br>Cc: vtkusers@vtk.org<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 <tuan-ha.tran@insa-lyon.fr> 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 www.kitware.com<br>><br>> Visit other Kitware open-source projects at<br>> http://www.kitware.com/opensource/opensource.html<br>><br>> Please keep messages on-topic and check the VTK FAQ at:<br>> http://www.vtk.org/Wiki/VTK_FAQ<br>><br>> Follow this link to subscribe/unsubscribe:<br>> http://www.vtk.org/mailman/listinfo/vtkusers<br>><br><br></tuan-ha.tran@insa-lyon.fr></body></html>