Date: Thu, 22 Aug 2002 08:01:09 -0500 From: Eric Anderson <anderson@centtech.com> To: freebsd-doc@freebsd.org Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx Message-ID: <3D64E095.6050001@centtech.com> References: <200208221240.g7MCe7eB007052@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Please look over (and let me know where I may have biffed some SGML stuff) the
following patch to the FAQ for the -nolisten tcp option:
--- book.sgml Wed Aug 21 17:13:17 2002
+++ book.sgml-patch Thu Aug 22 07:59:09 2002
@@ -12377,6 +12377,22 @@
</qandaentry>
<qandaentry>
+ <question id="nolistentcp">
+ <para>Why don't remote X displays work anymore?</para>
+ </question>
+
+ <answer>
+ <para>In more recent versions of FreeBSD (4.6 and greater), the
+ default options to XFree86 now include a security enhancement
+ which does not allow remote X displays.</para>
+
+ <para>If you would like to change this functionality, you can, by
+ simply using the <quote>-listen_tcp</quote> option with startx
+ (&man.startx.1).</para>
+ </answer>
+ </qandaentry>
+
+ <qandaentry>
<question id="change-kernel-address-space">
<para>How can I increase or reduce the kernel address space?</para>
</question>
Eric Anderson wrote:
> The following reply was made to PR docs/41865; it has been noted by GNATS.
>
> From: Eric Anderson <anderson@centtech.com>
> To: Marc Fonvieille <blackend@freebsd.org>
> Cc: freebsd-gnats-submit@freebsd.org
> Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx
> Date: Thu, 22 Aug 2002 07:38:54 -0500
>
> The FAQ seems like an appropriate place, and I agree with the "don't edit files
> installed by ports/packages" for the most part. It definitely needs to be
> documented somewhere, since there are posts on various groups asking the
> question, and rarely an answer.
>
> I'll try to whip up a FAQ piece for it.
>
> Eric
>
> Marc Fonvieille wrote:
>
> >>--- chapter.sgml Wed Aug 21 17:13:25 2002
> >>+++ chapter.sgml-patch Wed Aug 21 17:24:43 2002
> >>@@ -491,6 +491,17 @@
> >> <application>XFree86 4.X</application> can also be started with
> >> &man.xdm.1;.</para>
> >>
> >>+ <para>In order for you to use remotely executed X-Windows programs
> >>+ such as an <application>xterm</application>, you will most likely
> >>+ need to change the <filename>/usr/X11R6/bin/startx</filename> X11
> >>+ startup script and change the line:</para>
> >>+
> >>+ <programlisting>listen_tcp="-nolisten tcp"</programlisting>
> >>+
> >>+ <para>to:</para>
> >>+
> >>+ <programlisting>listen_tcp=""</programlisting>
> >>+
> >>
> >
> > It's not a good thing to tell people to change files installed by
> > ports/packages, it will lead to problems during "desinstallation" and/or
> > upgrade.
> >
> > That option can be given to startx on the command line as documented in
> > startx(1).
> >
> > I don't think, it should be in the Handbook, but maybe in the FAQ, and
> > also something about using "ssh -X" too would be great :)
> >
> > Marc
> >
>
>
> --
> ------------------------------------------------------------------
> Eric Anderson Systems Administrator Centaur Technology
> The moon may be smaller than Earth, but it's further away.
> ------------------------------------------------------------------
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-doc" in the body of the message
>
--
------------------------------------------------------------------
Eric Anderson Systems Administrator Centaur Technology
The moon may be smaller than Earth, but it's further away.
------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D64E095.6050001>
