1

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.

MajorBriggs
  • 1,241
  • @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 06 '14 at 00: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 06 '14 at 01: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 06 '14 at 01:31
  • 1
    Related: http://unix.stackexchange.com/questions/75155/locking-console-input-without-screen-blanking – slm Mar 06 '14 at 01:31

2 Answers2

1

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

Hauke Laging
  • 90,279
1

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

Donarsson
  • 169
  • 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 06 '14 at 01:04
  • Not if you set the priority correctly (https://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 06 '14 at 01:22
  • Do you have any idea why it's not in the testing repo? – MajorBriggs Mar 06 '14 at 01: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 06 '14 at 01:33