From owner-freebsd-questions@FreeBSD.ORG Thu Feb 3 23:21:36 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 727B016A4CE for ; Thu, 3 Feb 2005 23:21:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9327043D1F for ; Thu, 3 Feb 2005 23:21:35 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id f1so305701rne for ; Thu, 03 Feb 2005 15:21:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=L7nkiKFdw2WLUGoI0axgAVjc1Ucjjfifx/Xcs6//OlImxlmpHxBLGcOyY/WrGYw9WCL3PV/18vWs3MTPPdr/71w+nDfuzth6H+x0DQvJRoE0e2GhjJbUch6vOa2zfKjm1T/EcJOy6xBoIQiaKzsLIrcEaAQOT435bBZADIN1cTM= Received: by 10.38.125.29 with SMTP id x29mr263841rnc; Thu, 03 Feb 2005 15:21:34 -0800 (PST) Received: by 10.38.74.23 with HTTP; Thu, 3 Feb 2005 15:21:34 -0800 (PST) Message-ID: Date: Fri, 4 Feb 2005 00:21:34 +0100 From: Gert Cuykens To: "Loren M. Lang" In-Reply-To: <20050203225835.GX8619@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050202210526.GC77499@keyslapper.net> <42014E0A.5070003@mac.com> <20050203225835.GX8619@alzatex.com> cc: freebsd-questions@freebsd.org Subject: Re: xhost +localhost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 23:21:36 -0000 On Thu, 3 Feb 2005 14:58:35 -0800, Loren M. Lang wrote: > This enable all programs to have access that are using unix domain > sockets to not need the MIT-MAGIC-COOKIE stored in the .Xauthority file > in the users home directory so any user can open a program on that > display. xhost +localhost adds all programs from localhost using tcp > connections instead. DISPLAY=:0 causes a program to use fast unix > domain sockets where DISPLAY=localhost:0 causes a program to use slow > tcp sockets instead. tcp sockets are really only needed for remote > connections and xhost +localhost won't allow any local programs to > access X unless they use tcp, not unix. See my first response for more > information. ok time out :) 1)does xhost set the DISPLAY variable ? 2)does xhost local: also uses the tcp thingie or use it the x socket thingie ? 3)what must i put in the .Xauthority file to make the screensaver work with having to use xhost ?