Re: [dev] [slock] chown to root:root on install?

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Tue, 8 Sep 2015 15:05:10 +0100

Quoth Dimitris Papastamos:
> On Tue, Sep 08, 2015 at 02:44:26PM +0100, Nick wrote:
> > Quoth Dimitris Papastamos:
> > > On Tue, Sep 08, 2015 at 02:30:39PM +0100, Nick wrote:
> > > > Separately to this, slock seems to exit (without prompt) after about
> > > > 0.3s after I run it, unless I move the mouse or hit the keyboard
> > > > directly after starting it. Has anyone else seen this? I could look
> > > > into it more, but wonder if I am perhaps being stupid?
> > >
> > > Please provide a backtrace.
> >
> > I looked into it a bit more, and it turns out it is exiting with
> > status 1; I double-checked and indeed it is returning from the
> > "nothing to protect" condition.
>
> I am not sure why, can you try to increase the timeout in the two
> loops that grab the pointer/keyboard inside lockscreen()?
>
> I suspect len is 0 and lock is set to NULL.

Indeed, increasing the timeout for the pointer grab to 10000 makes
it work properly for me. Increasing the timeout for the keyboard
lock however just increased the time before it exited with status 1
and returned to the terminal.
Received on Tue Sep 08 2015 - 16:05:10 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 08 2015 - 16:12:09 CEST