software:paraview:caviness

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:paraview:caviness [2020-08-18 12:35] – [Close ParaView GUI on Caviness] mkylesoftware:paraview:caviness [2020-08-20 11:56] (current) – [Setting up ParaView with GUI on Caviness] mkyle
Line 56: Line 56:
  
 <note important> <note important>
-You will only be asked to set up your password the first time you run ''paraview-vnc''. Make sure to remember that password as you will need to use it to login into your VNC sessions for ParaView in the future. If you don't get prompted for a password and you don't remember what you entered before, then you will need to clean up your account before running ''paraview-vnc'' again.+You will only be asked to set up your password the first time you run ''paraview-vnc''. This should **NOT** be your login password! This mechanism only deters unauthorized connections; it is not fully secure, as only the first eight characters of the password are saved. Make sure to remember that password as you will need to use it to login into your VNC sessions for ParaView in the future. If you forget your password then you can use the ''vncpasswd'' command to reset your password.
 </note> </note>
 +
  
 The base port for VNC is 5900, add your display number '':1'' (that can be found in the above code segment) and we get 5901. The base port for VNC is 5900, add your display number '':1'' (that can be found in the above code segment) and we get 5901.
Line 63: Line 64:
 === Setting up SSH Tunnel for VNC Connection === === Setting up SSH Tunnel for VNC Connection ===
 After running ''paraview-vnc'' you will need to set up a SSH tunnel. The steps on how to do this are shown below for Windows (PuTTY) and Linux/Mac Terminals.  After running ''paraview-vnc'' you will need to set up a SSH tunnel. The steps on how to do this are shown below for Windows (PuTTY) and Linux/Mac Terminals. 
 +
 +<note important>
 +Make sure to note the which login node (''login00'' or ''login01'') when setting up your tunnel. If the wrong node is used the tunnel will not work correctly. 
 +</note>
 +
  
 ==Windows (PuTTY)== ==Windows (PuTTY)==
Line 70: Line 76:
 {{ :software:paraview:putty-tunnel.png?400 | Caviness Tunnel Settings}} {{ :software:paraview:putty-tunnel.png?400 | Caviness Tunnel Settings}}
  
-Add the "Source port" and "Destination" as shown in the image above and click the "Add" button. After you add this setting to your session you can save them or just open the session. You will have to leave this session open and open a VNC Client software to start the ParaView GUI on your system. +Add the "Source port" and "Destination" as shown in the image above and click the "Add" button. After you add this setting to your session you can save them or just open the session. You will have to leave this session open and open a VNC viewer (client) software to start the ParaView GUI on your system. 
 ==Linux/Mac== ==Linux/Mac==
 Open a new terminal session on your local machine. Set up a SSH Tunnel using the below //ssh// command. Open a new terminal session on your local machine. Set up a SSH Tunnel using the below //ssh// command.
Line 95: Line 101:
 Last login: Thu Aug  6 12:28:19 2020 from c-76-124-88-43.hsd1.de.comcast.net Last login: Thu Aug  6 12:28:19 2020 from c-76-124-88-43.hsd1.de.comcast.net
 [traine@login00 ~]$ [traine@login00 ~]$
- 
  
 </code> </code>
  
 <note important> <note important>
-Make sure that you leave this tunnel SSH session open and running in the background. If you close out of it you will not be able to connect ParaView on Caviness with VNC.+Make sure that you leave this tunnel SSH session open and running in the background. If you close out of it, then you will not be able to connect ParaView on Caviness with the VNC viewer (client) software.
 </note> </note>
  
 === Setting Up VNC === === Setting Up VNC ===
  
-Now ParaView is running on port 5901 on Caviness. A SSH tunnel is connected on your local machines port 5901 and it is mirroring port 5901 on Caviness. The last step is to set up your VNC client to connect to ParaView on port 5901. These are general steps that should apply to any operating system. +Now ParaView is running on port 5901 on Caviness. A SSH tunnel is connected on your local machine port 5901 and it is mirroring port 5901 on Caviness. The last step is to set up your VNC client to connect to ParaView on port 5901. These are general steps that should apply to any operating system. 
  
   * Open a VNC viewer software.   * Open a VNC viewer software.
   * Add a new connection to localhost:5901   * Add a new connection to localhost:5901
 +
 <note tip> <note tip>
-If you don't have a VNC software you can visit [[https://www.realvnc.com/en/connect/download/viewer/|REAL VNC Viewer]]. There you can find software downloads for many popular operating systems, and directions on how to install it.+If you don't have a VNC viewer (client) software you can visit [[https://www.realvnc.com/en/connect/download/viewer/|REAL VNC Viewer]]. There you can find software downloads for many popular operating systems, and directions on how to install it.
 </note> </note>
 +
 === Connecting to Paraview GUI with VNC === === Connecting to Paraview GUI with VNC ===
-Once the VNC connection is create you can use it to open the ParaView GUI. When connecting you will be asked for a password. This password is the one you set the first time you ran //paraview-vnc//. Once that password is entered ParaView should open and you can beign working. +Once the VNC connection is created you can use it to open the ParaView GUI. When connecting you will be asked for a password. This password is the one you set the first time you ran ''paraview-vnc''. Once you enter the passwordParaView should open and you can begin working. 
  
  
Line 125: Line 132:
 ==== Close ParaView GUI on Caviness === ==== Close ParaView GUI on Caviness ===
  
-It is very important to correctly close out of ParaView when you are done working with it. If ParaView is not closed correctly it then it could continue to use computational resources. To quit ParaView you need to use the GUI. From in the GUI click //File//->//Exit//. This will close ParaView in your VNC connection and on Caviness. After that you can close you SSH tunnel connection and your Caviness SSH session+It is very important to correctly close out of ParaView when you are done working with it. If ParaView is not closed correctlythen it could continue to use computational resources. To quit ParaViewin the GUI click //File//->//Exit//. This will close ParaView running in your VNC viewer and exit Paraview running on Caviness. After that you can close your SSH tunnel connection to Caviness. 
  
 {{ :software:paraview:closeparaview.jpg?400 | Quit ParaView}} {{ :software:paraview:closeparaview.jpg?400 | Quit ParaView}}
  • software/paraview/caviness.1597768512.txt.gz
  • Last modified: 2020-08-18 12:35
  • by mkyle