web-dev-qa-db-fra.com

Chrome et le chrome prennent beaucoup de temps à charger

Je suis sur Ubuntu 16.04.2 et aujourd'hui, Google Chrome et Chromium ont mis du temps à se charger. Une fois ouverts, ils gèlent fréquemment.

J'ai chargé Chrome à partir de la ligne de commande et j'ai reçu le message suivant:

$ google-chrome
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[8032:8100:0504/165233.258127:ERROR:connection.cc(1954)] Cookie sqlite error 5, errno 0: database is locked, sql: DELETE FROM cookies WHERE persistent != 1
[8032:8070:0504/165235.449471:ERROR:leveldb_database.cc(311)] Failed to open LevelDB database from /home/fd/.config/google-chrome/Default/IndexedDB/https_www.google.pt_0.indexeddb.leveldb,IO error: /home/fd/.config/google-chrome/Default/IndexedDB/https_www.google.pt_0.indexeddb.leveldb/LOCK: No further details. (ChromeMethodBFE: 15::LockFile::1)
[8032:8070:0504/165235.450323:ERROR:indexed_db_backing_store.cc(1403)] Unable to open backing store, not trying to recover - IO error: /home/fd/.config/google-chrome/Default/IndexedDB/https_www.google.pt_0.indexeddb.leveldb/LOCK: No further details. (ChromeMethodBFE: 15::LockFile::1)
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[8032:8074:0504/165337.922687:ERROR:connection.cc(1954)] Cookie sqlite error 5, errno 0: database is locked, sql: COMMIT

Le chargement de chrome à partir de la ligne de commande retourne ceci:

$ chromium-browser
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Killed

J'ai déjà complètement supprimé chrome/chrome, supprimé leurs dossiers respectifs dans .config et .cache

Comment puis-je réparer cela?

19
Filipe Dias

Résolu ceci en créant ce fichier ~/.config/autostart/gnome-keyring-daemon.desktop avec le contenu suivant:

[Desktop Entry]
Type=Application
Exec=/usr/bin/gnome-keyring-daemon
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Gnome Keyring Daemon
Name=Gnome Keyring Daemon
Comment[en_US]=Load gnome keyring daemon
Comment=Load gnome keyring daemon

Ensuite, j'ai redémarré et Chrome/Chromium est revenu à la normale ( source ).

Après le redémarrage, le message "Le trousseau de clés n’a pas été déverrouillé lors de la connexion" a continué à me parvenir. Je m'en suis débarrassé en suivant Comment puis-je arrêter d'être invité à déverrouiller le trousseau 'par défaut' au démarrage?

10
Filipe Dias