Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


disable_screen_blanking

This is an old revision of the document!


Disabling Screen Blanking

By default, Red Hat Linux blanks the screen after an interval of no keyboard or mouse activity (usually 10 minutes). This can be sometimes inconvenient.

To disable screen blanking:

  1. Login to the machine as root
  2. Open the file /etc/X11/gdm in your favorite editor
  3. Scroll down to the section that defines the standard X server. It should look like:
    #Definition of the standard X server.
    [server-Standard]
    name=Standard server
    command=/usr/X11R6/bin/X -audit 0

    Your lines may look slightly different

  4. Add the option "-s 0" to the command. e.g.
    command=/usr/X11R6/bin/X -s 0 -audit 0
  5. Open the file /etx/X11/xorg.conf in your favorite editor
  6. Comment out the DPMS option lines:
       Option           "dpms"

    and/or

       Option           "DPMS" "true"

    by placing a "#" sign at the start of the line(s).

  7. Restart the X server (ctrl-alt-backspace, log-off/log-on. In some cases a reboot may be necessary).
  8. If the screen is still blanking, login as the user and execute xscreensaver. Use the xscreensaver interface to disable any screensaver/screen blanking.

Other notes:

N-AWIPS Workstations
 

Install 5.x Desktop

Install X devel ( yum -y install *X* xorg* *x11* )

Install fvwm

yum install nedit

Configure login banner with gdmsetup

install ksh ( yum -y install ksh )

Use the Generic/Postscript Driver for the plotter (plotter1.nhc.noaa.gov ) with the command “system-config-printer”.

sym link csh and ksh ( ln -s /bin/csh /usr/bin/csh, ln -s /usr/bin/ksh /bin/ksh )

/etc/gdm/custom.conf file and disable the CheckDirOwner option as show below:

  [security]

  CheckDirOwner=false

  RelaxPermissions=2

 

  gdm-restart

 

* Screen Blanking

In xorg.conf:

 

Section "ServerFlags"
  Option          "BlankTime"     "0"
  Option          "StandbyTime"   "0"
  Option          "SuspendTime"   "0"
  Option          "OffTime"       "0"
  Option "dpms" "false"

  EndSection    

http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

Option "BlankTime" "time" sets the inactivity timeout for the blanking phase of the screensaver. time is in minutes. This is equivalent to the Xorg server's `-s' flag, and the value can be changed at run-time with xset(1x) . Default: 10 minutes.

Option "StandbyTime" "time" sets the inactivity timeout for the "standby" phase of DPMS mode. time is in minutes, and the value can be changed at run-time with xset(1x) . Default: 20 minutes. This is only suitable for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only enabled for screens that have the "DPMS" option set (see the MONITOR section below).

Option "SuspendTime" "time" sets the inactivity timeout for the "suspend" phase of DPMS mode. time is in minutes, and the value can be changed at run-time with xset(1x) . Default: 30 minutes. This is only suitable for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only enabled for screens that have the "DPMS" option set (see the MONITOR section below).

Option "OffTime" "time" sets the inactivity timeout for the "off" phase of DPMS mode. time is in minutes, and the value can be changed at run-time with xset(1x) . Default: 40 minutes. This is only suitable for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only enabled for screens that have the "DPMS" option set (see the MONITOR section below).

disable_screen_blanking.1328553171.txt.gz · Last modified: 2012/02/06 13:32 by juckins