Remote Access
Goal
You might want to use our pool infrastructure - which means any pool client c001 to c048 - from a remote location, for example from home. This is totally fine!
Strategy
Currently (end of 2015) there are exactly two systems reachable from the outside world: ((Since Summer 2016 you might use Shell alternatively))
- login.informatik.uni-goettingen.de
- usable only by staff members with Gwdg-Account
The login server login.informatik.uni-goettingen.de is meant to be used as a gateway from the outside world to the pool - basically to any computer c001 to c048.
This gateway approach is necessary as the pool computers have local, non-routeable IP-addresses like 172.27.x.y.
For accomplishing access to a pool machine you need to "hop" forward one time. On login you'll see a list of currently running computers. E.g.:
System load of less used clients: c011 up 16:01, 0 users, load 0.00, 0.01, 0.05 c018 up 15:46, 0 users, load 0.00, 0.01, 0.05
Simply jump to any of them. "ssh c011" would work in this example.
Hint: If you know the target machine already you might combine these two separate into a single one --> Remote Access/Single Command
Usually the computers in the pool shutdown itself when nobody is logged in. To supply some computers to the above user several pool computers are running continuously to be reachable for this specific use case. This is: c031..c036 which can be found in the first row in room -1.101. These computers are usable locally also without limitation. If they are in use in the very moment when you login remotely they may not be listed as available because of this very fact.
Please note that these clients reboot automatically early in the morning to clean up things - but only if nobody is logged in...
System resources are limited: login.stud.informatik.uni-goettingen.de is a shared source in more intense way than those pool computers are. There is only one single login.stud.
It is considered unfriendly behavior to stress a shared resource in such a manner that other users can not work anymore.
One usual trigger element for this kind or problems is Java.
- Sometimes it crashes and does not clean up the allocated memory nor CPU resources. Just a very few Java processes hanging in the background can render login.stud unusable - it has to get restarted with a hard reset. (Of course other languages allow generating the same problem, but we see Java most of the time...)
- when you use Eclipse you might start background processes. Make sure to stop all of them...
Killing a problematic process
If you have the suspicion that you have produced such bad background processes do the following:
First get a terminal with top running
- inside the working Desktop Environment: use a normal GUI-Terminal window to start top. How to do this depends on the Desktop Environment used. Usually there is a way to enter a command. Simply run top
Alternatively go to a "classic" physical console. This does also work very often if the GUI is not usable for some reason.
- log off (if possible)
- go to a normal console - press CTRL-ALT-F2 (or F1/F3/F4/F5/F6)
- login
- run top
In that Terminal:
- use top to examine the running processes. For example look for "java" in the "command" column
- note that the first column shows the process number
- the single letter "k" (for "kill") will ask you for a process number to be killed. The second prompt will ask for the specific signal to send. The default offered is "15/sigterm", try this first (by simple pressing Enter. If this is not sufficient do the same again and enter "9" which stands for "sigkill".
Help for top:
- press question mark ? while running top
- read the man page (man top) for detailed description
- If top top fails: kill everything
Only if you are sure that you are the only user on this physical machine: simple turn it off. This is acceptable because the Operating System is not stored locally but the machine performs remote boot. No files on disk can be damaged by a forced power cycle.
Problems with X forwarding
tbw
See also
- Shell -- instead of "login."
- Remote Access/Single Command
- PuTTY
- FAQ
- Xming