Roger wrote:
>
> Is there any command or script to catch the dynamic ip in a Xserver before
> issuing XDMCP command to login to a remote client? We need the remote ip and
> the local ip for the XDMCP but some of the work stations if connected to
> cable modem or local network do not use static IP. (ipconfig reports the
> hardcoded ip, not the dynamic ip).
>
> If not, is there any command to catch the ip of a login userid from a
> Xserver on the xclient site. the command "netstat -an" will list all the
> connections but have no userid in it.

I think you should not do X without SSH - if you do SSH X11-forwarding
you get the route back for free. Also, if you login with SSH the client
IP address is in one of the environment variables. And 'w' also shows
you the client's IP address (or part of the host name).

Many installations link DHCP to the DNS so that the reverse lookup is
taken care of. I think it should be very well possible to let DHCP also
register the forward lookup in DNS.

Rob

Reply via email to