加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 如何在Dell PowerEdge R310上显示睡眠状态

发布时间:2020-12-13 17:04:44 所属栏目:Linux 来源:网络整理
导读:这些PowerEdge系统上的显示屏会在一段时间后进入休眠状态.通常,当您插入KVM时,您必须按一个键才能“唤醒”显示屏.我将这些服务器连接到KVM切换器,我希望显示器不要进入休眠状态 – 因此当您通过KVM切换器选择系统时,您会立即看到控制台显示屏.这些盒子上的操
这些PowerEdge系统上的显示屏会在一段时间后进入休眠状态.通常,当您插入KVM时,您必须按一个键才能“唤醒”显示屏.我将这些服务器连接到KVM切换器,我希望显示器不要进入休眠状态 – 因此当您通过KVM切换器选择系统时,您会立即看到控制台显示屏.这些盒子上的操作系统是 Linux,Ubuntu Lucid(10.04).

解决方法

使用X11,您需要在/etc/X11/xorg.conf中禁用DPMS.
#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"

主要来自:http://www.shallowsky.com/linux/x-screen-blanking.html

从X11外部进行登录会话,您可以执行以下操作:

setterm -blank 0
setterm -powersave off

在没有登录会话的X11外部,您可以在引导加载程序中使用以下内核参数:

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读