Ubuntu 20.04.3 desktop (Cinnamon) - SSH disconnects when user logs off the desktop!
Chris Green
cl at isbd.net
Sat Jan 22 11:25:26 UTC 2022
On Sat, Jan 22, 2022 at 12:12:17PM +0100, Bo Berglund wrote:
> On Sat, 22 Jan 2022 07:24:30 +0000, Colin Law <clanlaw at gmail.com> wrote:
>
> >As Karl suggests that sounds as if it has gone to sleep. You should be able
> >to see that from the LEDs on the machine. Alternatively check syslog after
> >you bring it back up. If it is that then you have configured something to
> >send it to sleep when you logoff.
> >
> >Colin L
> >
>
> I found a question (but no answer) about the same situation as I have here:
>
> https://askubuntu.com/questions/1281232/how-to-disable-sleep-at-the-login-screen-if-no-logged-in-user
>
>
> Is there a solution and if so where do I go (in Cinnamon or on the terminal)?
>
You need to stop all the screen lock and screensaver programs, or at
least some of them. I have a laptop which I connect to using ssh and
it stays up 'for ever' if it's turned on. It may also be in your
'power manager' settings. I use xubuntu so the details may be
slightly different, but what I have is:-
In "Session and Startup" I have both "Screen Locker" and "Screensaver"
disabled (i.e. they don't autostart).
In my Power Manager settings under the following tabs:-
System - System power saving - "When inactive for" is set to 'never'.
Display - I blank the display after 13 minutes, put to sleep after
14 minutes, switch off after 15 minutes. Thus I don't need any
screensaver program to prevent screen burn. Note this just turns
off the display, not the computer.
--
Chris Green
More information about the ubuntu-users
mailing list