From owner-freebsd-questions Mon Sep 22 12:24:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA11236 for questions-outgoing; Mon, 22 Sep 1997 12:24:47 -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 MAA11230 for ; Mon, 22 Sep 1997 12:24:39 -0700 (PDT) Received: from [204.255.227.97] by mail.cre8tivegroup.com (SMTPD32-3.04) id A6A4703017C; Mon, 22 Sep 1997 15:27:32 -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: <199709221916.OAA18281@horton.iaces.com> Date: Mon, 22 Sep 1997 15:21:00 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: "Paul T. Root" Subject: Re: PPP and X ?!? Cc: brian@awfulhak.org, questions@FreeBSD.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: >> Here is a strange error... >> >> >> If I go the other way around, starting ppp (dialing out) as I startx, I freez e >> up ppp (which I can then kill and restart). >> >> If I startx, and then start ppp no problem. >> >> Nothing shows up in /var/log/ppp.log, by the way besides the normal messages ] >> (LCP IPCP CCP). >> >> This happened with the standard 2.2.1 release of X and PPP as well. I upgrad ed >> to the latest to see if that would work. >> >> I'm not sure how they are related. Any other pertinent info needed? >> >> Patrick >> >> P.S. This is very easy to prevent, so I am able to work around it. It's jus t >> annoying when I forget ;) >> > > >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. 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? For that matter, why does X do a dns resolution when it starts? All it starts is a xterm and afterstep. 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. Pat