Chrome 和 Chromium 需要很长时间才能加载

Fil*_*ias 20 google-chrome chromium 16.04

我在 Ubuntu 16.04.2 上,今天 Google Chrome 和 Chromium 开始需要很长时间才能加载。一旦打开,它们就会经常冻结。

我从命令行加载 Chrome 并收到以下消息:

$ 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
Run Code Online (Sandbox Code Playgroud)

从命令行加载铬返回:

$ 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
Run Code Online (Sandbox Code Playgroud)

我已经完全删除了 chrome/chromium,在 .config 和 .cache 中删除了它们各自的文件夹

我怎样才能解决这个问题?

Fil*_*ias 10

通过~/.config/autostart/gnome-keyring-daemon.desktop使用以下内容创建此文件来解决此问题:

[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
Run Code Online (Sandbox Code Playgroud)

然后我重新启动,Chrome/Chromium 恢复正常(source)。

重新启动后,我不断收到此消息“登录时未解锁密钥环”,并且不得不输入我的密码。我通过遵循如何停止提示我在启动时解锁“默认”钥匙圈来摆脱它

  • 实际上 [这个答案](https://askubuntu.com/a/911755/61218) 帮助干净地解决了这个问题 (2认同)