Xserver Setup: Difference between revisions

From Carl R. Woese Institute for Genomic Biology - University of Illinois Urbana-Champaign
Jump to navigation Jump to search
Dslater (talk | contribs)
No edit summary
Dslater (talk | contribs)
 
(85 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Connecting to a X Server  ==
__TOC__


=== Download the following files ===
= 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.


*[[Media:Xming-6-9-0-31-setup.exe|Xming-6-9-0-31-setup.exe]]  
= Mac OS X =
*[[Media:Putty-0.60-installer.exe|Putty-0.60-installer.exe]]
*Download '''XQuartz''' at [http://xquartz.macosforge.org/landing/ http://xquartz.macosforge.org/landing/]
*putty.reg
*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)


=== Installing Xming ===
= Windows with MobaXterm =
*MobaXTerm includes an xserver. This is the easiest method on a windows computer
*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>
*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)
[[File:Mobaxterm_xserver_2.jpg| 1000px]]


*Run "Xming-6-9-0-31-setup.exe" installer. Follow the screenshots belows
= Linux =
*Click Next
* Most versions of Linux has a Xserver built in.
* Open a terminal window
* 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)


[[Image:Xming install1.jpg]]  
= 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>


*Click Next
= References =
 
*[http://xquartz.macosforge.org/landing/ http://xquartz.macosforge.org/landing/]
[[Image:Xming install2.jpg]]
*[https://mobaxterm.mobatek.net/ https://mobaxterm.mobatek.net/]
 
*[https://en.wikipedia.org/wiki/X_Window_System https://en.wikipedia.org/wiki/X_Window_System]
*Click Next
 
[[Image:Xming install3.jpg]]
 
*Click Next
 
[[Image:Xming install4.jpg]]
 
*Uncheck everything except for "Associate XLaunch.exe with the .xlaunch file extension
 
[[Image:Xming install5.jpg]]
 
*Click Install
 
[[Image:Xming install6.jpg]]  
 
*Uncheck "Launch Xming". Click finish
 
[[Image:Xming install7.jpg]]
 
=== Installing PuTTy  ===
 
*Run "putty-0.60-installer.exe" installer. Follow the screenshots belows
*Click Next
 
[[Image:Putty install1.jpg]]
 
*Click Next
 
[[Image:Putty install2.jpg]]  
 
*Click Next
 
[[Image:Putty install3.jpg]]
 
*Click Next
 
[[Image:Putty install4.jpg]]
 
*Click Install
 
[[Image:Putty install5.jpg]]
 
*Click Finish
 
[[Image:Putty install6.jpg]]
 
=== 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
*

Latest revision as of 15:01, 18 January 2022

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.

Mac OS X

  • 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

  • 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

  • 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

  • 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)

Linux

  • 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

  • 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