Making X-windows connections to bioinf.

Note: there are numerous reference below to accessing GCG seqlab. However, we are no longer providing GCG seqlab at UTHSCSA. This document is therefore only relevant for help in accessing other graphics programs implemented on bioinf

X-windows is a standard convention under Unix or Linux operating systems for export of graphics from one computer to another.  This allows running of graphics programs on one computer while using another as the terminal.  The naming of X-windows software is the opposite of most network applications.  In this case the program you run to see the graphics is called a "server",  and the remote computer running the graphics program and supplying the graphics is said to be the "client".  X-windows servers are available for PC and Mac platforms, hence it is possible to run graphics software under Linux on the bioinformatics core facility machine (bioinf), and use your own PC or Mac as the terminal.

Bootable Linux CD option for Windows PC platforms.

Most typically, X-windows connections from a Windows PC are made by implementation of an X-windows server running under Windows (see examples below).  An alternative, which is hoped to simplify the process is under development by the Bioinformatics Core Facility.  A bootable CD is under development that will cause the PC to act as a Linux terminal and completely ignore the Microsoft Windows operating system.  This is an alternative to the sometimes heard alternative of creating a dual boot Windows/Linux system.  With the bootable CD there is no installation, configuration, or any steps affecting the resident hard drive that might alter subsequent function as a Windows computer.  One simply boots the computer from the CD, clicks an icon, and enters username and password information.  As part of this course, we will be asking students to test a prototype of the BCF bootable CDROM in laboratory computers around the department. One known limitation is that the prototype CD requires 128 Mb of RAM to operate.  See Bootable CD assignment.

Establishing an X-windows connection (not using the bootable CD).

Assuming your computer has an X-windows server installed (see below), the simplest circumstance is that by virtue of making your ssh connection to bioinf, the X-windows connection was automatically set up.  When making the ssh connection, you may have to specify ssh -X <host name> to get that behavior.  In putty, the equivalent of the -X option is to click <connections><ssh><tunnels> and check "Enable X11 forwarding".  [The tunneling option appeared in a recent upgrade of Putty.  So if you can not find it by expanding the left Putty menu, you may need to upgrade]. See more help on ssh. After making an ssh connection and logging in to bioinf, type the name of a graphics program (like netscape, or seqlab; seqlab may have special requirements, see below).  If the window pops up on your screen, then there is nothing special you have to do.

If a message like "..cannot open your display." appears then you will need to establish the connection by the following steps:

A third option is that your X-windows server may be able to set up an Xdmcp connection.  In this case, you give the name bioinf.uthscsa.edu to your X-windows server and it establishes the connection for you.  The ability to get an Xdmcp query from one computer to another tends to fluctuate over time because system administrators often create security devices called firewalls that get into the way.  Hence this method is convenient, but not particularly reliable within this university.

Sources of X-windows servers for PCs.

         There is a relatively standard X windows interface for the PC called X-Win32 available for a fee from Starnet (http://www.starnet.com/) for about $125.  There is an X server named MI/X for Macintosh Os9 or less that is free from Microimages (http://www.microimages.com/).  Microimages also sells a windows version for $25.  MacIntosh OsX may or may not have come with an X-windows server installed.  Look for an application called X-darwin or X11, or an icon on the icon bar with a big red X on it.  Otherwise X11 for OsX can be obtained from http://www.apple.com/macosx/x11/, or X-darwin can be obtained for a fee from http://www.xdarwin.org/.

Connection notes for selected X-windows servers.

To set up Xwin32 for GCG:

Running X-windows with an exported graphics desktop.

In some cases, we have found this a necessary step to access GCG seqlab, in particular. Note: GCG seqlab has been discontinued at UTHSCSA

Some special notes using StarNet's Xwin32.

Xwin32 in it's config menu (accessed by starting it out of <start><programs>, or by right clicking on the xwin icon, systemtray symbol, or xwin window banner) allows setting the window to be single, or multiple. Some applications work better in multiple and some better in single. kde has been known to crash or display blank desktops in multiple window mode. When using single window mode, there is an option to click full screen in the config menu. Do not use that. There is no convenient path back to the Microsoft windows desktop once you blot out your screen that way. To escape that situation, you can use <alt><tab> to access another program that is running on the (now invisible) taskbar. Otherwise, all you can do is use <alt><F4> to terminate xwin32 and start over.

In the single windows mode it is best to set an explicit window size approximating your desktop. If by no other means, find this by trial and error. The single window appears with a banner and iconify, and maximize buttons. Also right clicking the banner gives you access to config. For accessing displays larger than your physical screen size, you can set the single window screen size larger than your physical screen size, and then through the banner buttons make it display in scroll bars. This can be a little inconvenient if the program displayed already has scroll bars. Then you get two sets of scroll bars, which is a little clumsy but workable.

Some special tricks through X-windows to bioinf.



Last updated 6/2/2004. - Steve Hardies