[nmglug] Hibernate failure
wezzels at gmail.com
Sat Mar 12 17:07:09 PST 2022
Meant this to send this too. I like being able to decide what lid
systemctl unmask sleep.target suspend.target hibernate.target
sudo nano /etc/systemd/logind.conf
- HandleLidSwitch=poweroff computer shuts down when lid is closed
- HandleLidSwitch=hibernate Computer sleeps when lid is closed
- HandleLidSwitch=suspend computer hangs when lid is closed
- HandleLidSwitch=ignore does nothing
systemctl restart systemd-loginrestart .
On Sat, Mar 12, 2022 at 12:53 PM Brian O'Keefe <okeefe at cybermesa.com> wrote:
> Ditto. Ubuntu 20.04 with Mate DE. I can close lid and suspend easily and
> awake easily. I don't unplug the power though as that's a risk if the
> battery craps out before waking, as Ted states
> On 3/12/22 08:35AM, 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 <Wayne at tradetimer.com> 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
>> > I found the file
>> > 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
>> > nmglug at lists.nmglug.org
>> > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>> nmglug mailing list
>> nmglug at lists.nmglug.org
> nmglug mailing listnmglug at lists.nmglug.orghttp://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
> nmglug mailing list
> nmglug at lists.nmglug.org
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3913 bytes
Desc: not available
More information about the nmglug