Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 12:12:22 -0700
From:      Jon Drews <jon.drews@gmail.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Why does Xfce 4.2 have to query a DNS ?
Message-ID:  <8cb27cbf05031211126ca5f67d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
FreeBSD 5.3-STABLE #0: Mon Jan 31 04:37:33 MST 2005
xorg-6.8.1
xfce-4.2.0
installed from ports w/ gcc version 3.4.2 [FreeBSD] 20040728

Hi:

 I notice that if I start xfce and then dial out using ppp, then it
takes quite a while for an Xterm to open. I did a netstat -n -f inet, 
while I was waiting for the Xtrem to open and I saw this:

Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
udp4       0      0  12.73.168.202.53478    12.102.240.2.53 

I then did a sockstat -4 and I see this:
$ sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
xfce     xfce4-sess 1011  15 udp4   12.73.173.233:62336   12.102.240.2:53
root     syslogd    273   6  udp4   *:514                 *:*

So it looks like xfce4-session is trying to find a domain name server?
I say that because /etc/services says that port 53 is for DNS.

I then looked in the code for xfce4-session-4.2.0/xfce4-session and
saw a progam entitled  xfsm-dns.c which had this in it:

  void
xfsm_dns_check (void)
 <SNIP>

  My question is why should a desktop have to check for a dns ? I may
have misidentified the problem. However I am curious as to why it
takes almost 2 minutes for the Xterm to open., when I am dialed out on
a modem.

NOTE: If I first dial out form a shell account (I am using useralnd
ppp) and then login again and  start X, the xterms open quickly. The
slow Xterm opening only happens if I do startx first and then run
userland ppp.


                                                         Kind regards,
                                                         Jon



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