Gentoo Forums
Gentoo Forums
Quick Search: in
opening a new window causes gnome-session to connect to LAN
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 90
Location: London

PostPosted: Sun Feb 11, 2007 10:39 am    Post subject: opening a new window causes gnome-session to connect to LAN Reply with quote

I noticed that x is taking a very long time to open new windows (20s for gedit) but performance is otherwise ok. I also noticed that the problem goes away if eth0 is down. Running netstat --ip -cp while opening a new window shows that it is connecting to my router/gateway/nameserver:

Code:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
udp        0      0 192.168.0.50:32853      192.168.0.100:domain    ESTABLISHED 31407/gnome-session


There are no network connections before I click the launcher or after the window has opened. It also takes longer (it updates every second while I am not opening a window but takes 20s or so if I am).

I get a warning in the output from x if I run xinit or startx from the commandline:

Code:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/pegasus2:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux pegasus2 2.6.18-gentoo-r6 #2 SMP Sat Feb 10 11:51:34 GMT 2007 x86_64
Build Date: 05 February 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 11 10:02:33 2007
(==) Using config file: "/etc/X11/xorg.conf"
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+us" };
    xkb_geometry             { include "pc(pc105)" };
SESSION_MANAGER=local/pegasus2:/tmp/.ICE-unix/31407

** (gnome-session:31407): WARNING **: Host name lookup failure on localhost.


I am not sure if the messages at the top are relevent. I think that the last one is.

nslookup localhost seems to work and does not open connections to the outside world. Output is:

Code:

Server:         192.168.0.100
Address:        192.168.0.100#53

Non-authoritative answer:
Name:   localhost
Address: 127.0.0.1


my /etc/hosts file contains the localhost line:

Code:

127.0.0.1       localhost
::1             localhost


Anybody have any idea what might be wrong?
Back to top
View user's profile Send private message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 90
Location: London

PostPosted: Tue Feb 13, 2007 9:59 pm    Post subject: Reply with quote

adding

Code:

127.0.0.1      <my_hostname>


to /etc/hosts fixed it.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum