Subject: Re: setting DISPLAY
To: Todd Vierling <tv@pobox.com>
From: Brad Salai <bsalai@tmonline.com>
List: netbsd-help
Date: 02/12/1999 14:45:15
>Shouldn't your /etc/hosts file contain "192.168.123.7 sol" instead of
>"sol 192.168.123.7"? Also, are you running NIS, and if so, is your NIS
>hosts map in sync with /etc/hosts? What about /etc/resolv.conf? Are you
>trying to get information from a DNS server instead of /etc/hosts or NIS?
>
>Brian
>
I'm not there, but I just mistyped it from work, the order is ok in /etc/hosts

At 2:24 PM -0500 2/12/99, Todd Vierling wrote:
>On Fri, 12 Feb 1999, Brad Salai wrote:
>
>: Trying to set the DISPLAY enviorment variable on a sparc 1.3.3 box.
>: If I say setenv DISPLAY sol:0.0 it doesn't work. (can't open display)
>: If I use setenv DISPLAY 192.168.123.7:0.0 it works fine.
>: in /etc/hosts, I have sol 192.168.123.7
>:
>: Any ideas why this is?
>
>Check /etc/resolv.conf.  If it has a line "lookup bind", try "lookup file
>bind" to make /etc/hosts come first.
>
>--
>-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)

I'll check these things, but odd thing is I can ping/telnet to sol, only
the display enviorment
variable isn't working.
I'll give it a closer look tonight, thanks for the suggestions.

Brad

Stephen B. Salai                            Phone (716) 325-5553
Cumpston & Shaw                             Fax    (716) 262-3906
Two State Street                            email bsalai@tmonline.com
Rochester, NY 14614