Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christian G. Warden <cwarden@loop.com>
Subject: Re: X not starting
Date: Sun, 1 Dec 1996 12:26:14 +0000 (GMT)	[thread overview]
Message-ID: <bd7265386accc4159acd672699302b54.axp-list@archive.invalid> (raw)
In-Reply-To: <199612010307.TAA00294@gerbil.aod.com>

On Sat, 30 Nov 1996, bruce a. campbell wrote:

> > I entered a nameserver address in /etc/resolv.conf and a route to it.  But
> > when this nameserver is not reachable (e.g. down), my X server won't start
> > (it terminates immediately after initializing the screen). 
> > 
> > If I remove the route entry, everything is fine.
> > 
> > Removing the X server authorization didn't help; neither did I get any 
> > hints by reading the xdm-errors file.
> > 
> > What is the X server trying to look up?
> 
> The server is trying to look up your local hostname by way of DNS. Not finding 
> it, it barfs. The next question is why does it not find it in the local 
> /etc/hosts?  It appears that even when everything is set up right, 
> (/etc/host.conf is setup to say "order hosts,bind\nmulti on"), the resolver 
> does not seem to be looking at /etc/hosts.  It this a bug or a feature? 
> 
> Anyway, since the resolver is ignoring /etc/hosts, you go to your nameserver 
> and get a "not found".  The work arounds possible are :
> 
>    1. Add your host name and localhost to your nameservers map. 
> 
>    2. Add your IP address and 127.0.0.1 to /etc/X0.hosts. This way the X server
>       will know someone to talk to, and possibly not give up on life.
> 
>    3. Name /etc/resolv.conf to /etc/resolv.conf.good and only set a symbolic
>       link to it when you need DNS, after the X server has started.
> 
> 

check /etc/nsswitch.conf and make sure you have a line

hosts:      files dns

xn

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1996-12-01 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199612010307.TAA00294@gerbil.aod.com>
1996-12-01 12:26 ` Christian G. Warden [this message]
1996-12-01 20:20 ` X not starting Fritz Ganter
     [not found] <199612020351.TAA01165@gerbil.aod.com>
1996-12-02 23:10 ` Ville Steudle
1996-12-02  3:51 bruce a. campbell
     [not found] <Pine.LNX.3.95.961201211906.2273D-100000@rebekka.tu-graz.ac.at>
1996-12-01 20:47 ` Ville Steudle
  -- strict thread matches above, loose matches on Subject: below --
1996-12-01 20:32 bruce a. campbell
1996-12-01  3:07 bruce a. campbell
     [not found] <Pine.LNX.3.91.961130163607.9699A-100000@finland.hb.north.de>
1996-11-30 20:18 ` Fritz Ganter
1996-11-30 15:41 Ville Steudle
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox