Score:1

How to require password upon wake from hibernation instead of before?

in flag

I have a new Lenovo ThinkPad E15 that came with Windows 10 installed. I added Ubuntu 20.04 as an option (dual-boot).

After some tricky configuration, I eventually got hibernation working.

And using "Keyboard Shortcuts", I set up this hotkey to trigger systemctl hibernate:

enter image description here

Unfortunately I have 2 problems:

  1. Upon typing that hotkey combo, I'm prompted for a password. Upon providing the correct password, the computer hibernates. I'd prefer it to instantly hibernate without prompting for any password.

enter image description here

  1. Upon wake, I'm not prompted for a password. This seems like a security problem. I do want my laptop to require a password upon waking.

How can I fix those issues? Thanks!

Ryan avatar
in flag
See also my potentially related question "Ubuntu 20.04: Scroll wheel doesn't work for wireless mouse after system wakes up" https://askubuntu.com/q/1358360/48214
Nmath avatar
ng flag
"*After some tricky configuration, I eventually got hibernation working.*" - something you did caused the problem you are currently experiencing. In order to solve that problem, it would be best if you would include the context and details surrounding your original problem as well as all of the actions you took to solve that problem. My guess is that the original problem was not solved in the best way so it is causing new ones.
Ryan avatar
in flag
@Nmath Thanks for your response. I've had so many problems with Ubuntu 20.04 on my ThinkPad E15 (e.g. it crashed twice yesterday, it has the hibernation problems, the mouse scroll wheel problem, etc etc) that I think I'll install Debian instead today once I can figure out the appropriate architecture file at https://www.debian.org/distrib/netinst. I've heard that Debian tends to be rock-solid for ThinkPads (although I see no mention of E15 in particular anywhere, unfortunately).
Score:0
in flag

This forum comment led me to this blog post, whose steps I followed.

My system no longer prompts me for my password when I press the keyboard shortcut that runs systemctl hibernate.

I know that "link-only" answers are frowned upon, but the article is too long and detailed to replicate here, so I figured it would be "better than nothing" to report back and at least share the link that helped me out.

I also made sure that the article is available on Wayback Machine.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.