Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2016 12:44:18 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Chris H <bsd-lists@bsdforge.com>
Cc:        FreeBSD STABLE <freebsd-stable@freebsd.org>
Subject:   Re: Why must X open TCP by default?
Message-ID:  <CAOjFWZ4q=AKxuA_RH_KCGz4wrTTcMr%2B_VVjYxbZ6ayQTN1pfxQ@mail.gmail.com>
In-Reply-To: <e703d257971642a10c95ef53dc9ea4f4@ultimatedns.net>
References:  <e703d257971642a10c95ef53dc9ea4f4@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 2, 2016 at 12:40 PM, Chris H <bsd-lists@bsdforge.com> wrote:

> Hello,
>  This is regarding 9-STABLE. All of the 9-STABLE boxes
> that have Xorg installed, and running on them, insist on
> opening TCP port 6000; as reported by sockstat(1)
>
> Xorg       1295  1  tcp6   *:6000                *:*
> Xorg       1295  3  tcp4   *:6000                *:*
>
> I see that the (current(ish)) documentation indicates
> that this option is off, by default, and can be enabled
> by passing -listen_tcp to startx(1). This seems to hold
> true, as all of my -CURRENT boxes do not show port 6000
> as being open while X is running. So my question is;
> how can I prevent X from opening tcp ports?
> I attempted;
> startx -nolisten tcp
>

=E2=80=8BDoes the following work (note the extra -- in the command)?=E2=80=
=8B

=E2=80=8Bstartx -- -nolisten tcp=E2=80=8B



--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ4q=AKxuA_RH_KCGz4wrTTcMr%2B_VVjYxbZ6ayQTN1pfxQ>