Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2012 18:58:25 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Xorg listening on the WAN?
Message-ID:  <jsacch$7pe$1@dough.gmane.org>

next in thread | raw e-mail | index | archive | help
FreeBSD 9.0-RELEASE

I think Xorg is listening on external addresses:

$ sockstat -46 |grep Xorg
root     Xorg       1573  1  tcp6   *:6000                *:*
root     Xorg       1573  3  tcp4   *:6000                *:*
$ netstat -a|grep x11
tcp4       0      0 *.x11                  *.*                    LISTEN
tcp6       0      0 *.x11                  *.*                    LISTEN

I'm new to FreeBSD, but if I interpret this correctly, x11 is listening 
for connections on port 6000 for connections from any IPv4 or IPv6 
address.

I don't think I'm in any immediate danger, as I am behind a router which 
will block incoming connection attempts, which (virtually) all seem to be 
on the http port (80) anyway.

But it would give me a warm fuzzy feeling to stop x11 listening 
externally at all - I don't think I need it. How can I go about that 
please?

In case it makes a difference, I am using XDM with standard LXDE. I do 
not use startx to initiate my sessions.

Thanks.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jsacch$7pe$1>