在 Ubuntu 17.10 上挂起后无法登录

Col*_*rre 8 login-screen suspend 17.10

几天前在我的 Lenovo Thinkpad Edge 上全新安装了 Ubuntu 17.10(使用不同分区上的现有主目录)。

当我关闭盖子并将其置于睡眠状态时,唤醒它时我无法再登录。有时它会花费很长时间检查密码,然后说密码错误。有时我什至无法在密码框中输入任何内容。为了解决这个问题,我必须关闭并重新启动。重新启动时登录总是可以正常工作。

有什么帮助吗?

Gle*_*son 8

崩溃计划解决方案

对我来说,问题是 CrashPlan 在我离开时打开了太多文件。

重新启动后,我查看/etc/log/syslog并在登录失败时发现了“设备上没有剩余空间”错误。如果您使用 CrashPlan 并找到类似的消息,那么这也可能对您有用。消息如:

Dec 11 13:01:43 myDesktop systemd[1]: anacron.service: Failed to add inotify watch descriptor for control group /system.slice/anacron.service: No space left on device
Dec 11 13:36:15 myDesktop gdm-password]: AccountsService: Failed to monitor logind session changes: No space left on device
Dec 11 13:36:40 myDesktop systemd[1]: apt-daily.service: Failed to add inotify watch descriptor for control group /system.slice/apt-daily.service: No space left on device
Run Code Online (Sandbox Code Playgroud)

CrashPlan 网站上的说明对我有用(请在尝试您的系统之前阅读):https : //support.code42.com/CrashPlan/4/Troubleshooting/Linux_real-time_file_watching_errors

基本上,作为 root 我在末尾添加了这一行 /etc/sysctl.conf

fs.inotify.max_user_watches=1048576
Run Code Online (Sandbox Code Playgroud)

我很感谢启动板上的这个错误将我发送到 CrashPlan 解决方案:https : //bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1726996