[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XDM, dynamic IP, and remote X (fwd)



On May 22,  5:32pm, root wrote:
> Subject: XDM, dynamic IP, and remote X (fwd)
>
>
> ---------- Forwarded message ----------
> Date: Fri, 22 May 1998 16:59:14 -0400
> From: mike <troll@net-link.net>

> I can run remote xapps using the startx command, but some other sorcery
> is necessary from xdm. An .rhosts file in the remote /home/user should
> do the trick, but it would have to be rewritten everytime I get
> disconnected, and that seems like quite a feat, apparently it must be in
> existence when I login.
> Anyone know of a workaround to this ????
>

One solution is to rig soem Dynamic DNS scheme and just put your hostname in
the .rhosts file permenently,  and when you reconnect just send your IP address
to the Dynamic DNS server.  Then you name and IP address will be kept in sync
and that host will happily let you in.

I don't know what level of access you have to the remote host (their obviously
letting you run X apps).  I have the home directory structure NFS mounted to
all my clients and as parts of the .Xstartup script it writes the hostname into
the .rhosts file so they can starts apps and rsh to all the servers with having
to login again.  (Management has given us a ONE login mandate).

Or else have you thought of using a mail filter on that machine so you can send
your IP address into a .rhosts file via SMTP.  I woukld think yhou would be
able to engineer something like that with procmail.  But of course that won't
work if the mail server is seperate.