Date: Wed, 21 Aug 2002 16:30:02 -0700 (PDT) From: Josh Paetzel <friar_josh@webwarrior.net> To: freebsd-doc@FreeBSD.org Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx Message-ID: <200208212330.g7LNU2iq004517@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/41865; it has been noted by GNATS.
From: Josh Paetzel <friar_josh@webwarrior.net>
To: Eric Anderson <anderson@centtech.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten
tcp option in startx
Date: 21 Aug 2002 18:25:07 +0000
T 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:
#man startx
NAME
startx - initialize an X session
SYNOPSIS
startx [ [ client ] options ... ] [ -- [ server ] options
... ]
DESCRIPTION
The startx script is a front end to xinit that provides a
somewhat nicer user interface for running a single session
of the X Window System. It is often run with no argu-
ments.
Except for the '-listen_tcp' option, arguments immediately
following the startx command are used to start a client in
the same manner as xinit(1). The '-listen_tcp' option of
startx enables the TCP/IP transport type which is needed
for remote X displays. This is disabled by default for
security reasons.
Josh
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?200208212330.g7LNU2iq004517>
