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
(Linux)
 
(56 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== MAC OSX ==
+
__TOC__
  
=== OSX 10.7 or older ===
+
= What is a Xserver =
 +
* Xserver is a method of accessing graphical applications on a remote Linux Machine from your local computer. 
 +
* This requires an Xserver program to be installed locally on your computer.
  
*XServer is already built into OSX
+
= Mac OS X =
 
+
*Download '''XQuartz''' at [http://xquartz.macosforge.org/landing/ http://xquartz.macosforge.org/landing/]
=== 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.
 
*Install XQuartz and be sure to restart the computer after the installation is done.
 +
*Open XQuartz by going to '''Go->Utilities->XQuartz'''
 +
[[File:xquartz.jpg| 900px]]
 +
* Type in the following to connect to a remote server
 +
<pre>ssh -X username@destination.server.edu
 +
</pre>
 +
*The '''-X''' after "ssh" tells the computer to connect using Xserver
 +
*'''username''' - is your username
 +
*'''destination.server.edu''' - the server you would like to connect too (example: biologin.igb.illinois.edu)
  
=== Connecting ===
+
= Windows with MobaXterm =
*Open a terminal client and type in
+
*MobaXTerm includes an xserver.  This is the easiest method on a windows computer
<pre>ssh -X [yournetid]@[destination.server].edu
+
*Download and install MobaXterm from [https://mobaxterm.mobatek.net/ https://mobaxterm.mobatek.net/]
 +
*Open MobaXterm and select '''Start local terminal'''
 +
[[File:Mobaxterm_xserver_1.jpg| 1000px]]
 +
*Type in the following to connect to a remote server
 +
<pre>ssh -X username@destination.server.edu
 
</pre>
 
</pre>
**The '''-X''' after "ssh" tells the computer to connect using xserver
+
*The '''-X''' after "ssh" tells the computer to connect using Xserver
**'''yournetid''' - is your university netid
+
*'''username''' - is your username
**'''destination.server.edu''' - the server you would like to connect too (example: biocluster.igb.illinois.edu)
+
*'''destination.server.edu''' - the server you would like to connect too (example: biologin.igb.illinois.edu)
== Windows ==
+
[[File:Mobaxterm_xserver_2.jpg| 1000px]]
  
=== Download the following files ===
+
= Linux =
 
+
* Most versions of Linux has a Xserver built in.
*[http://help.igb.illinois.edu/images/a/a6/Xming-6-9-0-31-setup.exe Xming-6-9-0-31-setup.exe]
+
* Open a terminal window
*[http://help.igb.illinois.edu/images/d/da/Putty-0.60-installer.exe Putty-0.60-installer.exe]
+
* Type in the following to connect to a remote server
*[http://help.igb.illinois.edu/images/3/3b/Putty.reg putty.reg] (Right Click to Save)
+
<pre>ssh -X username@destination.server.edu
*[http://help.igb.illinois.edu/images/7/71/Xserver.xlaunch Xserver.xlaunch] (Right Click to Save)
+
</pre>
 
+
*The '''-X''' after "ssh" tells the computer to connect using Xserver
=== Installing Xming ===
+
*'''username''' - is your username
 
+
*'''destination.server.edu''' - the server you would like to connect too (example: biologin.igb.illinois.edu)
*Run "Xming-6-9-0-31-setup.exe" installer. Follow the screenshots below.
 
*Click Next
 
 
 
[[File:Xming install1.jpg]]
 
 
 
*Click Next
 
 
 
[[File:Xming install2.jpg]]
 
 
 
*Click Next
 
 
 
[[File:Xming install3.jpg]]
 
 
 
*Click Next
 
 
 
[[File:Xming install4.jpg]]
 
 
 
*Uncheck everything except for "Associate XLaunch.exe with the .xlaunch file extension"
 
 
 
[[File:Xming install5.jpg]]
 
 
 
*Click Install
 
 
 
[[File:Xming install6.jpg]]
 
 
 
*Uncheck "Launch Xming". Click finish
 
 
 
[[File:Xming install7.jpg]]
 
 
 
=== Installing PuTTy ===
 
 
 
*Run "putty-0.60-installer.exe" installer. Follow the screenshots below.
 
*Click Next
 
 
 
[[File:Putty install1.jpg]]
 
 
 
*Click Next
 
 
 
[[File:Putty install2.jpg]]
 
 
 
*Click Next
 
 
 
[[File:Putty install3.jpg]]
 
 
 
*Click Next
 
 
 
[[File:Putty install4.jpg]]
 
 
 
*Click Install
 
 
 
[[File:Putty install5.jpg]]
 
 
 
*Click Finish
 
 
 
[[File:Putty install6.jpg]]
 
 
 
*Run "putty.reg". At the warning that pops up click Yes. It will be similar to the following screenshot
 
 
 
[[File:Putty.reg.jpg]]
 
  
=== Connecting to X Server ===
+
= Testing =
 +
* A good test is to run the program '''xterm'''.  Most hosts will have this installed.  It will open up a graphical terminal window.
 +
<pre>[username@hostname ~]$ xterm</pre>
  
*Run "xserver.xlaunch". This is the Xming profile that is needed to connect properly use Xming with a server
+
= References =
*Run PuTTY by going to Start->Programs->PuTTY->PuTTY
+
*[http://xquartz.macosforge.org/landing/ http://xquartz.macosforge.org/landing/]
*Type in the hostname you are connecting to then click Open.
+
*[https://mobaxterm.mobatek.net/ https://mobaxterm.mobatek.net/]
*Type in your net ID for your username and press enter. Type in your IGB password and press enter.
+
*[https://en.wikipedia.org/wiki/X_Window_System https://en.wikipedia.org/wiki/X_Window_System]
*You are now connected. You should be able to run any xserver capable program.
 

Latest revision as of 16:01, 18 January 2022

What is a Xserver[edit]

  • Xserver is a method of accessing graphical applications on a remote Linux Machine from your local computer.
  • This requires an Xserver program to be installed locally on your computer.

Mac OS X[edit]

  • Download XQuartz at http://xquartz.macosforge.org/landing/
  • Install XQuartz and be sure to restart the computer after the installation is done.
  • Open XQuartz by going to Go->Utilities->XQuartz

Xquartz.jpg

  • Type in the following to connect to a remote server
ssh -X username@destination.server.edu
  • The -X after "ssh" tells the computer to connect using Xserver
  • username - is your username
  • destination.server.edu - the server you would like to connect too (example: biologin.igb.illinois.edu)

Windows with MobaXterm[edit]

  • MobaXTerm includes an xserver. This is the easiest method on a windows computer
  • Download and install MobaXterm from https://mobaxterm.mobatek.net/
  • Open MobaXterm and select Start local terminal

Mobaxterm xserver 1.jpg

  • Type in the following to connect to a remote server
ssh -X username@destination.server.edu
  • The -X after "ssh" tells the computer to connect using Xserver
  • username - is your username
  • destination.server.edu - the server you would like to connect too (example: biologin.igb.illinois.edu)

Mobaxterm xserver 2.jpg

Linux[edit]

  • Most versions of Linux has a Xserver built in.
  • Open a terminal window
  • Type in the following to connect to a remote server
ssh -X username@destination.server.edu
  • The -X after "ssh" tells the computer to connect using Xserver
  • username - is your username
  • destination.server.edu - the server you would like to connect too (example: biologin.igb.illinois.edu)

Testing[edit]

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

References[edit]