| Nevis Linux Cluster FAQ |
The answers to many Frequently Asked Questions about the
Nevis Linux cluster. It covers subjects not addressed by the other
Linux cluster
pages.
If you're looking for answers to questions about mail, try the main Nevis mail page. For questions about printers and printing, try the Nevis printing page. Index:
This page can always be revised with the answer to your questions. If you have a question, contact Bill Seligman. |
| Graphics mode |
Some of the Linux cluster machines display a plain-text login screen, instead of a graphical user interface. You can login easily enough, but how to start up the graphics?
The answer: type startx; if you're a bit more confident with X issues, you can use xinit.
Incidentally, the reason why some older systems do not initially have a graphical login screen is that, in the early days of the Redhat Linux distribution (versions 8 and earlier), it was by no means certain that the operating system would be compatible with the graphics card in the computer. It was much easier to configure the system with a text-based login, so that if any graphics problems developed, they could be debugged. Nowadays this is not as much of an issue, and I tend to enable the graphical login screens with current versions of Fedora Core.
By the way, if you're reading this on a text-based system, you must know how to use a text-based web browser such as lynx, links, or elinks. Good for you!
| Speed issues |
| The "setup" command |
..or..
I'm told that the variable ${NevisAppBase} points to the application directory. But when I try to use it, it doesn't have a value.
Some things to check:
The solution is to add the -l option to the shell invocation in the first line of your script; e.g., change
Be careful! If your login setup scripts do things that you don't want done in your batch scripts, use the -t 1 test to see if you're in an interactive environment; see the section on the less command below for more information.
| Using ssh or sftp without typing a password |
This guide contains the information you need.
A passphrase would protect you if the files in your ~/.ssh directory were stolen. Without your passphrase, the contents of ~/.ssh/identity or ~/.ssh/id-rsa are useless. If you use your computer in an environment where it's reasonable to assume, for example, that strangers would use your unguarded terminal to copy your files while you walked away for lunch, then passphrases are good idea.
However, they are also cumbersome to use; ssh and sftp need your passphrase every time you use your private ssh key. If you want to create an automated job to transfer files via ssh (with rsync. for example) the use of a passphrase can make things complicated. To some extent, you can simply the use of passphrases via the program ssh-agent.
Another possiblity is to just hit RETURN when ssh-keygen prompts you for a passphrase. This is the most convenient setup, but not necessarily the most secure; remember the "wandering stranger" example above. Also, although the contents of ~/.ssh are protected from casual viewers, they are not protected from system administrators, and (at least in theory) can be copied from the backup disks.
So the decision to use passphrases boils down to: How paranoid do you wish to be?
| Connecting to Linux from a Windows machine |
You need two things:
There are a number of programs that can do this. Most of them cost money. At Nevis, we have a site license for two programs, Exceed 7.0 (an X-windows emulator) and SecureCRT (a terminal program with SSH); instead of the latter, many people prefer Putty, which is available for free.
Here's how to set up the connection with those two programs:
Fortunately, this is a one-time-only setup; hopefully you won't have to do this again. In the future, just start Exceed, then start SecureCRT. Any new sessions you create in SecureCRT will be able to display X-windows using Exceed.
If you're using Putty instead of SecureCRT, look through the Connection options; you must turn on "X11 Forwarding".
If you created and saved any sessions with SecureCRT before you changed the X11 forwarding, those sessions probably still have X11 forwarding turned off.
Under the "Options" menu, select "Session options". Turn on X11 port forwarding as in the above instructions. Then select select "Save settings" from the "Options" menu. Log off, quit SecureCRT, then start it again.
| Transferring files between Linux and Windows machines |
Only in the most extreme cases. It is much secure for you to install SSH or SCP on your Windows system.
Two popular options are:
There is a Linux SMB server named tango.nevis.columbia.edu that acts a central file server for the Windows systems at Nevis. Contact a systems amdministrator if you need to have files shared on this server.
| Java web-browser plugin |
The command setup java only sets up a version of Sun's Java Development Kit; it doesn't have anything to with your web browser. The instructions for installing the plug-in generally won't work properly unless you have administrator access to your Linux system; even then, there's one crucial step that a lot of people forget. (Let's be honest: it's a step that I always forget.)
That step is to create a link in your browser's plug-ins directory. In most cases, you don't actually have to install or use setup or anything else, other than the following commands:
Note that these instructions only work for Mozilla-style browsers (Firefox, Mozilla, Seamonkey, Netscape, etc.). If you're running a more exotic browser, you'll have to search Sun's web site for specific instructions.
| The "less" command |
If the .cshrc, .profile, or any other shell start-up file in your home directory prints any text, less will display that text instead of your file.
To get rid of this behavior, test to see if you can write to standard output before you actually print anything. For example, assume you're using tcsh shell, and you've put the following statements in your .cshrc file:
In RedHat Linux, less has a facility to display other types of files in addition to plain text. For example, if you type:
| Kerberos |
See this page.
| AFS |
Ask a systems amdministrator to install the AFS client software on your machine. See the Nevis AFS page for more information.
to the Nevis Computing Page.
to the Nevis Home Page.
Send any comments or questions to the
webmaster.