Score:0

Ubuntu 23.04 keeps crashing after reopening lid/login

za flag

The laptop works great with minimal issues. But when I close the lid to suspend the system and reopen it again, it crashes by logging me in and out repeatedly while flickering the black screen. Restarting the laptop solves the issue, but it's unreasonable to go on without being able to close the lid.

waltinator avatar
it flag
Do you have "swap" space? The terminal command `free` will tell you. Read `man mkswap swapon fstab fallocate` to create some. Swap space must be contiguous. use `mkswap` or `fallocate`, not `dd`. Traditionally, swap space of 1.5 × RAM has been recommended, but YMMV. If you don't plan to hibernate your system, you can have less than 1.0 × RAM.
Gin  avatar
za flag
@waltinator yes. I have 16GB RAM and a swap space as well.
Score:0
za flag

It was a hardware issue. My laptop is Razor Blade. I found this link about my laptop's common issues with ubuntu. The solution was:

  1. Edit the default grub config:
sudo nano /etc/default/grub
  1. Add button.lid_init_state=open to the end of the GRUB_CMDLINE_LINUX_DEFAULT option, like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash button.lid_init_state=open"
  1. Make changes permanent:
sudo update-grub

Then restart.

Other things I've tried:

I sit in a Tesla and translated this thread with Ai:

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.