Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Ensight Remote Server Connection

TAGGED: 

    • ehsan.sadeghi
      Subscriber

      I want to make a remote connection between a Windows workstation and a remote server with Ubuntu to run ensight. I am using Ensight version 2023R1.

      After reading the costumer portal posts and the manual I am still unable to run the Ensight remotely. I follow the steps below:

      1- Enisght runs indpendently on both client and remote host machines.

      2- I have included the ensight path in bashrc of Ubuntu.

      3- running the command ensight -l I get the the following message:

      Available versions:
          231 (latest)
      By default, 'ensight' will use the latest version available. Select a specific version
      to run with the '--useversion ###' command-line argument.

      4- I have ensured the the passwordless ssh is established between windows and ubunu. I the ensight launcher i enter the following:

      plink -i "path to private key"

      5- I start the remote server by running ensight231.server -cm to listen to the client connection

      6- in the ensight launcher in the client side i choose client conncect to the server

      There is no firwall in windows nor in ubuntu.

    • Marina Galvagni
      Ansys Employee

      Hi,

      Have you tried using ceistart instead of manually starting the connection? It basically is a wrapper around the commands you're trying to use.
      Launch it with "ceistart" from the Ansys_installation\vXXX\CEI\bin directory. Then select the Remote Server option.

       

      You'll need to enter hostname for the remote machine and your username. As long as the remote machine is configured correctly, then this should start EnSight with client locally, and server remote.
      Hope this helps.
      Best Regards,

      Marina Galvagni

      • ehsan.sadeghi
        Subscriber

        Thank you Marina.

         

        From client side (windows machine) I start the ceistart231 as follow:

        and from server side (linux machine) i start the command ensight231.server

         

        is that correct? it doesnt work though...

    • Marina Galvagni
      Ansys Employee

      Hi,
      Apologies for the late reply.
      First, you should not need to start the server manually on the Linux, ceistart will take care of that.
      Second, can you try to toggle on the SSH tunneling option and see if that changes the situation?
      Can you check on the Linux machine if you see some process starting up?

      Thanks,
      Marina

    • ehsan.sadeghi
      Subscriber

      Nothing happens in sever side. no process starts. 

      from client side CEIstart keeps unresponsive when i press launch

    • Marina Galvagni
      Ansys Employee

      Hi,

      If nothing happens on the server side, there are 2 possibilities:

      • the connection isn't happening. It could be an issue with passwordless connection, machine/user name, firewalls or needing to reverse the SSH tunnel. There's no easy way for me to debug this without access to the machine
      • the connection is made, but the executables on the linux machine aren't found. If you ssh into the machine, you should be able to start 'ensight' (which might now work as you have no graphical server, but that's not the point) without having to set any executable path. If this isn't the case, then this needs to be fixed.


      The alternative is to manually do the connection. On the windows machine, type:

      ensight_client.bat -cm

      This will bring up the EnSight interface, waiting for the server connection. Now on a second shell, ssh into the linux machine, and on that type:

      ensight_server -c

      Assuming there is nothing stopping the connection and you have the exact same version installed on both machines, this should bring up on Windows EnSight, with its backend running on the linux machine.

       

       

      • ehsan.sadeghi
        Subscriber

        Thank you very much Marina. The manual connection worked!

        Windows side:

        ensight_client.bat -cm

        Server side:

        ensigh.server (when prompted i entered the client machine name)

Viewing 4 reply threads
  • The topic ‘Ensight Remote Server Connection’ is closed to new replies.