I'm trying to write a script that will set your DISPLAY in a remote session.
However, I could not find a way to run a command (or a set of commands) that will trace back the original machine.
The idea is to trace back the original machine (no meter how many nested "rlogin" there are) and do: setenv DISPLAY <original machine>:view.
I succeeded with one login using the REMOTEHOST variable, but that won't work for nested "rlogin". Does anyone have an idea?
In reply to trace back route in linux by moked
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |