From owner-freebsd-questions Mon Sep 22 12:30:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA11702 for questions-outgoing; Mon, 22 Sep 1997 12:30:23 -0700 (PDT) Received: from horton.iaces.com (proot@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA11692 for ; Mon, 22 Sep 1997 12:30:17 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.5) id OAA18457; Mon, 22 Sep 1997 14:30:14 -0500 (CDT) From: "Paul T. Root" Message-Id: <199709221930.OAA18457@horton.iaces.com> Subject: Re: PPP and X ?!? To: patrick@cre8tivegroup.com (Patrick Gardella) Date: Mon, 22 Sep 1997 14:30:14 -0500 (CDT) Cc: brian@awfulhak.org, questions@FreeBSD.ORG In-Reply-To: from Patrick Gardella at "Sep 22, 97 03:21:00 pm" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In a previous message, Patrick Gardella said: > > > > >I had the opposite problem, but maybe it's the same sort of thing. > >Mine turned out to be the machine was trying to do dns resolution and > >was timing out without the interface up. Is hosts before dns in your > >/etc/host.conf file? A good way to see what's happening is to run tcpdump on > >tun0 while you try to bring up X. Then you can see what's happening on > >the interface. > > > >Also check /etc/X0.hosts. and .xsession.errors in your home directory. > > Hosts is before dns in /etc/host.conf. Ok. Is your name server on the other side of your ppp connection? > xsession-errors does not have anything unusual in it. (I'm missing "rock" > when I use xlockmore.) > > I don't have an /etc/X0.hosts. Should I? Probably not. X0.hosts sets what machines are allowed by default to connect you your Xserver. This was what my problem was. It was trying to resolve a bunch of machines in this file. > For that matter, why does X do a dns resolution when it starts? All it starts > is a xterm and afterstep. Normally, it probably won't. > How can I see a tcpdump when I startx? I type startx, get a screen of text from > XF86Config, and then it freezes. Can't switch consoles, etc. Outta luck. Sorry. Unless you can bring up a terminal on a serial port or telnet in from somewhere else. Maybe, you can set the c option to collect 1000 packets or something and the -r option to send it to a file. And hope it's there after you reboot. > Pat > -- There is only one thing in the world worse than being talked about, and that is not being talked about. Oscar Wilde