[259] in RedHat Linux List

home help back first fref pref prev next nref lref last post

howto update HOSTDISPLAY variable once X is started?

daemon@ATHENA.MIT.EDU (Thomas Porter)
Mon Oct 21 18:44:56 1996

Date: Mon, 21 Oct 1996 14:18:40 -0400
To: redhat-list@redhat.com
From: Thomas Porter <txporter@mindspring.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Howdy,

I am trying to use rsh to run xterm on a remote site after I have dialed
into my ISP and gotten a dynamic IP address assigned.  I do the dialup from
within X. My HOSTDISPLAY env variable contains the hostname from my
/etc/hosts file, vasili.rlf.org.

Assuming I can run a script to get my dynamic IP address. like part of
ip-up, is there a way to update the HOSTDISPLAY env variable made available
by X to all processes started under X so that my rsh invocation which makes
reference to $HOSTDISPLAY will be correct?  Is there a way for a script
running from an xterm, or started by a FVWM menu entry to affect the
environment variables made available to _all_ processes started under X?

Thanks,

Tom Porter

PS any ideas on the lack of CD sound posting I submitted a few days ago?





--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post