They should probably edit the documentation and swap both solution so this one is the first one and not marked as an "alternative"
Thank you for sharing the solution. Please update the discussion by adding the tag "[Solved]" to the beginning of the subject of the first post. Happy Debian ! :-)
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
Aki wrote: ↑2023-09-14 05:57
Thank you for sharing the solution. Please update the discussion by adding the tag "[Solved]" to the beginning of the subject of the first post. Happy Debian !
Thanks Aki! Shouldn't the documentation be updated for it to be considered solved? How can I submit a correction to the doc?
Aki wrote: ↑2023-09-14 05:57
Thank you for sharing the solution. Please update the discussion by adding the tag "[Solved]" to the beginning of the subject of the first post. Happy Debian ! :-)
Thanks Aki! Shouldn't the documentation be updated for it to be considered solved? How can I submit a correction to the doc?
I suggested to mark the discussion as "solved" since you "solved" your issue: the suspension message does not appear in ssh sessions.
The manual page for systemd-sleep.conf [1] already explains how to configure its parameters and systemd-sleep [2] explains the service. The documentation seems fine to me.
As already user @lindi pointed out in previous posts, you disabled the suspension service, but you didn't identified what triggers it. Perhaps this would merit further investigation on your part if you are interested. I'm not a gnome user, but a quick search landed here (as an example):
What is interesting is that when you upgrade from e.g. Debian 10 to 12 the system will suspend when you are reading changelogs or make decisions. The system is suspended without any warning! Without any message visible in SSH console. This is bad. VERY BAD. It made me drive to work today... I blamed UPS initially (mostly because I don't have a screen on this computer)... So that was "fun". Never would've thought this could be intentional (to suspend during upgrade I mean).
When this happens during upgrade you seem to be able to join apt process (like `sudo apt full-upgrade`) by using:
Aki wrote: ↑2023-09-17 06:21
(...)
As already user @lindi pointed out in previous posts, you disabled the suspension service, but you didn't identified what triggers it. Perhaps this would merit further investigation on your part if you are interested. I'm not a gnome user, but a quick search landed here (as an example):
I'm not sure why you guys mention Gnome. I'm not using Gnome. The issue occurs when leaving the computer idle at login screen then doing remote login SSH session to the system. What additional investigation is needed? Adjusting the documentation seems to be the next step at this point. I updated the topic to [Solved].