I've set up a no-x/console only system running a minimal install of debian jessie/testing. For this system I need a screen locker to lock the entire session when I'm away. vlock would be appropriate but for some reason it's not in the jessie repo.

Does anyone know why vlock isn't in the jessie repo? What can I use instead?

FYI I'm using tmux.

  • @slm I don't think it's a duplicate, it seems he actually just wants to use vlock, but isn't in the repos. – Donarsson Mar 6 '14 at 0:57
  • 1
    @slm This is a quite different question. I would not be surprised if it turns out to be a duplicate but not for the question you point at. – Hauke Laging Mar 6 '14 at 1:08
  • @HaukeLaging - You'd be correct, I remembered mentioning vlock in my A but it's quite a bit different, I'll retract and remove the comment. Thanks! – slm Mar 6 '14 at 1:31
  • 1
    Related: unix.stackexchange.com/questions/75155/… – slm Mar 6 '14 at 1:31

You can simply use the package from sid (https://packages.debian.org/sid/vlock), it works fine.

  • So should I just add the sid repo to my sources list, update and 'apt-get'? Isn't mixing repos a recipe for disaster? – MajorBriggs Mar 6 '14 at 1:04
  • Not if you set the priority correctly (wiki.debian.org/AptPreferences), but if used incorrectly, bad things will happen indeed. Alternatively, you can just download the package from the page I linked in the answer. The package was last updated somewhere in 2008, so it's pretty safe to assume there won't be any updates you'd miss by not adding the repo. – Donarsson Mar 6 '14 at 1:22
  • Do you have any idea why it's not in the testing repo? – MajorBriggs Mar 6 '14 at 1:27
  • Nope, best you ask the maintainer (listed on the right on the site). But as mentioned above, there's no risk in running the sid version. This package is the same in all repos and I highly doubt it would be a different version in jessie. – Donarsson Mar 6 '14 at 1:33

screen has a locking function (^A-x) so most probably tmux has one, too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.