Ubuntu 16.04 some applications take too long to start up
I got the same problem out of the blue on my new notebook. After that I did a new ubuntu installation on a desktop machine, and the problem didn't happened there.
After some research, I found the solution here on the Arch Linux Forums
Close all your apps (like Chrome) and try running the following command on a terminal:
gnome-keyring-daemon &
After that, open Chrome again. It might ask for your account password again once. For me this solves the delay problem. Chrome and gnome-terminal are opening very fast now (< 1 sec delay instead 30 sec delay).
For you knowledge, Chrome was throwing the following error before this fix:
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.
I logged Chrome startup with strace
, and this message alone took 25 seconds to appear. I guess this is a system message, not only for Chrome, because I was having the same issue with gnome-terminal starting up as well, and this fix solve that issue too.
Related videos on Youtube
Reginaldo Demarque da Rocha
Math professor at UFF since 2010. I have a doctorate degree in mathematics, my research area is Partial Differential Equations, particularly I'm interested in Controllability for this equations.
Updated on September 18, 2022Comments
-
Reginaldo Demarque da Rocha over 1 year
When I start up Ubuntu 16.04 some applications take too long to run the first time I open them, including Chrome and any PDF viewer. Others, like nautilus, start up immediately.
The first time I try to use a PDF viewer like okular, it takes too long to open. After it opens a PDF file for the first time, other files open quickly. Even if I close all and open some after a long time, it happens quickly.
How can I speed up these programs opening on the first run?
-
Admin almost 8 yearsUsing an SSD would for sure speed things up - as reading data from disk is faster.
-
-
Terrance about 7 yearsI have been fighting with this thing for a while and good job! That is what it took. Many thanks! +1
-
Anwar almost 7 yearsHow is it going to solve the problem actually? Can you explain?
-
Anwar almost 7 yearsThe problem is with gnome-keyring-daemon for sure, but this answer didn't help me because there were
gnome-keyring-daemon
already running. This answer helped askubuntu.com/a/911755/61218 -
user1020989 over 6 yearsThis command only works once. This happens every time with startup. Before shooting me elsewhere, could you update your post to explain what you've learned and what gnome-keyring-daemon & is and does? Thank you
-
Admin almost 2 yearsWow! That wanted to remove a large pile of wanted applications.