how do I stop gnome-session listening to tcp socket

Hi there,

gnome-session is showing up in the output of:
Code:
netstat -a
How do I change the behaviour of gnome-session so that it is not listening on a TCP port? I googled this but only found something on gdm. I tried reconfiguring that but it didn't help.

Thank you very much for any help
 
I can't remember it ever listening on a network socket. Can you post the output of what you think shows this?

You may also want to use sockstat(1).
 
Here are the relevant outputs from netstat and lsof.
Code:
netstat -a:
tcp4       0      0 *.56726                *.*                    LISTEN
tcp6       0      0 *.36618                *.*                    LISTEN
and...
Code:
lsof -i:36618
COMMAND    PID USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
gnome-ses 1807  dave    7u  IPv6 0xc4e6f278      0t0  TCP *:36618 (LISTEN)
gnome-ses 1807  dave   7u  IPv6 0xc4e6f278      0t0  TCP *:36618 (LISTEN)
gnome-ses 1807  dave    7u  IPv6 0xc4e6f278      0t0  TCP *:36618 (LISTEN)
 lsof -i:56726
COMMAND    PID USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
gnome-ses 1807  dave   8u  IPv4 0xc4e6f000      0t0  TCP *:56726 (LISTEN)
gnome-ses 1807  dave    8u  IPv4 0xc4e6f000      0t0  TCP *:56726 (LISTEN)
gnome-ses 1807  dave    8u  IPv4 0xc4e6f000      0t0  TCP *:56726 (LISTEN)
I haven't done any special set up with gnome. I just installed it with pkg_add. Yes I can't really find how to turn it off, but would very much like to.

Thanks very much for any replies.
 
Back
Top