What remote actions count as 'activity' against the Suspend setting?
by obobskivich from LinuxQuestions.org on (#5GRQM)
This is hopefully a straightforward question:
I have a machine running Ubuntu 20.04.2 LTS - it's a desktop with a monitor and keyboard and everything, and I remotely connect to it via ssh and sftp from other computers in my house (LAN only) throughout the day, however its currently set to suspend when idle (I think the timer is 15 or 20 minutes - it isn't terribly long). The problem is, even with open sftp connections or an ssh terminal, it will still suspend - I've tried leaving htop running thinking 'well that refreshes over and over that may do it' and it still suspended. I have also tried 'streaming' music from it, and it still suspends. So what can I do to keep it 'up' short of sending more WoL packets everytime it times out or disabling the suspend feature?


I have a machine running Ubuntu 20.04.2 LTS - it's a desktop with a monitor and keyboard and everything, and I remotely connect to it via ssh and sftp from other computers in my house (LAN only) throughout the day, however its currently set to suspend when idle (I think the timer is 15 or 20 minutes - it isn't terribly long). The problem is, even with open sftp connections or an ssh terminal, it will still suspend - I've tried leaving htop running thinking 'well that refreshes over and over that may do it' and it still suspended. I have also tried 'streaming' music from it, and it still suspends. So what can I do to keep it 'up' short of sending more WoL packets everytime it times out or disabling the suspend feature?