x-session-mananger/gnome-session connects to DNS-Server BEFORE an application starts

Asked by Julian Kranz

Good Morning,

I've got same strange problem with the x-session-manager/gnome-session. Everytime I start an application, for example gnome-terminal oder nautilus, it first tries to connect so a DNS-Server. Even worse, it waits for the response of the DNS-Server before the application actually starts.

If the DNS is unreachable, it waits for the timeout, at about 30 seconds. If I'm using a slow connection, for example with my mobile as a modem, this is really really annoying.

But, first of all, I really do not like any connection to any server without my permission.

I've recognized that this does not happen if I run the same application as root. I don't know if there's a connection, but in that case this is echoed on the console:
[QUOTE]
 (gedit:6107): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
[/QUOTE]

Do you know how to stop this?

Thank you very much!

Here's what tcpdump says:

[QUOTE]
 11:41:13.215619 IP noname.32776 > speedport.ip.domain: 7794+ A? comp020-adk. (29)
11:41:13.274480 IP speedport.ip.domain > noname.32776: 7794 NXDomain 0/1/0 (104)
11:41:13.390467 arp who-has noname tell speedport.ip
11:41:13.390489 arp reply noname is-at 00:15:00:02:e4:3e (oui Unknown)
11:41:31.018515 IP noname.32776 > speedport.ip.domain: 18197+ A? comp020-adk. (29)
11:41:31.073830 IP speedport.ip.domain > noname.32776: 18197 NXDomain 0/1/0 (104)
[/QUOTE]

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Julian Kranz
Solved:
Last query:
Last reply:
Revision history for this message
Julian Kranz (juliankranz) said :
#1

After further investigation, I found the sultion to the problem:

echo "127.0.0.1 $(hostname)" >>/etc/hosts

Thank you anyway :-)