请选择 进入手机版 | 继续访问电脑版

 找回密码
 立即注册
查看: 1175|回复: 0

Linux/Centos停止自动休眠

[复制链接]

6771

主题

8

回帖

2万

积分

管理员

积分
21718
发表于 2019-5-20 20:34:21 | 显示全部楼层 |阅读模式
1. Problem
When monitor is unplugged from PC long time, or centos PC is not operated long time, PC will automatically hibernate. Then telnet, vnc or other applications will not be available

2. Solution:
Append following to \etc\X11\xorg.conf
Section "ServerFlags"
        Option "BlankTime" "0"
        Option "StandbyTime" "0"
        Option "SuspendTime" "0"
        Option "OffTime" "0"
EndSection

Section "Monitor"
       Option "DPMS" "false"
EndSection

Post operation: Xwindow need to restart.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表