From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 22:18:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 119F216A4CE for ; Wed, 2 Feb 2005 22:18:31 +0000 (GMT) Received: from mail-relay4.mirrorimage.net (mail-relay4.mirrorimage.net [209.58.140.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC89843D53 for ; Wed, 2 Feb 2005 22:18:30 +0000 (GMT) (envelope-from FreeBSD@keyslapper.net) Received: from localhost (unknown [10.10.4.59]) by mail-relay4.mirrorimage.net (Postfix) with SMTP id 00F626925B for ; Wed, 2 Feb 2005 17:18:30 -0500 (EST) Received: by localhost (sSMTP sendmail emulation); Wed, 2 Feb 2005 17:18:51 -0500 Date: Wed, 2 Feb 2005 17:18:51 -0500 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Message-ID: <20050202221851.GE77499@keyslapper.net> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <20050202210526.GC77499@keyslapper.net> <42014E0A.5070003@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fig2xvG2VGoz8o/s" Content-Disposition: inline In-Reply-To: <42014E0A.5070003@mac.com> X-PGP-Key: http://www.keyslapper.net/~leblanc/leblanc-at-keyslapper-net.asc User-Agent: Mutt/1.5.6i Subject: Re: xhost +localhost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 22:18:31 -0000 --Fig2xvG2VGoz8o/s Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline On 02/02/05 05:02 PM, Chuck Swiger sat at the `puter and typed: > Louis LeBlanc wrote: > > On 02/02/05 06:58 PM, Gert Cuykens sat at the `puter and typed: > >> i want a screensaver but the ....... xscreensaver daemon wont start > >> complaining about acces controle. I did xhost +localhost but it still > >> wont start :( > > > > If you're trying this on 5.3, the syntax has changed. Try something > > like this: > > > > xhost local: > > > > Exactly as typed above. > > Please tell me you are joking. > > I remember learning to use "xhost +" in 1989 or '90 on X11--, before the > command improved to take hostnames as arguments to control which connections > were allowed and which should be refused on a per-host basis. At the time, > there were so few machines running X that malicious X connections were not a > significant concern. > > Having "xhost +localhost" work the same way as "xhost +foo.cmu.edu"-- to avoid > treating the local host as a special case-- was a good idea fifteen years ago. > > I do not have a perfect record of suggesting things in a way that does not > break backwards compatibility, but one should attempt to make the distinction > between "changing something which was broken in order to get to something > reasonable" and "changing something reasonable into something broken". Don't shoot the messenger! :) I was pretty confused by it too, especially since I do LOTS of display jumping. After failing some of this jumping, I finally typed the command at the prompt and got a strange response. So I read the manpage. It's all there. I couldn't say why, but I had too many other fish to fry to bother saying anything then. It's probably not the only deprecation or interface change from 4.x. I believe the 'nslookup' tool is now a wrapper to the 'host' utility, but I never used either one in complex enough ways to see any incompatibility. I can't quite remember, but I have the feeling there was another gotcha I had to get used to going to 5.x. Oh well, I still like 5.3 better for some reason. Maybe it's just the awesome machine I've got it running on though . . . Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) This is a list only address, and the return address is a black hole! Send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Kent's Heuristic: Look for it first where you'd most like to find it. --Fig2xvG2VGoz8o/s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCAVHLr4Wi/oDI2aIRAv2RAJsFOSOepfH2xC8eIgtoxfAci5wgRwCfZz3Y D98GSRMnartgfJqd364MDCc= =/Jvt -----END PGP SIGNATURE----- --Fig2xvG2VGoz8o/s--