Date: Wed, 21 Aug 2002 15:34:38 -0700 (PDT) From: Eric Anderson <anderson@centtech.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx Message-ID: <200208212234.g7LMYcE9032288@www.freebsd.org>
index | next in thread | raw e-mail
>Number: 41865
>Category: docs
>Synopsis: [PATCH] XFree86 section should document -nolisten tcp option in startx
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 21 15:40:06 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Anderson
>Release: 4.6.2-RELEASE
>Organization:
>Environment:
FreeBSD host.domain.com 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #1: Mon Aug 19 14:15:34 CDT 2002 root@host.domain.com:/usr/obj/usr/src/sys/NEW i386
>Description:
When installing (or upgrading) FreeBSD 4.6 or greater (versions with XFree86 4.x), the startx program has a line "-nolisten tcp" which causes things like opening X apps remotely and displaying them on your local X server to not work.
I couldn't find any docs on this, so please point it out if I just missed it.
>How-To-Repeat:
Install/upgrade to 4.6(.2) with XFree86 installed. Run startx to start your X server. Log in to a remote machine, and try to run xcalc (or any X program) and have it display on your local machine.
>Fix:
Either comment out the 'listen_tcp="-nolisten tcp"' line in /usr/X11R6/bin/startx, or remove the -nolisten tcp.
Here's a quick paragraph for the handbook to cover this. I'm not sure if this is the exact page to put it on, but it might be ok.
--- 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>
+
</sect2>
<sect2>
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208212234.g7LMYcE9032288>
