From owner-freebsd-doc Wed Aug 21 16:30:13 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F71437B401 for ; Wed, 21 Aug 2002 16:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB49543E4A for ; Wed, 21 Aug 2002 16:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7LNU2JU004518 for ; Wed, 21 Aug 2002 16:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7LNU2iq004517; Wed, 21 Aug 2002 16:30:02 -0700 (PDT) Date: Wed, 21 Aug 2002 16:30:02 -0700 (PDT) Message-Id: <200208212330.g7LNU2iq004517@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Josh Paetzel Subject: Re: docs/41865: [PATCH] XFree86 section should document -nolisten tcp option in startx Reply-To: Josh Paetzel 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 The following reply was made to PR docs/41865; it has been noted by GNATS. From: Josh Paetzel To: Eric Anderson 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 @@ > 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="" > + > > > > > >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