From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 23:15:56 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 E157816A4CE for ; Wed, 2 Feb 2005 23:15:56 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A5A243D2F for ; Wed, 2 Feb 2005 23:15:56 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j12NFkEA013987; Wed, 2 Feb 2005 23:15:46 GMT Message-ID: <4201603C.8040503@cis.strath.ac.uk> Date: Wed, 02 Feb 2005 23:20:28 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050202) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gert Cuykens References: <20050202210526.GC77499@keyslapper.net> <42014E0A.5070003@mac.com> <20050202221851.GE77499@keyslapper.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: freebsd-questions@freebsd.org Subject: Re: xhost +localhost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 23:15:57 -0000 Gert Cuykens wrote: > I# xhost local: > non-network local connections being added to access control list > I# > > ok that seems to work a bit better meaning i dont get the message "can > not start screen saver deamon bl bla bla....." Instead i get a message > in my log that locking is not enabled ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > When I configure xscreensaver I use the xscreensaver-demo command. This allows you to set everything up for that user and start and stop the xscreensaver daemon. You run this as the local user. There is a way to cheat xhosting as root if you are not running remotely. If you simply use "su" instead of "su -" it should keep all the environment including the DISPLAY setup correctly. This seems to work well for me. Generally I do this to xhost from root to my user display. $ xhost local: $ su - Password: # bash # export DISPLAY=:0 # gcalctool HTH Chris