Gnome window manager behaves slowly if I am not connected to any LAN

Asked by TDN

I noticed that if I am not connected to any LAN, the window manager is very slow. Even during startup after the login (when the loading window displays "window manager loading", "panel loading"...), the loading of the window manager is very slow. The effect is that whenever I want to open a new window , it opens after 2-3 minutes. Of course, everything works fine if I am connected to LAN (both WIFI and cabled).

I notice the same behavior also on another laptop (the model and the brand are different) with the same distro (Ubuntu 6.10 - Edgy Eft ).

Question information

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

I don't know if this is the case but there is a know issue with loopback interface with Ubuntu 6.10 and 7.04.
Your /etc/hosts is probably like this
127.0.0.1 localhost
127.0.1.1 your_machine
Where "your_machine" is the name of your machine.
Some programs are not prepared to have the IP of your local machine as 127.0.1.1 so you should edit your hosts file to look like this:
127.0.0.1 localhost your_machine
127.0.1.1 your_machine

Revision history for this message
TDN (t-dinoia) said :
#2

I doesn't work yet.
In case it may help, if I use KDE (I have both desktop manager installed) the problem disappears.

Revision history for this message
Best Adilson Oliveira (agoliveira) said :
#3

Nautilus is one of the programs affected by the condition I explained above so would make sense if it have worked for you. Apart that, I can't say more, sorry.

Revision history for this message
TDN (t-dinoia) said :
#4

I got it!
Sorry, you were right. Just a little clarification:

my /etc/host was:

127.0.0.1 localhost
127.0.1.1 hostname.domain

so I modified the file with

127.0.0.1 localhost hostname.domain
127.0.1.1 hostname.domain

and it didn't work yet. The solve the problem I rewrite it with without domain information:

127.0.0.1 localhost hostname
127.0.1.1 hostname

and now it works!
Thank you very much for your support.