Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Alex4nder on November 09, 2018, 05:19:41 AM

Title: Question about xtrlock
Post by: Alex4nder on November 09, 2018, 05:19:41 AM
Hello !
I want to lock my screen immediately after booting in X. I tried using xtrlock. It requires password input by default.
Can I do it from the command line (or from .xsession script) without entering the password by hands?
Thanks.
Title: Re: Question about xtrlock
Post by: Rich on November 09, 2018, 09:01:22 AM
Hi Alex4nder
This is from the  .info  file for xtrclock:
Quote
Code: [Select]
Change-log:     2008/09/14 First version 2.0.12
2008/10/22 Added JWM menu.     
2010/03/07 Renamed.
2010/03/16 Updated to 2.0.13, source build.
Current: 2012/08/12 Added the safety feature of requiring the
  current user's passwd to be entered before
  launching to prevent unrecoverable screen locking.
  Also added the --force option to overrule this for use
  in booting and similar.
It appears the  --force  option was added to do exactly what you are trying to do.
Title: Re: Question about xtrlock
Post by: Alex4nder on November 09, 2018, 11:21:06 AM
Thank You very much, Rich !