Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 18:47:10 -0400 (EDT)
From:      BEAUPRE Antoine <beaupran@JSP.UMontreal.CA>
To:        bush doctor <dervish@ikhala.tcimet.net>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Using a screensavver under xdm?
Message-ID:  <Pine.SGI.3.96.980922184258.26693B-100000@derby.jsp.umontreal.ca>
In-Reply-To: <19980922131236.B13701@ikhala.tcimet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <beaupran@JSP.UMontreal.CA>
> > > 
> > > >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.980922184258.26693B-100000>