18.04 LTS ログイン制御なしでログインがフリーズする

18.04 LTS ログイン制御なしでログインがフリーズする

この素晴らしい OS のコミュニティの皆様、私は 3 日間、すべての作業を行う仮想マシンを復活させようと試みていますが、成功していません。この件については、切実に助けが必要です。

何が起こったかを説明します。デスクトップ更新 GUI から新しい更新があることが報告された後、更新をインストールし、仮想マシンを再起動しました。しかし、それ以降はログイン画面で完全に停止してしまいました。下部に「ubuntu」というテキストがあるログイン画面は表示されますが、ログイン コントロール (ユーザー選択やパスワード入力フィールドなど) はありません。Ctrl + Shift キーと F キーのいずれかを押してもターミナルに移動しないため、完全にフリーズしています。ただし、興味深いのは、vmware ワークステーション (バージョン 15.1.0 ビルド 13591040) からシャットダウン コマンドを送信すると、すべてのサービスを停止する通常のシャットダウンが表示されることです。これは奇妙に思えます。ブート メニューから以前のカーネルを起動しても同じ結果になります。

同様の問題について Google で検索し、推奨されている多くのことを試しました。たとえば、ライブ CD からも起動し、ファイルシステムをマウントして壊れたパッケージがないか確認しました。これは役に立ちませんでした。また、apt と snap の両方を使用して、いくつかのパッケージを強制的に再インストールしました。主に、ログ ファイルにエラーが報告されたパッケージです。成功しませんでした。最も有望なのは snap でした。snap list ですべてのパッケージが壊れていることが示されていたためです。すべてを (セーフ ブートのコマンド ラインから) 更新しましたが、結果は同じでした。

これらのすべての G_UDEV_IS_DEVICE エラー メッセージに関連して gvfs パッケージも報告されているため、gvfs パッケージも再インストールしました。

ログ ファイルには複数のエラーが含まれていますが、この問題が発生する前からいくつかは存在していた可能性があります。そのため、どのエラー メッセージがこの問題に関連しているかはわかりません。

この素晴らしいOSへのご協力とご貢献に心より感謝いたします。ヘンリーより

PS: サイズ制限のため、syslog の最後だけをここにアップロードします。 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

関連情報