Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 1997 15:32:14 -0400 (EDT)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        "Paul T. Root" <proot@horton.iaces.com>
Cc:        questions@FreeBSD.ORG, brian@awfulhak.org
Subject:   Re: PPP and X ?!?
Message-ID:  <XFMail.970922153356.patrick@cre8tivegroup.com>
In-Reply-To: <199709221930.OAA18457@horton.iaces.com>

index | next in thread | previous in thread | raw e-mail


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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970922153356.patrick>