From owner-freebsd-stable Wed Aug 21 7:12:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E434737B400; Wed, 21 Aug 2002 07:12:46 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D62E143E6A; Wed, 21 Aug 2002 07:12:45 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7LECYQI022369; Wed, 21 Aug 2002 15:12:34 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7LECS2c022368; Wed, 21 Aug 2002 15:12:28 +0100 (BST) Date: Wed, 21 Aug 2002 15:12:28 +0100 From: Matthew Seaman To: Steve Tremblett Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: weird X problem Message-ID: <20020821141228.GA22249@happy-idiot-talk.infracaninophi> References: <20020821091517.A16327@sjt-u10.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020821091517.A16327@sjt-u10.cisco.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 21, 2002 at 09:15:17AM -0400, Steve Tremblett wrote: > I just upgraded my laptop to XFree86 4.2 and everything seemed to work, > but I just discovered a MADDENING problem. > > I have xhost lines in my xinitrc to allow remote X programs for a > handful of machines, but since upgrading 4.0->4.2 those machines can't > display on the server. I checked the xhost commands, and the hostnames > are correct. I tried using the IP address instead with no success. > The workstation can ping the laptop, so it isn't a network problem. It > all comes down to the laptop not allowing X clients that xhost says it > should. /usr/X11R6/bin/startx was recently modified to use the '-nolisten tcp' flag by default when starting up the X server. If 'netstat -a' shows nothing listening on port 6000 or so when X is running, that's probably what's biting you. Either type: startx -listen_tcp or preferably do what Brian suggested, and use ssh's built in mechanism for tunnelling X stuff across the network. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message