From owner-freebsd-doc Thu Aug 22 6:38: 1 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 320A537B400 for ; Thu, 22 Aug 2002 06:37:57 -0700 (PDT) Received: from services.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6460E43E7B for ; Thu, 22 Aug 2002 06:37:56 -0700 (PDT) (envelope-from friar_josh@webwarrior.net) Received: from markx.vladsempire.net (12-218-27-215.client.mchsi.com [12.218.27.215]) by services.webwarrior.net (Postfix) with ESMTP id 05F622521D; Thu, 22 Aug 2002 08:38:12 +0000 (GMT) Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx From: Josh Paetzel Reply-To: friar_josh@webwarrior.net To: Eric Anderson Cc: freebsd-doc@freebsd.org In-Reply-To: <3D64E095.6050001@centtech.com> References: <200208221240.g7MCe7eB007052@freefall.freebsd.org> <3D64E095.6050001@centtech.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 22 Aug 2002 08:36:33 +0000 Message-Id: <1030005394.226.23.camel@markx.vladsempire.net> Mime-Version: 1.0 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 On Thu, 2002-08-22 at 13:01, Eric Anderson wrote: > 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 > > > body of the message > It might not be a bad idea to sneak the version of X in where it changed, since there's no reason someone couldn't be running X 3.3.6 with FreeBSD 4.6. I'm also not sure the change occured in 4.6, I seem to remember having to deal with this issues in 4.4 or 4.5 maybe. I didn't mean to suggest that people change the default startup files with my initial response, I was pointing out to the originator of the PR that there was indeed documentation about his issue, but maybe it's a bit much to suggest one read the man pages for X before running it. ;) Josh ps yes, I know the faq and handbook are full of information that duplicates info given in the man page. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message