From owner-freebsd-questions Mon Sep 22 12:33:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA12070 for questions-outgoing; Mon, 22 Sep 1997 12:33:55 -0700 (PDT) Received: from mail.cre8tivegroup.com (abt6.bitwise.net [204.97.222.226]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA12062 for ; Mon, 22 Sep 1997 12:33:49 -0700 (PDT) Received: from [204.255.227.97] by mail.cre8tivegroup.com (SMTPD32-3.04) id A8CD1B1020A; Mon, 22 Sep 1997 15:36:45 -0400 Message-ID: X-Mailer: XFMail 1.0 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <199709221930.OAA18457@horton.iaces.com> Date: Mon, 22 Sep 1997 15:32:14 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: "Paul T. Root" Subject: Re: PPP and X ?!? Cc: questions@FreeBSD.ORG, brian@awfulhak.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 22-Sep-97 Paul T. Root wrote: >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? Yes. Its on the ISP. >> 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. Ah. Nope. Don't run an xserver. So we can eliminate that! >> For that matter, why does X do a dns resolution when it starts? All it start s >> 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 f rom >> 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. I'll try that when I can take the system down. That'll be fun, trying to get all three things to happen at one (ppp, tcpdump, startx) Pat