[Paraview] pvserver : cannot connect to X server

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sat Jan 30 09:01:26 EST 2010


Thanks, I've committed the fix.

Utkarsh

On Fri, Jan 29, 2010 at 5:48 PM, Pierre-Olivier Dallaire
<pierre-olivier.dallaire at videotron.ca> wrote:
> works for me / thanks
> On 2010-01-29, at 5:28 PM, Utkarsh Ayachit wrote:
>
>> Ah! Nice catch. QApplication needed to be initialized by the
>> SMApplication for chart proxies when using them through
>> pvpython/pvbatch.
>> Attached is patch. Let me know if that fixes the issue? I'll commit it tomorrow.
>>
>> Utkarsh
>>
>> On Fri, Jan 29, 2010 at 5:57 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
>>> Hi Utkarsh,
>>>
>>> The X display is being opened when the QApplication is created in
>>> vtkQtInitialization constructor.  You added this call to vtkSMApplication
>>> last month although the code is inside ifdefs for VTK_USE_QVTK.  I couldn't
>>> see any cmake build option for this (unless it is VTK_USE_QVTK_QTOPENGL).
>>>
>>> My current workaround is just to remove these calls and it seems to work....
>>> - but I'm guessing you put it in there for a reason ;)
>>>
>>> Regards,
>>> Paul
>>>
>>>
>>> On 28 January 2010 16:46, Paul Edwards <paul.m.edwards at gmail.com> wrote:
>>>>
>>>> I've just run into the same problem (CVS updated at earlier in the week)
>>>> and I cannot run pvserver without a X display.  It means I can't run it on
>>>> my cluster (not even when using OSMesa and the --use-offscreen-rendering
>>>> option....)
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks,
>>>> Paul
>>>>
>>>>
>>>> On 28 January 2010 12:57, Pierre-Olivier Dallaire
>>>> <pierre-olivier.dallaire at videotron.ca> wrote:
>>>>>
>>>>> Well it does not solve my problem ...
>>>>>
>>>>> I never had this behaviour before / connecting with X was not necessary.
>>>>> This problem started this week / last week cvs was fine.
>>>>>
>>>>> Any idea why it's causing that ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> PO
>>>>>
>>>>> On 2010-01-27, at 2:43 PM, Pierre-Olivier Dallaire wrote:
>>>>>
>>>>>> I never used the the -X option when connecting with ssh on the server
>>>>>> in order to initialize pvserver.
>>>>>>
>>>>>> I think now the solution is to use the -X but start pvserver with
>>>>>> option "-dc"
>>>>>>
>>>>>> PO
>>>>>> On 2010-01-27, at 2:35 PM, Utkarsh Ayachit wrote:
>>>>>>
>>>>>>> Are you sure the display is accessible on the server machine? What
>>>>>>> happens when you open something like gvim?
>>>>>>>
>>>>>>> Utkarsh
>>>>>>>
>>>>>>> On Wed, Jan 27, 2010 at 10:04 AM, Pierre-Olivier Dallaire
>>>>>>> <pierre-olivier.dallaire at videotron.ca> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> when trying to start pvserver on the my ParaView server linux
>>>>>>>> machine, I'm getting this new
>>>>>>>> error with the latest cvs version, error that I never had before :
>>>>>>>>
>>>>>>>> pvserver
>>>>>>>> : cannot connect to X server
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> PO
>>>>>>>> _______________________________________________
>>>>>>>> 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 ParaView Wiki at:
>>>>>>>> http://paraview.org/Wiki/ParaView
>>>>>>>>
>>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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 ParaView Wiki at:
>>>>>> http://paraview.org/Wiki/ParaView
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>>> _______________________________________________
>>>>> 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 ParaView Wiki at:
>>>>> http://paraview.org/Wiki/ParaView
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>
>>>
>> <FixNeedX.patch>_______________________________________________
>> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list