How to DISable display sleep on Dell PowerEdge R310

The display on these PowerEdge systems goes to sleep after some period of time. Normally, when you plug in a KVM, you have to press a key to "wake up" the display. I'm connecting these servers to a KVM switch, and I'd like the display to NOT go to sleep -- so when you select a system via the KVM switch you immediately see the console display. OS on these boxes is Linux, Ubuntu Lucid (10.04).


Solution 1:

With X11 you want to disable DPMS in /etc/X11/xorg.conf.

#In the "Monitor" section, you need a line like:
        Option          "DPMS"
#Then, in the "ServerLayout" section (for Xorg 7.2 and later, make a
#separate ServerFlags section instead), include lines like this:
        Option          "BlankTime"     "0"
        Option          "StandbyTime"   "0"
        Option          "SuspendTime"   "0"
        Option          "OffTime"       "0"

#Alternatively try this in the Monitor section:
        Option          "DPMS"          "False"

Mostly from: http://www.shallowsky.com/linux/x-screen-blanking.html

From outside of X11 with a login sessions you could do the following:

setterm -blank 0
setterm -powersave off

From outside of X11 without a login session you can use the following kernel parameters in your boot loader:

consoleblank=   [KNL] The console blank (screen saver) timeout in
                seconds. Defaults to 10*60 = 10mins. A value of 0
                disables the blank timer.