Difference between revisions of "Xserver Setup"

From Carl R. Woese Institute for Genomic Biology - University of Illinois Urbana-Champaign
Jump to navigation Jump to search
(Connecting to X Server)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Connecting to a X Server  =
+
== MAC OSX ==
  
== MAC OSX ==
+
=== OSX 10.5 through OS X 10.7 ===
  
=== OSX 10.7 or older  ===
+
*XServer is already built into OSX
  
*xserver is already built into OSX  
+
=== OSX 10.8 through 10.10 ===
*Simply open a terminal client and type in
 
<pre>ssh -X younetid@destination.server.edu
 
</pre>
 
**The '''-X''' in front of SSH tells the computer to connect using xserver
 
**'''yournetid''' - is your university netid
 
**'''destination.server.edu''' - the server you would like to connect too (example: biocluster.igb.illinois.edu)
 
  
=== OSX 10.8  ===
+
*Download '''XQuartz''' [http://xquartz.macosforge.org/landing/ http://xquartz.macosforge.org/landing/]
 +
*Install XQuartz and be sure to restart the computer after the installation is done.
  
*Download '''XQuartz''' http://xquartz.macosforge.org/landing/
+
=== Connecting ===
*Install XQuartz and be sure to restart the computer after the installation is done.
+
*Open a terminal client and type in
*Now simply follow the instructions above for '''OSX 10.7 or older'''.
+
<pre>ssh -X [yournetid]@[destination.server].edu
 
+
</pre>
== Windows ==
+
**The '''-X''' after "ssh" tells the computer to connect using xserver
 +
**'''yournetid''' - is your university netid
 +
**'''destination.server.edu''' - the server you would like to connect too (example: biocluster.igb.illinois.edu)
 +
== Windows with MobaXterm ==
 +
*MobaXTerm includes an xserver.  This is the easiest method on a windows computer
 +
*Download and install MobaXterm at [https://mobaxterm.mobatek.net/ https://mobaxterm.mobatek.net/]
  
=== Download the following files ===
+
== Windows with PuTTY ==
 +
*For users who prefer PuTTY.  You will need to setup the program XMing
 +
=== Download the following files ===
  
*[[Media:Xming-6-9-0-31-setup.exe|Xming-6-9-0-31-setup.exe]]  
+
*[http://help.igb.illinois.edu/images/a/a6/Xming-6-9-0-31-setup.exe Xming-6-9-0-31-setup.exe]
*[[Media:Putty-0.60-installer.exe|Putty-0.60-installer.exe]]  
+
*[http://help.igb.illinois.edu/images/d/da/Putty-0.60-installer.exe Putty-0.60-installer.exe]
*[[Media:Putty.reg|putty.reg]] (Right Click to Save)  
+
*[http://help.igb.illinois.edu/images/3/3b/Putty.reg putty.reg] (Right Click to Save)
*[[Media:Xserver.xlaunch|xserver.xlaunch]] (Right Click to Save)
+
*[http://help.igb.illinois.edu/images/7/71/Xserver.xlaunch Xserver.xlaunch] (Right Click to Save)
  
=== Installing Xming ===
+
=== Installing Xming ===
  
*Run "Xming-6-9-0-31-setup.exe" installer. Follow the screenshots belows
+
*Run "Xming-6-9-0-31-setup.exe" installer. Follow the screenshots below.
 
*Click Next
 
*Click Next
  
[[Image:Xming install1.jpg]]  
+
[[File:Xming install1.jpg|400px]]
  
 
*Click Next
 
*Click Next
  
[[Image:Xming install2.jpg]]  
+
[[File:Xming install2.jpg|400px]]
  
 
*Click Next
 
*Click Next
  
[[Image:Xming install3.jpg]]  
+
[[File:Xming install3.jpg|400px]]
  
 
*Click Next
 
*Click Next
  
[[Image:Xming install4.jpg]]  
+
[[File:Xming install4.jpg|400px]]
  
*Uncheck everything except for "Associate XLaunch.exe with the .xlaunch file extension
+
*Uncheck everything except for "Associate XLaunch.exe with the .xlaunch file extension"
  
[[Image:Xming install5.jpg]]  
+
[[File:Xming install5.jpg|400px]]
  
 
*Click Install
 
*Click Install
  
[[Image:Xming install6.jpg]]  
+
[[File:Xming install6.jpg|400px]]
  
 
*Uncheck "Launch Xming". Click finish
 
*Uncheck "Launch Xming". Click finish
  
[[Image:Xming install7.jpg]]  
+
[[File:Xming install7.jpg|400px]]
  
=== Installing PuTTy ===
+
=== Installing PuTTy ===
  
*Run "putty-0.60-installer.exe" installer. Follow the screenshots belows
+
*Run "putty-0.60-installer.exe" installer. Follow the screenshots below.
 
*Click Next
 
*Click Next
  
[[Image:Putty install1.jpg]]  
+
[[File:Putty install1.jpg|400px]]
  
 
*Click Next
 
*Click Next
  
[[Image:Putty install2.jpg]]  
+
[[File:Putty install2.jpg|400px]]
  
 
*Click Next
 
*Click Next
  
[[Image:Putty install3.jpg]]  
+
[[File:Putty install3.jpg|400px]]
  
 
*Click Next
 
*Click Next
  
[[Image:Putty install4.jpg]]  
+
[[File:Putty install4.jpg|400px]]
  
 
*Click Install
 
*Click Install
  
[[Image:Putty install5.jpg]]  
+
[[File:Putty install5.jpg|400px]]
  
 
*Click Finish
 
*Click Finish
  
[[Image:Putty install6.jpg]]  
+
[[File:Putty install6.jpg|400px]]
  
 
*Run "putty.reg". At the warning that pops up click Yes. It will be similar to the following screenshot
 
*Run "putty.reg". At the warning that pops up click Yes. It will be similar to the following screenshot
  
[[Image:Putty.reg.jpg]]  
+
[[File:Putty.reg.jpg|400px]]
 +
 
 +
=== Connecting to X Server ===
  
=== Connecting to X Server  ===
+
*Run "xserver.xlaunch". This is the Xming profile that is needed to connect properly use Xming with a server
 +
*Run PuTTY by going to Start->Programs->PuTTY->PuTTY
 +
*Type in the hostname you are connecting to then click Open.
 +
*Login with the username/password for this host.
 +
*You are now connected. You should be able to run any xserver capable program.
  
*Run "xserver.xlaunch". This is the Xming profile that is needed to connect properly use Xming with a server
+
=== Testing ===
*Run PuTTY by going to Start-&gt;Programs-&gt;PuTTY-&gt;PuTTY
+
* A good test is to run the program "xterm". Most hosts will have this installed. It will open up a graphical terminal box.
*Type in the hostname you are connecting to then click Open.  
+
<pre>[username@hostname ~]$ xterm</pre>
*Type in your net ID for your username and press enter. Type in your IGB password and press enter.
 
*You are now connect. You should be able to run any xserver capable program.
 

Latest revision as of 13:03, 19 August 2019

MAC OSX[edit]

OSX 10.5 through OS X 10.7[edit]

  • XServer is already built into OSX

OSX 10.8 through 10.10[edit]

Connecting[edit]

  • Open a terminal client and type in
ssh -X [yournetid]@[destination.server].edu
    • The -X after "ssh" tells the computer to connect using xserver
    • yournetid - is your university netid
    • destination.server.edu - the server you would like to connect too (example: biocluster.igb.illinois.edu)

Windows with MobaXterm[edit]

Windows with PuTTY[edit]

  • For users who prefer PuTTY. You will need to setup the program XMing

Download the following files[edit]

Installing Xming[edit]

  • Run "Xming-6-9-0-31-setup.exe" installer. Follow the screenshots below.
  • Click Next

Xming install1.jpg

  • Click Next

Xming install2.jpg

  • Click Next

Xming install3.jpg

  • Click Next

Xming install4.jpg

  • Uncheck everything except for "Associate XLaunch.exe with the .xlaunch file extension"

Xming install5.jpg

  • Click Install

Xming install6.jpg

  • Uncheck "Launch Xming". Click finish

Xming install7.jpg

Installing PuTTy[edit]

  • Run "putty-0.60-installer.exe" installer. Follow the screenshots below.
  • Click Next

Putty install1.jpg

  • Click Next

Putty install2.jpg

  • Click Next

Putty install3.jpg

  • Click Next

Putty install4.jpg

  • Click Install

Putty install5.jpg

  • Click Finish

Putty install6.jpg

  • Run "putty.reg". At the warning that pops up click Yes. It will be similar to the following screenshot

Putty.reg.jpg

Connecting to X Server[edit]

  • Run "xserver.xlaunch". This is the Xming profile that is needed to connect properly use Xming with a server
  • Run PuTTY by going to Start->Programs->PuTTY->PuTTY
  • Type in the hostname you are connecting to then click Open.
  • Login with the username/password for this host.
  • You are now connected. You should be able to run any xserver capable program.

Testing[edit]

  • A good test is to run the program "xterm". Most hosts will have this installed. It will open up a graphical terminal box.
[username@hostname ~]$ xterm