Go to the U of M home page
School of Physics & Astronomy
Physics & Astronomy Wiki

computing:department:unix:x11

Differences

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

Link to this comparison view

Next revision
Previous revision
computing:department:unix:x11 [2007/06/08 10:12]
clayton created
computing:department:unix:x11 [2009/05/18 17:21] (current)
clayton
Line 9: Line 9:
 ===== Using X windows with ssh ===== ===== Using X windows with ssh =====
  
- +    ​* Log in to a system which has ssh (with support for tunnelling) installed, and if required, set the ''​DISPLAY''​ environment variable to open windows on your screen ​-- if working from a graphical environment it should be set for you.
-    ​* Log in to a system which has ssh (with support for tunnelling) installed, and if required, set the ''​DISPLAY''​ environment variable to open windows on your screen.+
     * Use ssh to log in to the remote system.     * Use ssh to log in to the remote system.
     * Now open X windows as usual (it may be easiest to test with a small, quick program such as xclock). Don't set the ''​DISPLAY''​ variable at the remote system; ssh will have set it for you.      * Now open X windows as usual (it may be easiest to test with a small, quick program such as xclock). Don't set the ''​DISPLAY''​ variable at the remote system; ssh will have set it for you. 
  
-If you have problems, start by checking the value of ''​DISPLAY''​ at the remote system (using "''​printenv DISPLAY''"​ or similar). Some servers don't switch on X11 tunnelling by default, in which case you have to use the "-X" flag when connecting to them (eg "ssh -hostname"​).+If you have problems, start by checking the value of ''​DISPLAY''​ at the remote system (using "''​printenv DISPLAY''"​ or similar). Some servers don't switch on X11 tunnelling by default, in which case you have to use the "''​-Y''​" flag when connecting to them (eg "''​ssh -hostname''​").
  
-   * If you don't have ssh installed on your system, check out our Secure Shell page for information on where to get it. +   * If you don't have ssh installed on your system, check out our [[:​computing:​software:​ssh|Secure Shell page]] for information on where to get it. 
computing/department/unix/x11.1181315578.txt.gz · Last modified: 2007/06/08 10:12 by clayton