web-dev-qa-db-fra.com

Gnome sur Ubuntu 18.04 se bloque après la connexion

Une fois connecté à Ubuntu, je peux voir mon bureau pendant environ 1 à 2 secondes, puis je suis automatiquement déconnecté. Voici une partie de /var/log/syslog, qui contient probablement la solution à cette situation:

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

Je l'ai compris. C'était un problème avec l'extension GNOME appelée Unite. Après la désactivation, il restait un problème, je devais donc l'enlever complètement.

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

a fait le travail :)

6
dlakomski

Comme suggéré, vous pouvez supprimer tous les fichiers de l'extension incriminée.

Vous pouvez également utiliser une méthode moins invasive (en particulier si vous n’êtes pas sûr que le problème pose une extension)

  1. lister tous les noms de postes via ls ~/.local/share/gnome-Shell/extensions pour trouver le nom complet (y compris la partie url après le @)
  2. désactiver l'extension via gnome-Shell-extension-tool -d [email protected] par ex. gnome-Shell-extension-tool -d [email protected]
  3. Vous activez à nouveau l'extension avec -e (comme e nable) au lieu de -d (comme d isable)

… Que je connais depuis "Comment activer/désactiver une extension gnome-Shell en ligne de commande"

Si vous souhaitez vérifier si une extension est à l'origine de votre problème, vous pouvez également activer/désactiver toutes ces fonctionnalités, puis procédez comme indiqué ci-dessus pour obtenir un diagnostic plus détaillé:

gsettings set org.gnome.Shell disable-user-extensions true (et, pour restaurer l'état précédent, utilisez false au lieu de true) ( source )

2
JanD