Thanks for this tipp - 'apt-get install vlock' did it !
Dunno, but my debian dont have installed vlock package :/

But is it possible also to lock tmux globally (not only for TTY) ?
Now I can reattach tmux session with a second SSH connection (w/o password) - even I have locked tmux before and even I locked the whole tmux-client.

Any Ideas ?


Am 04.12.2018 um 18:34 schrieb Nicholas Marriott:
Try full path to vlock

On Tue, 4 Dec 2018, 17:34 Nicholas Marriott <[email protected] <mailto:[email protected]> wrote:

    Are you sure vlock is in the default PATH?



    On Tue, 4 Dec 2018, 17:33 Sascha <[email protected]
    <mailto:[email protected]> wrote:

        Hey Guys,

        I need some help with Tmux and vlock:

        I added this to my '/etc/tmux.conf'|:
        > set -g lock-command vlock
        > set -g||||||| lock-after-time 0
        > bind Y lock-client
        > bind y lock-session

        These both keybinds are free and was not binded before (double
        checked this).
        Now If I Press 'Y' or 'y' nothing happens. I also tried
        'lock-session' command via tmux command line and also nothing
        happens (tmux stay on display without locking).

        Using Tmux 1.9-6
        On Debian 8.11 (Jessie)
        Architecture: ARM based (Netgear NAS)
        Kernel: 4.4.140.alpine.1

        Is there any workaround for ARM based systems or is vlock not
        supported on my Tmux version ?
        Maybe it has something to do with OpenSSH - I am connecting to
        this host with SSH ?

        Hope someone can help me out ;)

        Regards,
        Sascha

        P.S.: Tested exact same behavior on a x64 arch directly (No
        SSH connection in between) and it works just fine.
-- You received this message because you are subscribed to the
        Google Groups "tmux-users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to [email protected]
        <mailto:[email protected]>.
        To post to this group, send email to
        [email protected] <mailto:[email protected]>.
        For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to