From owner-freebsd-questions Tue Sep 22 15:48:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21375 for freebsd-questions-outgoing; Tue, 22 Sep 1998 15:48:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from harfang.CC.UMontreal.CA (harfang.CC.UMontreal.CA [132.204.2.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21331 for ; Tue, 22 Sep 1998 15:47:51 -0700 (PDT) (envelope-from beaupran@JSP.UMontreal.CA) Received: from epsom.jsp.umontreal.ca (epsom.JSP.UMontreal.CA [132.204.45.25]) by harfang.CC.UMontreal.CA (8.8.8/8.8.8) with SMTP id SAA19367; Tue, 22 Sep 1998 18:47:10 -0400 (EDT) Received: from derby.jsp.umontreal.ca (derby.jsp.umontreal.ca [132.204.45.26]) by epsom.jsp.umontreal.ca via ESMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id SAA14349; Tue, 22 Sep 1998 18:47:11 -0400 Received: from localhost (beaupran@localhost) by derby.jsp.umontreal.ca via SMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id SAA27220; Tue, 22 Sep 1998 18:47:10 -0400 X-Authentication-Warning: derby.jsp.umontreal.ca: beaupran owned process doing -bs Date: Tue, 22 Sep 1998 18:47:10 -0400 (EDT) From: BEAUPRE Antoine To: bush doctor cc: freebsd-questions Subject: Re: Using a screensavver under xdm? In-Reply-To: <19980922131236.B13701@ikhala.tcimet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ls -l xautolock: -rwsr-sr-x 1 root wheel 24576 May 18 03:02 xautolock* ls -l xlock: ---s--x--x 1 root bin 872448 May 16 09:30 xlock* more Xsetup_0: #!/bin/sh # $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $ #xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail #xclock -digital -update 1 & xhost +localhost /usr/X11R6/bin/xautolock -resetsaver -time 1 -locker 'xlock -nolock' & /usr/X11R6/bin/xclock -update 1 -geometry -0-0 & And still, after one minute, the screen goes blank for a second, and goes back to the prompt without running the screensaver. Any one else wanna try? :) On Tue, 22 Sep 1998, bush doctor wrote: > On Mon, Sep 21, 1998 at 05:44:48PM -0400, BEAUPRE Antoine wrote: > > On Mon, 21 Sep 1998, David Wolfskill wrote: > > > > > >Date: Sun, 20 Sep 1998 19:53:51 -0400 (EDT) > > > >From: BEAUPRE Antoine > > > > > > >I'm currently trying to run xautolock -locker xlock , without success. The > > > >screen going blank for a milisecond and then restarting the coutdown... > > > > > > Well, here's what I use: > > > > > > xautolock -time 10 -corners 00+0 -cornerdelay 5 -cornerredelay 20 -notify 2 -locker "xlock -mode random -allowroot" & > > > > > > (this is from my ~/.xinitrc file). > > > > I *knew* that I have not been understood very well. The problem is not to > > run xautolock as a user, but making it run when xdm displays a graphical > > login: prompt. > > > > anyone have achieved this? > > > > > shrimp[18]% ls -lL `which xautolock xlock` > > > -rwxr-xr-x 1 root lsrc 20480 Mar 16 1998 /usr/local/bin/xautolock > > > -rwsr-x--x 1 root wheel 282624 Aug 27 1996 /usr/local/bin/xlock > > > > > > (Just in case that's an issue....) > > > > you may need to change xautolock to be SUID root. Also check to make sure you're allowing local > clients to connect by adding the following to your Xsetup_0 file in /usr/X11R6/lib/X11/xdm > > xhost +localhost > > this should come before the call to xautolock. hopes this helps ... > > -- > --bush doctor > Physican, heal thyself ... > +-----------------------------------+ | Free the world from businessmen | | Free yourself from your money | +-----------------------------------+ Free the web. Spidey visit: http://www.JSP.UMontreal.CA/~beaupran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message