You can disable hibernation by modifying the configuration of the X11,/etc/x11/xorg.conf, and remember to back up the file before modifying it to prevent the X11 desktop from being configured incorrectly.
The modification involves two places, the first is section "Monitor" to see if there are any DPMS in its configuration, and the value is false to ensure that the configuration information is as follows:
Option "DPMS" "false" the second modification is to add a section "Serverflags" containing the following:
section "Serverflags"
Option "Blanktime" "0"
Option "Standbytime" "0"
Option "Suspendtime" "0"
Option "Offtime" "0"
Endsection
Remove automatic standby hibernation.
VI etcx11xorg.conf
Add the following content
section "Serverflags"
Option "Blanktime" "0"
Option "Standbytime" "0"
Option "Suspendtime" "0"
Option "Offtime" "0"
Endsection
section "Monitor"
Option "DPMS" "false"
Endsection
Reboot the server, it didn't happen for a long time.