Unfreeze Ubuntu on Wakeup
Lately, I have been experiencing freezes in ubuntu. I am not 100% sure, but they seem to occur after waking the computer after sleep.
A workaround I have found that seemed to work is to:
- Switch to a text VM.
- Login and run pm-suspend.
- Wake up the computer.
- Switch back to the VM running X.
Now, a bit more detail on how each step is done.
You can switch to a text VM with ctrl+alt+f1
through f6
. Each function key is a separate VM. Note, this make take a while.
Login and run:
$ sudo pm-suspend
Your computer should go to sleep.
Wake the computer up, then switch back to the VM running X with ctlr+alt+f7
.
No idea if this will work every time, but it just worked for me.
This was done connecting Ubuntu 16.04.