Subject: pkg/20343: netscape for OSF can't resolve localhost
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/14/2003 09:49:18
>Synopsis: netscape for OSF can't resolve localhost
>Arrival-Date: Fri Feb 14 09:50:01 PST 2003
>Originator: Pavel Cahyna
NetBSD omega 1.6_STABLE NetBSD 1.6_STABLE (GENERIC) #0: Fri Nov 22 12:41:51 MET 2002 bouyer@java:/home/tmp/alpha/obj/sys/arch/alpha/compile/GENERIC alpha
If I ssh to an alpha machine and try to run Netscape (OSF binary)
with X11 forwarded over ssh, I get only the following error:
Error: Can't open display: localhost:10.0
(the environment variable DISPLAY is actually set to localhost:10.0 and
native X11 programs work with that)
If localhost is replaced by 127.0.0.1 in the DISPLAY variable, netscape
The resolution of localhost is probably confused by this line in
If this line is commented out, netscape starts OK.
It's sufficient to create the file /emul/osf1/etc/hosts .
It can even be empty.
This should probably be the responsibility of the osf1_lib package.