Stopping the screen blanking on the command line in linux

- 11 Nov 2008

We have a server in my office we reference a lot.  After X time period it would fall asleep and someone would have to hit the keyboard to see the latest information.  After digging for a bit (and never really finding the answer) I figured it out and decided to document it because I will forget next time this occurs!

setterm -blank 0
setterm -powersave off

You have to do this from the terminal console and not a remote shell (which, would actually make no sense) or you will see this message:

cannot (un)set powersave mode

Related Posts: Extracting Smarty variables from source » Installing vzdump on CentOS 5.4 (32-bit) » Dumping Addresses from phplist » Adding NRPE (Nagios) to CentOS \/ RHEL Servers » Adding the REMI Repository to CentOS / RHEL / RedHat »

comments powered by Disqus