Ubuntu 20.04.3 desktop (Cinnamon) - SSH disconnects when user logs off the desktop!

Bo Berglund bo.berglund at gmail.com
Sat Jan 22 11:17:24 UTC 2022


On Sat, 22 Jan 2022 10:22:54 +1100, Karl Auer <kauer at biplane.com.au> wrote:

>>  the SSH session (via PuTTY) just disconnects mid way in a file edit
>> or other activity! At the same time I hear from the box how the data
>> drive is powered off and the heads parked.
>
>That sounds a bit as if the remote is going to sleep.
>
>> After this it is not possible to connect by SSH anymore
>
>That still sounds as if the remote has gone to sleep.
>
>Even if you don't think that is the case, I suggest you *prove* it is
>not the case before investigating more esoteric explanations.

I think too that this is what happens, how can I prevent it?

This is a unit that seldom will have a user logged on to the hardware screen
(there will be no monitor attached on the final deployment).

The only way to use it will be via SSH or VNC and both require the system to be
running to get to it. It is much like a server system, but I installed Desktop
in case I had to do some admin work on it which requires some web browsing and
the like.

I found an AskUbuntu question that went without a solution:
https://askubuntu.com/questions/1281232/how-to-disable-sleep-at-the-login-screen-if-no-logged-in-user

What gives?


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list