On Wed, Feb 01, 2006, Edward Mozley Roche wrote:
Things have been working fine for several years, but suddenly, my mac
seems to have changed it's "hostname". Its registered name metallic-
hydrogen.com is changed in the x-terminal prompt to metallic-hydrogen-
com See that the .com is changed to -com The effect of this is that
the x-server host [a sun machine] does not recognize the machine when
it attempts to pass back the x-window session.
Is anyone else having this problem?
NB: The reverse DNS is working fine.
As a general rule, it's far easier to use ssh's X11 forwarding
than to deal with xhosts and the $DISPLAY environment variable.