笔记本电脑休眠后​​尝试恢复时出现黑屏问题

笔记本电脑休眠后​​尝试恢复时出现黑屏问题

My problem was experienced by several Ubuntu users a few years ago.

The difference is that I'm running the latest Ubuntu operating system (19.10).在此处输入图片描述

I ran with Ubuntu 18.04 Disco Dingo about 1.5 yrs ago; and upgraded to Ubuntu 19.04 about 6 months ago. Never had this problem with both O/S versions using the same laptop (Lenovo ideapad 320).

The problem started about a month ago.

What is the solution to my problem ?

答案1

As a workaround, if you can't login you can login to tty using ctrl+shift+f2 Then Use this command

sudo loginctl list-sessions

To get your current session Then unlock it using this command

sudo loginctl unlock-session {session-id}

答案2

After several weeks of frustration, trying to get my laptop to resume after a Suspend/Hibernate period; and after posting my problem on Ask Ubuntu - I stumbled on a VERY SIMPLE solution ! Maybe not the 'technically correct' solution - but a solution that works very well - nonetheless.

The GNOME Tweaks Tool, which I loaded with Ubuntu 18.04 and again 19.04, has an option to disable/enable the option "Suspend when laptop lid is closed" (under General in the Tweaks menu). I set it to the 'off position' .... and it works perfectly - for me !!

So, when I'm done with my activities on my laptop, I simply close the lid and the screen switches off just before the lid is completely closed. Then when I open the lid (after 1 or 10 or 30 mins or 1 hr) the screen comes back to life, as I left it before closing the lid.

或者,如果我先注销再合上盖子,我也会得到同样好的结果 - 当我打开盖子时,我只需在登录屏幕上输入我的密码即可。

我很高兴 !!!!

相关内容