[vtkusers] ParaViewWeb - bad X server connection
Sebastien Jourdain
sebastien.jourdain at kitware.com
Thu May 3 12:42:48 EDT 2012
Ok, so you started tomcat with your user, inside a terminal with all
the needed LD_LIBRARY_PATH options, while the X server is running ?
You did not logged out ?
Basically what tomcat will do is start from its context a PWServer
process. So you definitely need to make sure, it will have access to
the server X and so on.
I don't know what I can say, you don't provide me much information on
your setup.
Seb
On Thu, May 3, 2012 at 9:55 AM, Tuan Ha Tran <tuan-ha.tran at insa-lyon.fr> wrote:
> Hi Seb,
> 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.
> Thanks for your help
>
>
> ----- Original Message -----
> From: Sebastien Jourdain <sebastien.jourdain at kitware.com>
> To: Tuan Ha Tran <tuan-ha.tran at insa-lyon.fr>
> Cc: vtkusers at vtk.org
> Sent: Thu, 03 May 2012 14:10:26 +0200 (CEST)
> Subject: Re: [vtkusers] ParaViewWeb - bad X server connection
>
> Hi Tuan,
>
> Which OS are you using ?
> => I guess Linux ?
>
> Which Tomcat are you using ?
> => The one you downloaded in your home directory and that you started
> with your user, or the system one that run under the tomcat6 user with
> no graphical context ?
>
> Seb
>
> On Thu, May 3, 2012 at 4:26 AM, Tuan Ha Tran wrote:
>> Hi everybody,
>>
>> I tried to configure ParaViewWeb to use with X but I didn't success.
>> So
>> I ask for your help.
>> What I did :
>> - Build ParaView using X (VTK_USE_X) because I need ParaView GUI for
>> coding Python plugin
>> - Start Active mq JMS Broker
>> - Start Tomcat server
>> - mpirun ./pvserver -display localhost:0 (in ParaView/install/bin)
>> - xhost +
>> - add all the LD_LIBRARY_PATH so that I can start ./PWServer,
>> ./pvserver, ./paraview
>>
>> When I tried to start ParaViewWeb in localhost/PWApp, I received "bad
>> X
>> server connection" in log file (working directory)
>>
>> So I want to ask
>> - if I have well followed the instructions to setup ParaViewWeb
>> - if you have any idea about what happens?
>>
>> Thank you very much for your help
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
More information about the vtkusers
mailing list