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.
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    
disable_screen_blanking.1328532022.txt.gz · Last modified: 2012/02/06 07:40 by juckins