Date: Mon, 14 Mar 2005 02:06:48 -0700 From: Jon Drews <jon.drews@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: Why does Xfce 4.2 have to query a DNS ? Message-ID: <8cb27cbf050314010624b962fb@mail.gmail.com> In-Reply-To: <d13itj$a5s$1@sea.gmane.org> References: <8cb27cbf05031211126ca5f67d@mail.gmail.com> <d13itj$a5s$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005 08:44:35 +0000 (UTC), Volker Stolz <vs@freebsd.org> wrote: > * Jon Drews <jon.drews@gmail.com>: > > 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. > > You should probably raise this issue with the original xfce-authors > (mailinglists?). We're just the packagers after all. Hi Volker: I did write them and the developer responded. Here is what he said: "xfsm-dns.c contains safety checks that are executed on session start." "The problem is Xterm itself - the client part of libICE, to be exact. Did you disable "Manage remote applications" in Settings -> Session and Startup -> Advanced? (xfce4-session needs to be restarted afterwards)" Well, I don't think that is the case as Xterm opens really fast here on the Rox desktop. In every instance that there is a slow down, I see the xfce-session in the sockstat output. So Xfce is trying to query comething on port 53. As for the disable "Manage remote applications", it is disabled. This was a really nice desktop, too bad it's screwed up now. First Xffm got botched and now it has this feature that does not work. I mean this code from xfsm-dns.c certainly seems like the culprit: static gboolean check_for_dns (void) { #ifdef HAVE_GETADDRINFO struct addrinfo *result = NULL; struct addrinfo hints; #endif char buffer[256]; gchar *hostname; hostname = queryhostname (buffer, 256, FALSE); if (hostname == NULL) return FALSE; #ifdef HAVE_GETADDRINFO bzero (&hints, sizeof (hints)); hints.ai_socktype = SOCK_STREAM; hints.ai_flags = AI_CANONNAME; if (getaddrinfo (hostname, NULL, &hints, &result) != 0) return FALSE; if (g_ascii_strncasecmp (result->ai_canonname, hostname, 0) != 0) return FALSE; #else #ifdef HAVE_GETHOSTBYNAME if (gethostbyname (hostname) == NULL) { return FALSE; } #endif #endif Kind regards, Jonathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb27cbf050314010624b962fb>