You are not logged in.

#1 2021-10-20 16:22:22

amity88
Member
Registered: 2012-11-21
Posts: 17

LightDM+Fluxbox:Hibernation works but empty workspace on resume[solve]

I have a swap partition with space larger than the amount of RAM that I have. I've also added the swap partition UUID to resume from in grub. The hibernation works, resume works but when I log back in, none of the previously opened applications were restored.

Could you guys guide me on what I'm missing?

The log has this line:

systemd[1]: Reached target Sleep.
systemd[1]: Starting Hibernate...
systemd-sleep[988]: Entering sleep state 'hibernate'...
kernel: PM: Image not found (code -22)

Last edited by amity88 (2021-10-20 16:53:15)

Offline

#2 2021-10-20 16:50:12

amity88
Member
Registered: 2012-11-21
Posts: 17

Re: LightDM+Fluxbox:Hibernation works but empty workspace on resume[solve]

Okay, it was a silly problem. This got solved by rebuilding the initramfs with the resume hook enabled.

sudo vi /etc/mkinitcpio.conf

add resume to the HOOK parameter

sudo mkinitcpio -P

Offline

Board footer

Powered by FluxBB