web-dev-qa-db-ja.com

ログイン後にUbuntu 18.04のGnomeがクラッシュする

Ubuntuにログインすると、デスクトップが約1〜2秒間表示され、その後自動的にログアウトされます。これはおそらく/var/log/syslogの一部で、おそらくこの状況の解決策を含んでいます:

Dec  4 09:15:21 dlakomski nautilus-deskto[4134]: Can not get _NET_WORKAREA
Dec  4 09:15:21 dlakomski nautilus-deskto[4134]: Can not determine workarea, guessing at layout
Dec  4 09:15:21 dlakomski dropbox.desktop[4149]: dropbox: load fq extension '/home/dlakomski/.dropbox-dist/dropbox-lnx.x86_64-62.4.103/tornado.speedups.cpython-35m-x86_64-linux-gnu.so'
Dec  4 09:15:21 dlakomski dropbox.desktop[4149]: dropbox: load fq extension '/home/dlakomski/.dropbox-dist/dropbox-lnx.x86_64-62.4.103/cpuid.compiled._cpuid.cpython-35m-x86_64-linux-gnu.so'
Dec  4 09:15:21 dlakomski gnome-Shell[4183]: Telepathy is not available, chat integration will be disabled.
Dec  4 09:15:21 dlakomski dropbox.desktop[4149]: dropbox: load fq extension '/home/dlakomski/.dropbox-dist/dropbox-lnx.x86_64-62.4.103/linuxffi.resolv.compiled._linuxffi_resolv.cpython-35m-x86_64-linux-gnu.so'
Dec  4 09:15:21 dlakomski gnome-Shell[4183]: type name 'Gjs_Unite.Settings' contains invalid characters
Dec  4 09:15:21 dlakomski gnome-Shell[4183]: g_type_set_qdata: assertion 'node != NULL' failed
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: **
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: Gjs:ERROR:gi/object.cpp:2024:void gjs_define_object_class(JSContext*, JS::HandleObject, GIObjectInfo*, GType, JS::MutableHandleObject, JS::MutableHandleObject): assertion failed: (gtype != G_TYPE_INVALID)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: == Stack trace for context 0x5604b24f44d0 ==
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #0 0x7ffd06e7e9c0 b   resource:///org/gnome/gjs/modules/_legacy.js:531 (0x7f32102bd4d8 @ 363)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #1 0x7ffd06e7ea20 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f32102b5de0 @ 71)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #2 0x7ffd06e7ead0 b   resource:///org/gnome/gjs/modules/_legacy.js:114 (0x7f32102b5f78 @ 178)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #3 0x7ffd06e7eba0 b   resource:///org/gnome/gjs/modules/_legacy.js:65 (0x7f32102b5cd0 @ 152)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #4 0x5604b291fe60 i   /home/dlakomski/.local/share/gnome-Shell/extensions/[email protected]/convenience.js:7 (0x7f31a77abbc0 @ 278)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #5 0x5604b291fdc8 i   /home/dlakomski/.local/share/gnome-Shell/extensions/[email protected]/handlers.js:3 (0x7f31a77ab340 @ 82)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #6 0x5604b291fd30 i   /home/dlakomski/.local/share/gnome-Shell/extensions/[email protected]/module.js:3 (0x7f31a7782e68 @ 82)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #7 0x5604b291fc98 i   /home/dlakomski/.local/share/gnome-Shell/extensions/[email protected]/modules/activateWindow.js:4 (0x7f31a7782cd0 @ 103)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #8 0x5604b291fc00 i   /home/dlakomski/.local/share/gnome-Shell/extensions/[email protected]/extension.js:4 (0x7f31a7782918 @ 165)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #9 0x5604b291fb28 i   resource:///org/gnome/Shell/ui/extensionSystem.js:231 (0x7f31f065a450 @ 214)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #10 0x5604b291fa90 i   resource:///org/gnome/Shell/ui/extensionSystem.js:168 (0x7f31f065a2b8 @ 182)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #11 0x5604b291fa10 i   resource:///org/gnome/Shell/ui/extensionSystem.js:318 (0x7f31f065a9a0 @ 13)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #12 0x7ffd06e85020 b   resource:///org/gnome/gjs/modules/signals.js:128 (0x7f32102d2230 @ 386)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #13 0x5604b291f930 i   resource:///org/gnome/Shell/misc/extensionUtils.js:191 (0x7f31f065e120 @ 459)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #14 0x7ffd06e85c90 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f32102b5de0 @ 71)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #15 0x5604b291f8a0 i   resource:///org/gnome/Shell/misc/extensionUtils.js:197 (0x7f31f065e230 @ 28)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #16 0x7ffd06e86990 b   resource:///org/gnome/Shell/misc/fileUtils.js:27 (0x7f31f065e340 @ 323)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #17 0x5604b291f810 i   resource:///org/gnome/Shell/misc/extensionUtils.js:196 (0x7f31f065e1a8 @ 72)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #18 0x7ffd06e875f0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f32102b5de0 @ 71)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #19 0x5604b291f780 i   resource:///org/gnome/Shell/ui/extensionSystem.js:320 (0x7f31f065a918 @ 201)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #20 0x5604b291f700 i   resource:///org/gnome/Shell/ui/extensionSystem.js:328 (0x7f31f065aa28 @ 36)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #21 0x5604b291f680 i   resource:///org/gnome/Shell/ui/extensionSystem.js:359 (0x7f31f065ac48 @ 67)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #22 0x5604b291f5f8 i   resource:///org/gnome/Shell/ui/extensionSystem.js:367 (0x7f31f065acd0 @ 41)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #23 0x5604b291f568 i   resource:///org/gnome/Shell/ui/main.js:229 (0x7f32102da340 @ 1152)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #24 0x5604b291f4e0 i   resource:///org/gnome/Shell/ui/main.js:133 (0x7f32102da230 @ 237)
Dec  4 09:15:21 dlakomski org.gnome.Shell.desktop[4183]: #25 0x5604b291f468 i   <main>:1 (0x7f3210286b38 @ 48)
Dec  4 09:15:22 dlakomski gnome-session[3737]: gnome-session-binary[3737]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Dec  4 09:15:22 dlakomski gnome-session-binary[3737]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Dec  4 09:15:22 dlakomski gnome-session[3737]: gnome-session-binary[3737]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Dec  4 09:15:22 dlakomski gnome-session-binary[3737]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Dec  4 09:15:22 dlakomski gnome-session-binary[3737]: Unrecoverable failure in required component org.gnome.Shell.desktop
Dec  4 09:15:22 dlakomski gnome-session[3737]: gnome-session-binary[3737]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Dec  4 09:15:22 dlakomski gnome-session-binary[3737]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Dec  4 09:15:22 dlakomski bluetoothd[1223]: Endpoint unregistered: sender=:1.153 path=/MediaEndpoint/A2DPSource
Dec  4 09:15:22 dlakomski bluetoothd[1223]: Endpoint unregistered: sender=:1.153 path=/MediaEndpoint/A2DPSink
Dec  4 09:15:22 dlakomski nautilus-deskto[4134]: nautilus-desktop: Fatal IO error 0 (Sukces) on X server :0.
Dec  4 09:15:22 dlakomski gsd-power[4039]: gsd-power: Fatal IO error 11 (Zasoby chwilowo niedostępne) on X server :0.
Dec  4 09:15:22 dlakomski kernel: [   25.769747] rfkill: input handler enabled
Dec  4 09:15:22 dlakomski at-spi-bus-launcher[3853]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Dec  4 09:15:22 dlakomski at-spi-bus-launcher[3853]:       after 23 requests (23 known processed) with 0 events remaining.
Dec  4 09:15:22 dlakomski gsd-xsettings[4056]: gsd-xsettings: Fatal IO error 11 (Zasoby chwilowo niedostępne) on X server :0.
Dec  4 09:15:22 dlakomski gsd-wacom[4062]: gsd-wacom: Fatal IO error 11 (Zasoby chwilowo niedostępne) on X server :0.
Dec  4 09:15:22 dlakomski gsd-clipboard[4072]: gsd-clipboard: Fatal IO error 11 (Zasoby chwilowo niedostępne) on X server :0.
Dec  4 09:15:22 dlakomski gsd-color[4078]: gsd-color: Fatal IO error 11 (Zasoby chwilowo niedostępne) on X server :0.
11
dlakomski

私はそれを考え出した。 Uniteと呼ばれるGNOME拡張の問題でした。無効にした後も問題が発生するため、完全に削除する必要がありました。

rm -rf ~/.local/share/gnome-Shell/extensions/[email protected]

仕事をしました:)

6
dlakomski

提案されているように、問題のある拡張子のすべてのファイルを削除できます。

また、より侵襲性の低い方法を使用することもできます(特に、拡張機能が問題かどうかわからない場合)

  1. ls ~/.local/share/gnome-Shell/extensionsを介してすべての拡張機能名をリストし、フルネームを見つけます(@の後のURL部分を含む)
  2. gnome-Shell-extension-tool -d [email protected]経由で拡張機能を無効にします。 gnome-Shell-extension-tool -d [email protected]
  3. -e(asd)の代わりに-denableなど)を使用して拡張機能を再度有効にします。できる)

「コマンドラインからgnome-Shell拡張機能を有効化/無効化する方法」

拡張機能が問題の原因であるかどうかを確認したい場合は、それらをすべて有効/無効にしてから、上記を実行してより詳細な診断を行うこともできます。

gsettings set org.gnome.Shell disable-user-extensions true(および、以前の状態を復元するには、falseの代わりにtrueを使用します)( source

2
JanD