18.04 LTS 登入凍結,沒有任何登入控制項

18.04 LTS 登入凍結,沒有任何登入控制項

親愛的這個美妙操作系統的社區,自從 3 天以來,我嘗試重新激活我的虛擬機,我在該虛擬機上完成了所有工作,但沒有成功。我在這方面迫切需要幫助。

發生的事情是這樣的:在報告有新更新並重新啟動我的虛擬機器後,我透過桌面更新 GUI 安裝了更新。然而,從那時起它就完全卡在登入畫面上了。我可以看到登入畫面底部有“ubuntu”文本,但是沒有登入控制項(例如使用者選擇或密碼輸入欄位)。它完全凍結了,因為嘗試按 ctrl-shift 和任何 F 鍵都不會帶我到終端。然而有趣的是,如果我透過 vmware 工作站(版本 15.1.0 build-13591040)發送關閉命令,我可以看到定期關閉並停止所有服務,這對我來說似乎很奇怪。透過啟動選單啟動到先前的核心會導致相同的結果。

我在谷歌上搜尋了類似的問題並嘗試了很多建議的方法。例如,我也從 live-cd 啟動,安裝我的檔案系統並檢查損壞的套件。這沒有幫助。我還透過 apt 和 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

我的解決方案是啟動進入安全 shell(在啟動過程中按 ESC),然後從終端安裝一個更新的核心:

apt install linux-generic-hwe-18.04

相關內容