Sending Graphics from Karst, Mason and Big Red II

Although it is possible to interact with the image processing software on Karst simply using a terminal window and the command line, the computing experience is much more informative and richer if various graphical tools are also available. X org logoIf you connect to Karst from a unix/linux machine, there should not be a problem with displaying any sort of graphics on your local machine. To make some of the rest of this page clearer, in computer speak, the local machine is often referred to as a client machine while Karst acts as the server.

Graphics on Karst are all handled by something called X11 and the way to make your client machine display graphics from Karst is to make certain that your client understands the X11 protocols. This can be done in a variety of ways that are dependent on the client machine used to connect to Karst. Virtually all unix/linux machines display graphics on their own monitors using X11 and there is generally nothing to do in order to display graphics from Karst on a unix/linux client.

If you are using a Macintosh as the client, you will need to do a couple of things in order to display graphics from Karst:

  1. start the X11 Application on your Mac

    This application may be listed as X11.app or XQuartz and should be part of the standard operating system on all Macs. If it is not in the Applications list, download it from Apple. You will need to run this application whenever you want to use graphical tools on Karst. It is also important to remember to start this application before you open a terminal window to Karst.

  2. connect to Karst by typing "ssh -X user_name@karst.uits.iu.edu" on the command line

    The "-X" command line argument tells ssh to send graphics through the ssh connection. Be certain that you use a capitol X since the "-x" argument does something completely different!

If you are using any sort of Windows machine as the client, you will need to do different things, including obtaining an X server for your Windows machine. Here are the steps needed to transfer graphics between Karst and your client machine:

  1. obtain and install an X server

    When Karst sends graphics to your client machine, there must be an X server running locally to interpret the graphics. There are many different ways to do this using Windows software, cygwin iconand it is possible that your Windows machine will already have an X server. For example, if you are running cygwin, there is likely to be an X server already installed. It may also be the case thatExceed logo  you are running Hummingbird's Exceed (available in some departments through IUware Online). In these cases, you will need to remember step 3: start the X server whenever you want to use graphical tools on Karst.

    If you do not already have an X server, a Xming logo free product called Xming is available for download. This fully functional X server will handle most of the graphics that Karst will send to your client machine and is a very good solution to this problem.

  2. configure the ssh software to transfer graphics through the ssh connection

    starting PuTTYThis will again depend on your ssh software. The following description applies specifically to PuTTY (also available through IUware Online), but the configuration of other ssh software such as SSH Secure Shell Client or SSH Tectia will be quite similar.

    Start PuTTY and either edit your existing saved session for Karst or create a new one (as shown to the right). Before PuTTY - tunnel X11loading or saving this connection, highlight the word "X11" by following the Connection -> SSH -> X11 path in the left-hand panel of the PuTTY Configuration window. This will display a new panel on the right-hand side of the window.

    Check the "Enable X11 forwarding" check box (as shown at the left). You should not need to supply an "X display location," change the default authentication protocol or deal with any of the other options dealing with SSH and/or the Connection components. Finally, return to the Session menu and save (or resave) the modified session information.

  3. start the local X server

    This is usually as simple as clicking on an Xming or Exceed shortcut. You should not need to configure the local X server.

  4. connect to Karst using the software you configured in step 2

If there are questions about this, please contact the staff.