Greetings:
We need a method of learning the ip address of the client in a telnet
session to a Win2k Server SP3 host; the information will be used in
the user's ~/.profile to set the DISPLAY variable prior to starting
an X session.
On Unix one may use 'lsof' (if available) and grep on the shell
Any reason you can't grep the output of tlntadmn to get what you need?
By the way, when I run tlntadmn /? I get:
C:\Documents and Settings\haroldtlntadmn /?
Usage: tlntadmn [computer name] [common_options] start | stop | pause |
continue
| -s | -k | -m | config config_options
Thanks for your reply.
Harold L Hunt II wrote:
Any reason you can't grep the output of tlntadmn to get what you need?
By the way, when I run tlntadmn /? I get:
snip
When I run tlntadmn /? I get a hung command shell which eventually times
out;
only running without args seems to work...
Michael,
When I run tlntadmn /? I get a hung command shell which eventually times
out;
only running without args seems to work...
You are right, on Windows 2000 I get an error about needing
administrative priveleges even though I am logged in as Administrator :)
Oh well, if you are going to
Harold L Hunt II wrote:
Is there any reason you are using telnet server instead of sshd under
Cygwin?
The X-terminals to be supported don't du ssh; also the intent here
is to provide a nearly seamless login requiring only the
user to enter uid and passwd to get a session, which in
this