CentOS 7 Terminal Timeout

6,648

Nevermind. I'm an idiot. It's the unix $TMOUT variable. I just need to:

unset TMOUT

or

set TMOUT=0

Share:
6,648

Related videos on Youtube

loganasherjones
Author by

loganasherjones

Updated on September 18, 2022

Comments

  • loganasherjones
    loganasherjones over 1 year

    This seems like this question should have already been answered, but I don't see any info on google or stackoverflow. I have a VNC server running on a CentOS 7 box where I do my development. Every night my terminals timeout and die unless they have an active command running on them. I have looked for configuration options to prevent this from happening but cannot find anything.

    Any help would be greatly appreciated.

    P.S. This is not a ssh terminal session. It is a normal terminal session started on the box itself.

  • loganasherjones
    loganasherjones about 8 years
    In case anyone cares. My TMOUT was getting set in /etc/profile.d/local.sh