Ubuntu 16.04 - Some applications are slow to start [duplicate]
Solution 1:
I had the same problem and running the following command solved it:
gnome-keyring-daemon &
I found the solution in this answer: https://askubuntu.com/a/838985/690438
Edit: The origin of the problem seems to be the dbus-user-session package. After uninstalling, everything works fine. The bug was solved here https://bugs.launchpad.net/bugs/1689825