mianfeiziyuan 发表于 2019-5-20 20:34:21

Linux/Centos停止自动休眠

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.
页: [1]
查看完整版本: Linux/Centos停止自动休眠