--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: xbase: localhost appears in xchooser
- From: Joey Hess <joey@kite.ml.org>
- Date: 15 Oct 1997 05:39:27 -0000
- Message-id: <19971015053927.3686.qmail@kite.ml.org>
Package: xbase
Version: 3.3-7
By default, /etc/init.d/network sets up routing for localhost as follows:
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
This of course sets up routing for the whole 127.0.0.0 network. Now, when
xchooser pops up becuase you run X -indirect somehost, you see on the
chooser something that is hard to understand. For example, here I get these
choices:
kite.ml.org
localhost
Since I actually ran X -indirect kite.ml.org from a different computer, it
seems natural to assume that localhost refers to the computer I started X
on. Of course, it really doesn't, it referes to kite.ml.org, where the
chooser is running. This can be confusing.
I wonder if 127.0.0.0 could be ignored when xdm is sending out its
broadcasts (or whatever it does) to find out what hosts on the network are
running xdm.
An alternate solution to this problem (and what I've done for now) is to
just change the second line of /etc/init.d network to:
route add 127.0.0.1
This works ok, localhost no longer appears, but this is not the default
configuration.
-- System Information
Debian Release: 1.3
Kernel Version: Linux kite 2.0.29 #1 Fri Sep 12 19:55:38 EDT 1997 i586 unknown
Versions of the packages xbase depends on:
cpp Version: 2.7.2.3-2
libc6 Version: 2.0.5c-0.1
ncurses3.4 Version: 1.9.9g-5
xlib6g Version: 3.3-7
--- End Message ---