b5a6 how do I stop gnome-session listening to tcp socket - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Window Managers > GNOME

GNOME The GNOME desktop environment

Reply
 
Thread Tools Display Modes
  #1  
Old March 15th, 2012, 11:31
maudib maudib is offline
Junior Member
 
Join Date: Jun 2011
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Last edited by DutchDaemon; March 15th, 2012 at 13:31.
Reply With Quote
  #2  
Old March 15th, 2012, 12:16
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

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).
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old March 16th, 2012, 19:13
maudib maudib is offline
Junior Member
 
Join Date: Jun 2011
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Last edited by maudib; March 19th, 2012 at 03:30.
Reply With Quote
  #4  
Old July 17th, 2012, 15:09
rdlfree rdlfree is offline
Junior Member
 
Join Date: Jun 2012
Location: US
Posts: 26
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Maybe it is related to:

There is a known BUG in gnome-clock-applet see https://bugzilla.redhat.com/show_bug.cgi?id=669907. It causes unwanted http connections and even to unwanted interesting IPs?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Switching between tty session and gnome? Johnny2Bad GNOME 8 July 28th, 2011 11:00
openbox + gnome-session? bbzz GNOME 0 April 25th, 2011 16:55
[Solved] TCP Socket Programming in FreeBSD rRchandraKmpati Userland Programming & Scripting 5 February 15th, 2011 19:17
gnome-session question doughy X.Org 2 November 12th, 2010 09:08
kevent behavior with TCP socket den_b Userland Programming & Scripting 1 August 8th, 2009 09:40


All times are GMT +1. The time now is 01:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0