[SOLVED] monitor enter suspend mode with kernel 6.2.16-4-pve

mediaklan

Member
Sep 30, 2021
29
2
8
47
www.mediaklan.com
Hello everyone,
I'm using proxmox as a workstation (xfce/openbox), so I have a display connected for various purposes. Since the latest kernel upgrade (6.2.16-4-pve), my monitor is entering suspend mode (after 10 min or so), and it's a behavior I would gladly prevent.
What I tried so far :
Bash:
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
xset -dpms
... But it's not working. Moving the cursor or hitting the keyboard can successfully wake up the thing, but it's annoying as hell.

Any idea where or what I should start looking please ?
 
Last edited:
Just when I was about to give up, it's solved. But I'm not too sure what was the effective solution.
What I've done, in this order :
# remove upower service (I think it's most likely the solution)
apt remove upower
# add this in my .bashrc (debian wiki : https://wiki.debian.org/Suspend)
xset dpms 0 0 0 && xset s noblank && xset s off
# add this in /etc/systemd/sleep.conf.d/nosuspend.conf (debian wiki : https://wiki.debian.org/Suspend)
Code:
 [Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

And reboot. Proxmox is running for about +20 min now without the screen going into sleep.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!