by ivank · 12y ago · 0 comments
(Note: don't sudo vlock -sna if you haven't set a root password, add yourself to the vlock group instead.)
physlock is an alternative to vlock, it is equivalent to `vlock -an'.
It is written because vlock blocks some linux kernel mechanisms like
hibernate and suspend and can therefore only be used with some limita‐
tions.
I can't attest to this as I've only used vlock, so correct me if I'm wrong.Now to script it as I spent most of my time in a X term emulator with a tmux session. Can someone effectively script X -> tty console then vlock?
UPDATE: So am I missing something, because I get more or less the man page below:
http://linux.die.net/man/1/vlock
And I see no -n argument. Are you using Linux or some other Unix? What version do you use?
(Sorry, I really need to sleep early, but you have to keep telling me how to improve my laptop!)
http://manpages.ubuntu.com/manpages/trusty/man1/vlock.1.html