Hi Pradeep,
vtkClientSocket (0x7fc9ae108cb0): Socket error in call to connect.
Permission denied.
Your connection is being blocked somewhere in between your compute node
and workstation. there are various configuration setting on either/both
client and server that could cause it. Fortunately we do not need to
change any of these settings , many of which require root access and
potentially open security vulnerabilities. Instead, you will use an ssh
tunnel and a server config (pvsc) tailored to your situation to automate
the process.
I'm attaching a minimal pvsc that illustrates how one might configure a
reverse connection to a server with graphics hardware. This pvsc is for
illustration only, don't use in a production setting! There are number
of liberties I've taken, for example I assume that X11 is already
running, and I use "xhost +"(very very bad) to enable pvserver to access
gpu's. Normally I would put all of the server side stuff in a shell
script. I didn't do that here to keep things simple for you. I hope you
can use this to understand how PV works.
1) I connect to the CentOS machine using "ssh -X machinename".
Don't do that. With -X forwarding you won't be taking advantage of your
cluster's graphics hardware.
Hope this helps
Burlen
On 01/29/2013 06:41 AM, Utkarsh Ayachit wrote:
Doesn't look like your client machine can connect to the server
machine. From the client machine try:
ping 83.shin.fluid.cse.nagoya-u.ac.jp
telnet 83.shin.fluid.cse.nagoya-u.ac.jp 11111
On Tue, Jan 29, 2013 at 4:58 AM, Pradeep Jha
<[email protected]> wrote:
Hello,
I have installed Paraview 3.98 on my Desktop (Mac OSX 10.8) and a remote
machine running CentOS 5.4. The CentOS machine has rendering hardware so I
havent installed PV with OSMesa support.
I can login to the CentOS from my Mac using SSH and vice versa.
Here is how I am trying to connect:
1) I connect to the CentOS machine using "ssh -X machinename". When I start
the "pvserver" on the CentOS the output is:
-------------------------------------------------------------------
[pradeep@83 ~]$pvserver
Waiting for client...
Connection URL: cs://83.shin.fluid.cse.nagoya-u.ac.jp:11111
Accepting connection(s): 83.shin.fluid.cse.nagoya-u.ac.jp:11111
-------------------------------------------------------------------
2) Then I add this information in the paraview I am running on my Mac as
shown in the attached image file.
3) I click on connect.
I get the following error:
------------------------------------------------------------------------
ERROR: In /Users/pradeep/softwares/ParaView/VTK/Common/System/vtkSocket.cxx,
line 481
vtkClientSocket (0x7fc9ae108cb0): Socket error in call to connect.
Permission denied.
-----------------------------------------------------------------------
I dont have any expertise in networking and so I dont know much about
firewalls of my systems here nor do any my colleagues do.
Thanks in advance,
Pradeep
_______________________________________________
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
<Servers>
<Server name="Generic RC w/ GPU" resource="csrc://">
<CommandStartup>
<Options>
<Option name="SERVER_HOST" label="Server Host" save="true">
<String default=""/>
</Option>
<Option name="REMOTE_USER" label="User Name" save="true">
<String default=""/>
</Option>
<Option name="PV_SERVER_PORT" label="local port">
<Range type="int" min="1" max="65535" step="1" default="11110"
save="true"/>
</Option>
<Option name="MPI_ROOT" label="MPI Root">
<String default=""/>
</Option>
<Option name="MPI_NP" label="number of processes">
<Range type="int" min="1" max="1000000" step="1" default="4"
save="true"/>
</Option>
<Option name="PV_ROOT" label="ParaView Root">
<String default=""/>
</Option>
<Option name="SSH_PATH" label="SSH Exec" save="true">
<File default="/usr/bin/ssh"/>
</Option>
<Option name="XTERM_PATH" label="XTerm Exec" save="true">
<File default="/usr/bin/xterm"/>
</Option>
</Options>
<Command exec="$XTERM_PATH$" timeout="0" delay="0" Arguments="0">
<Arguments>
<Argument value="-T"/>
<Argument value="ParaView Server
$REMOTE_USER$@$SERVER_HOST$:$PV_SERVER_PORT$"/>
<Argument value="-e"/>
<Argument value="$SSH_PATH$"/>
<Argument value="-t"/>
<Argument value="-R"/>
<Argument value="$PV_SERVER_PORT$:localhost:$PV_SERVER_PORT$"/>
<Argument value="$REMOTE_USER$@$SERVER_HOST$"/>
<Argument value="DISPLAY=:0"/>
<Argument value="xhost"/>
<Argument value="+"/>
<Argument value=";"/>
<Argument
value="LD_LIBRARY_PATH=$MPI_ROOT$/lib:$PV_ROOT$/lib/paraview-3.98/:$$LD_LIBRARY_PATH"/>
<Argument value="DISPLAY=:0"/>
<Argument value="$MPI_ROOT$/bin/mpirun"/>
<Argument value="-np"/>
<Argument value="$MPI_NP$"/>
<Argument value="$PV_ROOT$/bin/pvserver"/>
<Argument value="--reverse-connection"/>
<Argument value="--server-port=$PV_SERVER_PORT$"/>
<Argument value="--client-host=localhost"/>
</Arguments>
</Command>
</CommandStartup>
</Server>
</Servers>
_______________________________________________
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