SSH Connection to server using .pvsc file

Hi,

I was attempting to set up a pvserver pvsc file as per this post using Paraview 5.8.0.

Currently, I can successfully manually start a client-server process using:
ssh user@remote -L 11150:localhost:11111 /home/user/run_pvserver.sh -g
then manually connect to localhost:11150 using the Client / Server setting.

So I tried to make a pvsc file with the following:

<Servers>
  <Server name="serverSSH" resource="cs://remote:11111">
    <CommandStartup>
      <SSHCommand exec="/home/user/run_pvserver.sh -- " timeout="0" delay="5">
        <SSHConfig user="user">
          <Terminal/>
          <PortForwarding local="11150"/>
        </SSHConfig>
        <Arguments>
          <Argument value="$PV_SERVER_PORT$"/>
        </Arguments>
      </SSHCommand>
    </CommandStartup>
  </Server>
</Servers>

But on loading and attempting to connect, I get the following error:

# Option ā€œ-eā€ is deprecated and might be removed in a later version of gnome-terminal.
# Use ā€œ-- ā€ to terminate the options and put the command line to execute after it.
# Failed to parse arguments: Unknown option -L

Command aborted.

Did I make a mistake in my file?
Thanks and regards,
Tim

Looks like there may be an incompatibility with gnome-terminal.

Can you install and use Xterm instead ?

<Terminal exec="/usr/bin/xterm"/>

instead of

<Terminal/>

1 Like

Thanks, using xterm seems to do the trick!