[CentOS] Screen blanking

Fri Jun 17 18:05:15 UTC 2005
C.M. Connelly <cmc at math.hmc.edu>

"CM" == Chris Mason (Lists)
"IV" == Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>

    CM> I have a couple of LCD monitors attached to Centos
    CM> servers, I would like to be able to watch the logs on the
    CM> monitors but after a while they go blank.  How can I
    CM> disable this?

    IV> setterm and/or screensaver preferences.

The usual magic is something like

   setterm -powersave off -blank 0 -store 

which works when typed at a console.

To get it to persist across boots (and to not have to enter it by
hand every time), you need to insert the command into the boot
sequence.  You can add this line to /etc/rc.local or add a script
to /etc/init.d and have it run in appropriate run levels (probably
all, so 12345).

   Claire

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  Claire Connelly                              cmc at math.hmc.edu 
  Systems Administrator                          (909) 621-8754   
  Department of Mathematics                 Harvey Mudd College
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20050617/4d03d5cf/attachment-0005.sig>