Re: [dev] [SLOCK] is not safe

From: Thayer Williams <thayerw_AT_gmail.com>
Date: Sun, 17 Jan 2010 10:33:12 -0800

On Jan 17, 2010 at 07:28 AM, Premysl Hruby <dfenze_AT_gmail.com> wrote:
> On (17/01/10 16:17), Julien Pecqueur wrote:
> > I'm using slock and i am suprised to realize that is not safe at all!
> >
> > I launched slock in my DWM session. I just have to press CTRL+ALT+F1
> > and press CTRL+z (to send startx in background an get the hand on the
> > shell) and type "killall slock" to unlock the session...
> >
>
> But that is not problem of slock, but the problem how you start X :-)

Exactly, the above method doesn't work when X is started like so:
 
# auto startx if logging in at VC/1
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    startx >& ~/.myXLog
    logout
fi
Received on Sun Jan 17 2010 - 18:33:12 UTC

This archive was generated by hypermail 2.2.0 : Sun Jan 17 2010 - 18:48:03 UTC