4

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).

2
  • What operating systems are you running? Nov 7, 2011 at 17:26
  • Linux Ubuntu (Debian derivative) Nov 7, 2011 at 18:13

1 Answer 1

6

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.
3
  • These systems do not have X11 installed; all headless (well, KVM switch plugged into them) rack-mounted servers. Any idea how X11 manipulates DPMS? ...maybe there's a command or another package I can install to get/set the DPMS options? Nov 8, 2011 at 16:00
  • See updated answer. Nov 8, 2011 at 16:39
  • breadcrumbs for future readers with Ubuntu Lucid (10.04): the kernel param is easily added to the GRUB bootloader configuration. Just set the GRUB_CMDLINE_LINUX to "consoleblank=0" in /etc/default/grub, then run 'update-grub' (as root) to have it adjust your Grub bootloader menu items. Nov 8, 2011 at 18:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .