On Sat, Mar 29, 2025 at 4:52 PM ASSI via Cygwin <cygwin@cygwin.com> wrote:

> Soren via Cygwin writes:
> > I'll add a bit more information in hopes that we can still find a fix.
> This
> > Windows 10 laptop goes into "sleep mode" after a couple hours of no
> > keyboard or mouse input, and when it does so sshd disconnects any
> > sessions.
>
> You can use screen or tmux at the other end of that connection so you
> can reconnect and you can run the connection over mosh so it will be
> more resilient to such events.
>
> > I didn't mention that in my first message. Sorry. The way I would *like*
> > Windows to work would be to stay in full power mode while a service like
> > sshd is active. I don't know my laptop well enough to know if there is
> any
> > setting I can toggle to avoid this semi-shutdown, or at least extend the
> > time before it does this. Perhaps someone on the list knows?
>
> Find the "energy saving plan" in the settings and tell it to never go to
> sleep except perhaps on closing the lid or pressing the power button.
>
> I did it! Thank you, Achim. I didn't realize it would be so easy. I'm just
so alienated from my laptop ;-) There were settings for "plugged in" and
for "on battery" and I changed them to "never going to sleep or hibernating
while plugged in."

Ciao,
    Soren A.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to