Resume from Suspend forgets everything

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
JSpeed
Level 1
Level 1
Posts: 13
Joined: Sat Dec 03, 2016 8:06 pm

Resume from Suspend forgets everything

Post by JSpeed » Sun Aug 05, 2018 11:16 pm

Beginning (that I know of) this morning (HST=GMT-10), when I resume from suspend, the computer completely forgets my desktop and I have to log in as if I rebooted. It reloads all the autostart programs and nothing I had open is still open. Even the password screen shows as if it's a fresh boot, not resuming.
This happens no matter which way I suspend and I press a "Shift" key to resume (any key will do but they show up on the password bar).

The last things I updated were
mintwelcome - today
Libreoffice - yesterday
VLC - 3 days ago
libmspack0 - 3 days ago
Chrome, Chromium, libmysqlclient20, amd64-microcode, intel-microcode, lshw, ca-certificates-java, guile-2.0-libs - 5 days ago
mintsystem - 9 days ago
mono - 10 days ago

does not account for "autoupdates". I rebooted my computer yesterday, and did not suspend it until bedtime.
Suspend is only manual on my computer, any other time, the screens stay on and everything is alive. I normally press the "Sleep" key to suspend.

I know there have been other suspend issues and maybe this is a casualty of getting those fixed.

Thanks

JSpeed
Level 1
Level 1
Posts: 13
Joined: Sat Dec 03, 2016 8:06 pm

Re: Resume from Suspend forgets everything

Post by JSpeed » Fri Aug 10, 2018 1:18 pm

Am I the only person having this issue?

Update. Found the bug, not a problem anymore.

Wade
Level 1
Level 1
Posts: 8
Joined: Tue Aug 30, 2016 11:55 pm

Re: Resume from Suspend forgets everything

Post by Wade » Mon Aug 20, 2018 1:27 am

What was the solution? I am having the same problem,

JSpeed
Level 1
Level 1
Posts: 13
Joined: Sat Dec 03, 2016 8:06 pm

Re: Resume from Suspend forgets everything

Post by JSpeed » Mon Aug 20, 2018 2:02 am

It's a bug in Login.

go to "System Settings" and "Login Window"
Under the "Users" tab, put "Hid the user list" to "OFF"
Under the "Settings" tab, put "HiDPI support" and "Monitor" both to "Auto"
Reboot and it should work. Or, it did for me. Bugs are buggy that way.

These settings should not effect this at all. But, there you go.

Wade
Level 1
Level 1
Posts: 8
Joined: Tue Aug 30, 2016 11:55 pm

Re: Resume from Suspend forgets everything

Post by Wade » Wed Aug 22, 2018 10:11 am

Thanks for the quick reply. That did not fix my situation, but it got me one step away from a solution--not a fix, but a workaround I can live with.

I am using LM 19 MATE.
My Login Window settings were already as you recommended: "Hide the user list" = OFF, and "HiDPI support" & "Monitor" = "Auto".

While I was in the Login Window settings, I changed it to automatic login instead of requiring username and password. Now I can suspend and wake up with no problems!

Thanks

JSpeed
Level 1
Level 1
Posts: 13
Joined: Sat Dec 03, 2016 8:06 pm

Re: Resume from Suspend forgets everything

Post by JSpeed » Wed Aug 22, 2018 12:43 pm

An option to prevent automatic login, if you want to need signing in, would be to toggle all those setting, reboot, then toggle them back. There might be one of them that's corrupt.

Wade
Level 1
Level 1
Posts: 8
Joined: Tue Aug 30, 2016 11:55 pm

Re: Resume from Suspend forgets everything

Post by Wade » Fri Aug 24, 2018 11:14 am

Well, that worked a few times, but this morning when I woke up my computer, I once again had the login screen, and when I entered my password, everything was gone.

I have been having random problems with suspend to RAM ever since I started using using Linux Mint 19 (no problems at all on 17.3), but I think the current problem started with kernel 4.15.0-32. Before 4.15.0-32, it usually worked OK, but sometimes upon wake up, computer seemed to be running (noise from fan and hard drive), but monitors were black, and keyboard and mouse were disabled, and the only way to recover was with a hard reboot by holding down the power button for several seconds.

So, here is what I did today:
(1) Toggled settings on Login window as recommended (but I am leaving it set to autologin).
(2) Upgraded to kernel 4.15.0-33

I am hoping that things will improve with the new kernel.

JSpeed
Level 1
Level 1
Posts: 13
Joined: Sat Dec 03, 2016 8:06 pm

Re: Resume from Suspend forgets everything

Post by JSpeed » Fri Aug 24, 2018 1:13 pm

I had the "works a few times then stops" issue, but it seems to be better and I'm not sure why.

It also worked on all version 18, Cinnamon. Only seemed to start with LM19.

It'd be nice to have some one chime in with more information. Like someone who understands where this problem is coming from.

If I change those settings again, it will start messing up on my computer. Haven't tried it sense before the last 2 kernel updates, though.

Wade
Level 1
Level 1
Posts: 8
Joined: Tue Aug 30, 2016 11:55 pm

Re: Resume from Suspend forgets everything

Post by Wade » Fri Aug 31, 2018 12:38 pm

It is working OK now.

The last time I rebooted was 7 days ago, after upgrading to kernel 4.15.0-33. Since then, I have suspended and resumed about 10 or 15 times with no problems!

Perhaps there was a bug in the kernel that got fixed?

Post Reply

Return to “Cinnamon”