[comp.unix.aux] MacX and A/UX 2.0

shaff@elements.rpal.com (Mike Shaff) (07/27/90)

ciao,

Someone pointed out to me via email (thank-you for not flaming via c.u.aux!)
that I should post a summary giving a solution to the stand-alone A/UX 2.0 w/
MacX when applications were launched locally.  The error I was receiving was:

  "Can not open display Dream:0.0"	(where Dream is my machine)

Sometime later I stumbled onto a temporary solution.  Set the environment
variable DISPLAY to localhost:0.0 with the instruction:

  setenv DISPLAY localhost:0.0

I was at a loss as to what made the 'localhost' name special, but I awaited
some more knowledgeable person to post a long-term solution, before I tracted
down that question.

I received a batch of mail that carried a solution.  The /etc/hosts file must
contain a valid entry for your machine name, further the address must be the
loop-back address.  There seems to be two ways of doing this:

1.  Add your machine name to the end of the line which is the loop-back entry
    (find the line with the words loop and localhost).

2.  Add a new entry with the proper information.  The address should be the
    same as the one found on the loop-back line.

Thanks again to all those who helped me and additionally thanks to the person
who pointed out that the net could benefit from my newly garnered information.

--
	mas

It's either lunacy or lightnin'

peters@apple.apple.com (Steve Peters) (07/31/90)

In article <SHAFF.90Jul26114031@neon.elements.rpal.com> 
shaff@elements.rpal.com (Mike Shaff) writes:
> I should post a summary giving a solution to the stand-alone A/UX 2.0 w/
> MacX when applications were launched locally.
> ...
> The /etc/hosts file must
> contain a valid entry for your machine name, further the address must be 
the
> loop-back address.

By "stand-alone A/UX 2.0" Mr. Shaff here refers to a system which has *no* 
Ethernet card installed. In this case his recommendation concerning 
/etc/hosts is correct.

Steve Peters
X Project Leader
Apple Computer, Inc.