18.04 LTS 登录冻结,没有任何登录控制

18.04 LTS 登录冻结,没有任何登录控制

亲爱的这个出色操作系统的社区,三天来,我一直试图重新启动我用来完成所有工作的虚拟机,但一直没有成功。我迫切需要这方面的帮助。

事情是这样的:在桌面更新 GUI 报告有新更新后,我通过它安装了更新,然后重新启动了我的虚拟机。但是从那时起,它就完全卡在登录屏幕上了。我可以看到登录屏幕底部有“ubuntu”文字,但是没有登录控件(如用户选择或密码输入字段)。它完全冻结了,因为尝试按下 ctrl-shift 和任何 F 键都无法将我带到终端。然而有趣的是,如果我通过我的 vmware 工作站(版本 15.1.0 build-13591040)发送关机命令,我可以看到常规关机并停止所有服务,这对我来说似乎很奇怪。通过启动菜单启动到上一个内核会导致相同的结果。

我谷歌搜索了类似的问题,并尝试了很多推荐的方法。例如,我也从 live-cd 启动,挂载我的文件系统并检查是否有损坏的软件包。这没有帮助。我还通过 apt 和 snap 强制重新安装了几个软件包。主要是日志文件中报告错误的软件包。没有成功。最有希望的是 snap,因为它在 snap 列表中显示所有软件包都已损坏。我刷新了所有软件包(从安全启动的命令行),但结果仍然相同。

我还重新安装了 gvfs 包,因为该包与所有这些 G_UDEV_IS_DEVICE 错误消息有关。

日志文件包含多个错误,但有些错误可能在问题出现之前就已经存在了。所以我不确定哪个错误消息与这个问题有关。

非常感谢你的帮助以及你对这个出色的操作系统的贡献。 诚挚的,亨利

PS:由于大小限制,我在这里仅上传我的系统日志的末尾: Jun 16 21:00:35 ubuntu systemd[1]: Started Hostname Service. Jun 16 21:00:38 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:00:48 ubuntu gvfsd-metadata[4760]: message repeated 35 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:00:48 ubuntu nautilus[6930]: Called "net usershare info" but it failed: »net usershare« gab den Fehler 255 zurück: mkdir failed on directory /var/run/samba/msg.lock: Keine Berechtigung#012net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Datei oder Verzeichnis nicht gefunden#012Please ask your system administrator to enable user sharing. Jun 16 21:00:50 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:00:52 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:01:22 ubuntu gnome-shell[4436]: Some code accessed the property 'discreteGpuAvailable' on the module 'appDisplay'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. Jun 16 21:01:22 ubuntu gnome-shell[4436]: Some code accessed the property 'WindowPreviewMenuItem' on the module 'windowPreview'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. Jun 16 21:01:24 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:01:24 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:01:25 ubuntu dbus-daemon[1179]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.97' (uid=999 pid=6930 comm="/usr/bin/nautilus --gapplication-service " label="unconfined") Jun 16 21:01:25 ubuntu systemd[1]: Starting Hostname Service... Jun 16 21:01:25 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:01:25 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:01:25 ubuntu dbus-daemon[1179]: [system] Successfully activated service 'org.freedesktop.hostname1' Jun 16 21:01:25 ubuntu systemd[1]: Started Hostname Service. Jun 16 21:01:27 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:01:29 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:02:05 ubuntu nautilus[6930]: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed Jun 16 21:02:07 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:02:09 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:02:22 ubuntu nautilus[6930]: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed Jun 16 21:02:22 ubuntu nautilus[6930]: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed Jun 16 21:02:24 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:02:26 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:02:26 ubuntu nautilus[6930]: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed Jun 16 21:02:26 ubuntu nautilus[6930]: message repeated 2 times: [ gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed] Jun 16 21:02:28 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:02:30 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:02:36 ubuntu nautilus[6930]: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed Jun 16 21:02:38 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:02:40 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:02:57 ubuntu systemd[1]: Started Run anacron jobs. Jun 16 21:02:59 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:03:01 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:03:04 ubuntu nautilus[6930]: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed Jun 16 21:03:06 ubuntu gvfsd-metadata[4760]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed Jun 16 21:03:08 ubuntu gvfsd-metadata[4760]: message repeated 3 times: [ g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed] Jun 16 21:03:17 ubuntu gsd-color[4555]: unable to get EDID for xrandr-Virtual1: unable to get EDID for output

答案1

终于让它再次工作了!对于遇到同样问题的人,我在这里找到了解决方案: 错误 1832138

我的解决方案是启动到安全外壳(启动时按 ESC),然后从终端安装一个较新的内核:

apt install linux-generic-hwe-18.04

相关内容