WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Question about xtrlock  (Read 189 times)

Offline Alex4nder

  • WikiUser
  • *
  • Posts: 3
Question about xtrlock
« on: November 09, 2018, 02: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.

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6064
Re: Question about xtrlock
« Reply #1 on: November 09, 2018, 06: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.

Offline Alex4nder

  • WikiUser
  • *
  • Posts: 3
Re: Question about xtrlock
« Reply #2 on: November 09, 2018, 08:21:06 AM »
Thank You very much, Rich !