步骤
1.打开lightdm.conf
sudo nano /etc/lightdm/lightdm.conf
2.修改lightdm.conf
找到 [SeatDefaults] 段下的 ’xserver-command’, 取消注释 , 修改如下:
xserver-command=X
修改为
xserver-command=X -s 0 -dpms
-s # –设置屏幕保护不启用
dpms 关闭电源节能管理
3.重启
reboot
simply-static
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121步骤
1.打开lightdm.conf
sudo nano /etc/lightdm/lightdm.conf
2.修改lightdm.conf
找到 [SeatDefaults] 段下的 ’xserver-command’, 取消注释 , 修改如下:
xserver-command=X
修改为
xserver-command=X -s 0 -dpms
-s # –设置屏幕保护不启用
dpms 关闭电源节能管理
3.重启
reboot