From owner-freebsd-doc Thu Aug 22 6: 1:18 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EFFB37B400 for ; Thu, 22 Aug 2002 06:01:14 -0700 (PDT) Received: from proxy.centtech.com (moat.centtech.com [206.196.95.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B54843E75 for ; Thu, 22 Aug 2002 06:01:13 -0700 (PDT) (envelope-from anderson@centtech.com) Received: from sprint.centtech.com (sprint.centtech.com [10.177.173.31]) by proxy.centtech.com (8.11.6/8.11.6) with ESMTP id g7MD1CY00435 for ; Thu, 22 Aug 2002 08:01:12 -0500 (CDT) Received: (from root@localhost) by sprint.centtech.com (8.11.6+Sun/8.11.6) id g7MD1Ct15703 for freebsd-doc@freebsd.org; Thu, 22 Aug 2002 08:01:12 -0500 (CDT) Received: from centtech.com (proton [10.177.173.77]) by sprint.centtech.com (8.11.6+Sun/8.11.6) with ESMTP id g7MD19o15688 for ; Thu, 22 Aug 2002 08:01:09 -0500 (CDT) Message-ID: <3D64E095.6050001@centtech.com> Date: Thu, 22 Aug 2002 08:01:09 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx References: <200208221240.g7MCe7eB007052@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 @@ + + Why don't remote X displays work anymore? + + + + 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. + + If you would like to change this functionality, you can, by + simply using the -listen_tcp option with startx + (&man.startx.1). + + + + How can I increase or reduce the kernel address space? Eric Anderson wrote: > The following reply was made to PR docs/41865; it has been noted by GNATS. > > From: Eric Anderson > To: Marc Fonvieille > 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 @@ > >> XFree86 4.X can also be started with > >> &man.xdm.1;. > >> > >>+ In order for you to use remotely executed X-Windows programs > >>+ such as an xterm, you will most likely > >>+ need to change the /usr/X11R6/bin/startx X11 > >>+ startup script and change the line: > >>+ > >>+ listen_tcp="-nolisten tcp" > >>+ > >>+ to: > >>+ > >>+ listen_tcp="" > >>+ > >> > > > > 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