On 2024-07-31 12:55, Paul Neuwirth via openSUSE Users wrote:
Hello, never had this issue with Leap <=15.4. The PC randomly (sometimes after days, sometimes only after a few hours of now HID-input) goes into suspend mode:
...
If it is somehow caused by the display or window manager, I use GDM and Gnome, but in the latter's setting suspend is also disabled.
What's going on? Thanks for any assistance.
Regards
Paul
P.S.: Just found something. Before last suspend gnome-shell dumped core and I found this in /var/log/messages:
...
anyway to disallow that "member=CanSuspend"?
You can try to disable sleep mode with systemd. See <https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/>, for instance: systemctl mask sleep.target suspend.target \ hibernate.target hybrid-sleep.target You probably only need the suspend.target, so: systemctl mask suspend.target The site says reboot to enable. Maybe systemctl daemon-reload is enough. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)