Me too plus 'suspend' problems, etc. Re: Hibernate failure
Tom Ashcraft <[email protected]> Sat, 12 Mar 2022 12:32:10 -0700
| Newsgroups | gmane.org.user-groups.linux.nmglug |
|---|---|
| Message-ID | <[email protected]> |
Debian 11 with Xfce desktop environment for the most part is a real pleasure. But 'hibernate' is hopeless and 'suspend' also has significant problems. New rules added per wiki.debian.org suggestions do not help. After a cold restart the erratic 'suspend' errors often disappear for a few hours but always come back. Frequently, upon inexplicably slow resumes from 'suspend', the open applications in a session seem to start locking up whereupon the only way to get to get everything working again is a hard power-key shutdown and a cold reboot. As an aside, Debian 11 also causes some new problems with an old Windows program I use under Wine, though I've been able to resolve these (annoyingly) by copying over the entire .wine directory from a prior Debian 10 installation. I experience this issue under both Debian 11 Xfce and Debian 11 KDE environments. On 3/12/22 08:35, Ted Pomeroy wrote: > LeRoy & NMGLugers, 1) I suggest you keep power on overnight. If you > suspend and power fails your ram image of work is lost. You can try > hibernate, but there have been issues with Linux and hibernate. > Hibernate puts the snapshot image of your work on the hard drive, but > unless the resume is set to resume form the correct location you will > have a failure. > My routine is to suspend during the day, if I go out or take an hour > off for non-computer work. Over night I switch off after saving work > and closing all apps. Your LXde is fine. I use Xfce4 or Mate, but the > gui desktop is not the issue. I have found Mate much easier to manage > after also finding the "extras" package for it and loading that. > However, that just gives me a richer gui, did not help with suspend. > I hope this helps. If not ask more questions. Thank you, Ted P > > On Sat, Mar 12, 2022 at 7:21 AM Wayne <[email protected]> wrote: > > > I have often heard that Linus can have problems with hibernation. > Can you just 'Suspend' the system instead? That ssem to be less > problematical, though even that can be iffy, depending on the laptop. > > > On 3/11/22 8:02 PM, LeRoy Diener wrote: > > Hi NMGLUG folks, > > > > I'm having an issue recently that I hope I can get help with. > > It's on my Debian 11 system, updated. > > Recently, I've had problems when I leave the laptop overnight. > > When I stop, I click on Logout > Suspend, then the screen goes > black and I close the lid. I expect that when I open the lid in > the morning and enter my password, I should be back where I left off. > > > > When I've done this recently, it works sometimes. > > Other times, it crashes after the batteries run out of power in > the middle of the night. > > Other times, it works, but I see a message in the morning "None > of the screen lock tools ran successfully, the screen will not be > locked. Do you still want to suspend the system?" > > Other times, it works, but I see a message in the morning > "Authentication is required to hibernate the system." > > > > I have a setting in Power Manager to hibernate when inactive for > one hour, so that's what I'm focusing on now. > > I found some helpful info in this link > https://askubuntu.com/questions/543921/authentication-required-before-suspend > > I found the file > /usr/share/polkit-1/actions/org.freedesktop.login1.policy > > In that file, I found this segment: > > <action id="org.freedesktop.login1.hibernate"> > > <description gettext-domain="systemd">Hibernate the > system</description> > > <message gettext-domain="systemd">Authentication is required to > hibernate the system.</message> > > <defaults> > > <allow_any>auth_admin_keep</allow_any> > > <allow_inactive>auth_admin_keep</allow_inactive> > > <allow_active>yes</allow_active> > > </defaults> > > </action> > > > > Other info: > > I usually have the laptop plugged into an external monitor, and > I usually have the power strip (which powers the external monitor > and laptop) turned off overnight. > > > > Any ideas? > > > > Thanks in advance. > > LeRoy > > > > -- > > > > There is something glorious birthing within all of us. (New for > 2021) > > I am the Love of God, no matter what. > > BSA > > LeRoy Diener > > 213-LEROYIZ > > 213-537-6949 > > https://leroydiener.com <https://leroydiener.com/> > > > > _______________________________________________ > > nmglug mailing list > > [email protected] > > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org > > > _______________________________________________ > nmglug mailing list > [email protected] > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org > > > _______________________________________________ > nmglug mailing list > [email protected] > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org _______________________________________________ nmglug mailing list [email protected] http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org