[16053] in Athena Bugs
Re: sun4 8.2.8: netscape (infoagents locker)
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Jul 29 17:00:02 1998
To: Anne R LaVin <lavin@MIT.EDU>
Cc: Greg Hudson <ghudson@MIT.EDU>, bugs@MIT.EDU
In-Reply-To: Your message of "Wed, 29 Jul 1998 13:58:44 EDT."
<199807291758.NAA02204@hitsuji.mit.edu>
Date: Wed, 29 Jul 1998 17:00:23 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> I do not do the "xhost +hitsuji" until after my login to hitsuji has
> completed. (This is a possibly silly, but workable, way to avoid
> have multiple zephyrgrams all the time.) So, in fact, my WGFILE
> environment variable isn't set in the shell on hitsuji, but I *am*
> capable of receiving zephyrgrams back at the machine I'm actually
> sitting in front of.
WGFILE isn't set because it's a remote login, and (for reasons I can't
really fathom) it gets set by xlogin. When you run "xhost +hitsuji"
is not really relevant. (Incidentally, you should look into using ssh
to make your X connections are more secure.)
> Might be better if the thing checked the status of zlocate or
> something, rather than checking for that environment variable...
Checking the zlocate status is not very robust either. Better to
check the return status of zwrite and see if it worked. (Even then,
the user could be receiving zephyr notices somewhere they aren't
looking at right then, but there's no way to be sure.)