原文地址:Linux/Centos停止自动休眠
作者:tennessee3waltz
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 etcX11xorg.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.
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 etcX11xorg.conf
Section "ServerFlags"
EndSection
Section "Monitor"
EndSection
Post operation: Xwindow need to restart.