User Tools

Site Tools


ssh_x11

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
ssh_x11 [2020/09/10 05:11]
vsaxena
ssh_x11 [2024/08/30 22:02] (current)
vsaxena [X11 Forwarding over SSH]
Line 1: Line 1:
 ===== X11 Forwarding over SSH ===== ===== X11 Forwarding over SSH =====
  
-<note warning>​Use X11 Forwarding on Windows only when you can't get X2Go to work</note>+**Linux** and **Mac** users can directly use ssh instead of the X2Go client. Mac users will need to install the [[https://​www.xquartz.org/|XQuartz]] software. Use the following command
  
-There are couple of different SSH Clients available for windowsYou can use either Putty or Bitvise clients below:+<​code>​ ssh -XY [username]@cpeg424.ece.udel.edu ​ </​code>​
  
-===== Bitvise SSH Client =====+ 
 +<note warning>​Use X11 Forwarding on Windows only when you can't get X2Go or BitVise SSH to work. </​note>​ 
 + 
 + 
 +There are couple of different SSH Clients available for **Windows**. You can use either use Bitvise or Putty ssh clients below: 
 + 
 +===== Bitvise SSH Client ​with Xming =====
   * Download and install Bitvise SSH client from  [[https://​www.bitvise.com/​ssh-client-download|https://​www.bitvise.com/​ssh-client-download]]   * Download and install Bitvise SSH client from  [[https://​www.bitvise.com/​ssh-client-download|https://​www.bitvise.com/​ssh-client-download]]
 +
   * From your SSH client, connect to **cpeg424.ece.udel.edu** using the default port (22).    * From your SSH client, connect to **cpeg424.ece.udel.edu** using the default port (22). 
 +
   * Enter your EECIS username and password when prompted as in the screenshot below. {{:​wiki:​ssh1.png?​500|}}   * Enter your EECIS username and password when prompted as in the screenshot below. {{:​wiki:​ssh1.png?​500|}}
-  ​* You can select whether you want to open the sftp window each time you login. Stfp is useful for file transfer {{:​wiki:​ssh2.png?​500|}} + 
-  * It's a good idea to install ​a local Xserver on Windows such as [[https://​sourceforge.net/​projects/​vcxsrv/​|VcXsrv]] or [[https://​sourceforge.net/​projects/​xming/​|Xming]]. +  ​* You can select whether you want to open the sftp window each time you login. Stfp is useful for file transfer ​ 
-  * To run Cadence, you will need to export graphics display from linux. You can alternatively ​ use X2Go instead of using SSH at all. In the SSH client'​s Terminal tab, enable X11 forwarding. Use the default display setting: 127.0.0.1:​0.0. {{:​wiki:​ssh1b.png?​500|}}+  ​{{:​wiki:​ssh2.png?​500|}} 
 +  * Download and Install ​a local Xserver on Windows such as [[https://​sourceforge.net/​projects/​vcxsrv/​|VcXsrv]] or [[https://​sourceforge.net/​projects/​xming/​|Xming]]. ​Please use these links to install either of the two software. {{:​wiki:​xming.png?​100|}} 
 + 
 +  * To run Cadence, you will need to export graphics display from linux. You can alternatively ​ use X2Go instead of using SSH at all. In the SSH client'​s Terminal tab, enable X11 forwarding. Use the default display setting: 127.0.0.1:​0.0. ​ 
 +  ​{{:​wiki:​ssh1b.png?​500|}}
   * Then click on “Login” at the bottom of the screen. ​   * Then click on “Login” at the bottom of the screen. ​
 +
   * A SSH session will then open up to the course server something like in the figure below: {{:​wiki:​ssh3.png?​700|}} ​   * A SSH session will then open up to the course server something like in the figure below: {{:​wiki:​ssh3.png?​700|}} ​
-  ​* Use xhost command to allow any hosts to connect to the display.  + 
-<​code>​xhost +</​code>​ + /* Use xhost command to allow any hosts to connect to the display.  
-  * You can start Cadence by using the virtuoso command in the background (append with &​) ​ +<​code>​xhost +</​code> ​*/ 
 + 
 +  * You can start Cadence by using the virtuoso command in the background (append with &​) ​
 <​code>​virtuoso &</​code> ​ <​code>​virtuoso &</​code> ​
   {{:​wiki:​ssh4.png?​500|}}   {{:​wiki:​ssh4.png?​500|}}
-  * You should see a graphical window of Cadence command interpreter window (CIW) show up as below. ​If it doesn'​t then you probably forgot to use xhost +  ​+  * You should see a graphical window of Cadence command interpreter window (CIW) show up as below. ​
   {{:​wiki:​ssh5.png?​500|}}   {{:​wiki:​ssh5.png?​500|}}
   * You can save this bitvise profile for future use and load it the next time you need to login.   * You can save this bitvise profile for future use and load it the next time you need to login.
  
 ----- -----
-===== Putty SSH Client ===== + 
-  * Download and install Putty SSH client from  [[https://​www.putty.org/​|https://​www.putty.org/​]]+===== Putty SSH Client ​with Xming ===== 
 +  * Some folks prefer Putty as its a lightweight and easy to use software. ​Download and install Putty SSH client from  [[https://​www.putty.org/​|https://​www.putty.org/​]] 
   * From your SSH client, connect to Host Name **cpeg424.ece.udel.edu** using the default port (22).    * From your SSH client, connect to Host Name **cpeg424.ece.udel.edu** using the default port (22). 
   {{:​wiki:​putty1.png?​400|}}   {{:​wiki:​putty1.png?​400|}}
Line 31: Line 48:
   {{:​wiki:​putty2.png?​400|}}   {{:​wiki:​putty2.png?​400|}}
   * Go back to the Session tab, and Save this as a profile. ​   * Go back to the Session tab, and Save this as a profile. ​
 +
   * Click the **Open** button to initiate your connection. ​   * Click the **Open** button to initiate your connection. ​
-  ​* Enter your EECIS username and password when prompted as in the screenshot below. {{:​wiki:​putty3.png?​500|}} + 
-  * It's a good idea to install ​a local Xserver on Windows such as [[https://​sourceforge.net/​projects/​vcxsrv/​|VcXsrv]] or [[https://​sourceforge.net/​projects/​xming/​|Xming]].+  ​* Enter your EECIS username and password when prompted as in the screenshot below. ​ 
 +  ​{{:​wiki:​putty3.png?​500|}} 
 +  * Download and Install ​a local Xserver on Windows such as [[https://​sourceforge.net/​projects/​vcxsrv/​|VcXsrv]] or [[https://​sourceforge.net/​projects/​xming/​|Xming]]. ​Please use these links to install either of the two software. {{:​wiki:​xming.png?​100|}} 
   * You can start Cadence by using the virtuoso command in the background (append with &​)  ​   * You can start Cadence by using the virtuoso command in the background (append with &​)  ​
 <​code>​virtuoso &</​code> ​ <​code>​virtuoso &</​code> ​
ssh_x11.1599714698.txt.gz · Last modified: 2020/09/10 05:11 by vsaxena