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
(Mac OS X)
(Windows with MobaXterm)
Line 23: Line 23:
 
[[File:Mobaxterm_xserver_1.jpg| 1000px]]
 
[[File:Mobaxterm_xserver_1.jpg| 1000px]]
 
*Type in the following to connect to a remote server
 
*Type in the following to connect to a remote server
<pre>ssh -X yournetid@destination.server.edu
+
<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: biologin.igb.illinois.edu)
 
*'''destination.server.edu''' - the server you would like to connect too (example: biologin.igb.illinois.edu)
 
[[File:Mobaxterm_xserver_2.jpg| 1000px]]
 
[[File:Mobaxterm_xserver_2.jpg| 1000px]]

Revision as of 16:54, 29 November 2021

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]

  • Linux has a Xserver built in.
  • Open a terminal window
  • Type in the following to connect to a remote server
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: 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]