From owner-freebsd-questions@FreeBSD.ORG Thu Feb 3 00:43:25 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 4914A16A4CE for ; Thu, 3 Feb 2005 00:43:25 +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 9952F43D46 for ; Thu, 3 Feb 2005 00:43:24 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j130hEEA017411; Thu, 3 Feb 2005 00:43:14 GMT Message-ID: <420174BC.8090609@cis.strath.ac.uk> Date: Thu, 03 Feb 2005 00:47:56 +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> <20050202224322.GF77499@keyslapper.net> <20050202234814.GA24792@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: Thu, 03 Feb 2005 00:43:25 -0000 Gert Cuykens wrote: >>I assume this refers to the root window. Surely you're not logged >>into X as root. > > > no i am just logged as a user into X and my user name is the same as > root :) Lets call it the user root window. > > >>Try this: >>check your DISPLAY environment variable with >>echo $DISPLAY >>make sure it's ':0.0' or something similar, like :0.0, then >>run this: >>/usr/X11R6/bin/xscreensaver -display $DISPLAY & >> >>That should do what you're trying to do. >> >>Lou >>-- > > > I# /usr/X11R6/bin/xscreensaver -display $DISPLAY > xscreensaver: 01:02:41: locking is disabled (running as nobody). > xscreensaver: 01:02:41: locking only works when xscreensaver is launched > by a normal, non-privileged user (e.g., not "root".) > See the manual for details. > > man the xscreensaver thingie isnt kidding about it... > _______________________________________________ > 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" Don't want to be rude but do you have a specific reason for running xscreensaver as root? Chris