Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
en:documentation:tutorials:visualisation [2020/05/06 09:40] ltaulellen:documentation:tutorials:visualisation [2020/08/25 15:58] – modification externe 127.0.0.1
Ligne 147: Ligne 147:
  
 {{ :documentation:tutorials:x2go-r730visu-07-xfce-desktop.png?direct |XFCE Desktop}} {{ :documentation:tutorials:x2go-r730visu-07-xfce-desktop.png?direct |XFCE Desktop}}
 +
 +===== 3.1. Connection from outside (Linux, Mac) =====
 +
 +This paragraph concerns a connection to the visualization machine from outside the School, **from a Linux or Mac OSX client**. SSH bounces must be active, make sure you have read (understood and tested) the
 +[[documentation:tutorials:ssh:multihop_ssh|related documentation]].
 +
 +<WRAP group>
 +<WRAP half column>
 +
 +{{:documentation:tutorials:diagramme_ssh_externe.png?direct&300|}}
 +
 +</WRAP>
 +<WRAP half column>
 +
 +__Keys :__
 +  * **black** : physical connection
 +  * <wrap round notice>blue</wrap> : standard ssh connection
 +  * <wrap round danger>red</wrap> : virtual ssh connection (bounce)
 +  * <wrap round safety>green</wrap> : NFS link (/home)
 +
 +</WRAP>
 +</WRAP>
 +
 +  * Minimal modification to be made in your ''~/.ssh/config'' (on user station):
 +
 +<code bash>
 +Host allo-psmn-multihop
 +  User $USER
 +  ProxyCommand ssh -qt $USER@ssh.psmn.ens-lyon.fr tcpconnect allo-psmn.psmn.ens-lyon.fr %p
 +</code>
 +
 +<wrap important>Replace ''$USER'' by your PSMN login.</wrap>
 +
 +  * Modification x2go :
 +
 +In the tab ''Session'', block ''Proxy server'', box ''Host'', replace ''allo-psmn.psmn.ens-lyon.fr'' by the new configuration : ''allo-psmn-multihop''. You must get the same thing as in §3 at the login x2go.
  
 ===== 4. Connection Windows/PuTTY, External access ===== ===== 4. Connection Windows/PuTTY, External access =====
Ligne 170: Ligne 206:
 </WRAP> </WRAP>
  
 +==== Creating an SSH tunnel ====
 +
 +<note important>**The following steps assume that you have already configured your SSH rebounds to allo-psmn (see [[documentation:tutorials:ssh:putty&#configurer_le_proxy_putty_plink|this documentation]])**</note>
 +
 +The first step is to create an SSH tunnel to the visualization machine. :
 +
 +  * Copy the gateway session (allo-psmn, Load, rename, save).
 +
 +Change the "Host Name" to that of the display machine (here, for the example, r740visu). So rename the session to **r740visu** (to follow the example) and save.
 +
 +<note important>Be sure to enter the full name in ''Host Name'' (here **r740visu.psmn.ens-lyon.fr)**</note>
 +
 +{{:documentation:tutorials:putty_conf_session_visu.png?direct&300|}}.
 +
 +  * In ''Connection->Proxy'', select ''Local''.
 +  * In ''Connection->Proxy'', set "Telnet command" as follows : <code>plink.exe -load allo-psmn -nc %host:%port</code>
 +
 +{{:documentation:tutorials:putty_conf_conn_proxy_x5770.png?direct&300|}}
 +
 +  * In ''Connection->SSH->Tunnels'', set ''Source port'' on port 2222 and ''Destination'' sur <code>r740visu.psmn.ens-lyon.fr:22</code>
 +
 +{{:documentation:tutorials:putty_conf_tunnel_visu.png?direct&300|}}
 +
 +  * Return to ''Session'', save, then click ''Open''. Your tunnel is now open.
 +
 +==== X2Go connection ====
 +
 +<WRAP group>
 +<WRAP half column>
 +<note important>**The SSH session from Putty to r740visu must remain open, do not close the login window.**</note>
 +</WRAP>
 +<WRAP half column>
 +{{:documentation:tutorials:putty-tunnel-cmd.png?direct&300|}}
 +</WRAP>
 +</WRAP>
 +
 +<WRAP group>
 +<WRAP half column>
 +{{:documentation:tutorials:x2go.png?direct&300|}}
 +</WRAP>
 +<WRAP half column>
 +The X2Go session settings are as follows:
 +
 +  * In ''Host'' enter ''localhost''.
 +  * In ''Username'' enter your login.
 +  * Set ''SSH Port'' to 2222.
 +  * Check the box ''Try automatic authentication''.
 +  * Set ''Session Type'' to ''XFCE''.
 +</WRAP>
 +</WRAP>
 +
 +
 +Confirm with OK, then double-click the session icon on the right side of the X2Go client. You are now connected to the graphical interface of the machine.
 +
 +{{:documentation:tutorials:x2go_desktop.png?direct&300|}}
  
 ===== Usage ===== ===== Usage =====
Ligne 175: Ligne 266:
 Every application installed in the PSMN environment can be used as is. Every application installed in the PSMN environment can be used as is.
  
-==== Numeric keyborad ==== +==== Numeric keyboard ==== 
-If your numeric keypad is not recognized, in a terminal, run the program '' numlockx ''.+ 
 +If your numeric keypad is not recognized, in a terminal, run the program ''numlockx''.
  
 ==== modulefiles ==== ==== modulefiles ====
Ligne 186: Ligne 278:
 <code bash>source /usr/share/lmod/lmod/init/bash</code> <code bash>source /usr/share/lmod/lmod/init/bash</code>
  
 +==== Mac users ====
 +
 +MacOS X users must have X11 Mac server installed and running prior to use x2go-client, see [[https://wiki.x2go.org/doku.php/doc:installation:x2goclient#os_x|x2goclient documentation]]
 ==== VirtualGL ==== ==== VirtualGL ====