Home > Article > Operation and Maintenance > How to set the monitor not to sleep in centos system
centos method to prevent the display from sleeping:
# setterm -blank 0 # setterm -blank n (n为等待时间)
(Recommended tutorial: centos tutorial )
You can also edit xorg.conf and add the following options to close xscreen saver directly.
Section “ServerFlags” Option “BlankTime” “0″ #关闭黑屏 Option “StandbyTime” “0″ #关闭待机功能 Option “SuspendTime” “0″ #关闭睡眠功能 Option “OffTime” “0″ EndSection
After modification, restart the system to take effect.
The above is the detailed content of How to set the monitor not to sleep in centos system. For more information, please follow other related articles on the PHP Chinese website!