dbus-launch of gnome-terminal slow on 20.04
Since upgrading to 20.04 I've seen a roughly 20 second delay between running 'dbus-launch gnome-terminal' and when the terminal actually opens. This happens 100% of the time and was basically instant on previous versions (I've tried on 18.04, 19.04, and 19.10).
I've tried explicitly unlocking my keyring given the secret error message below and I've verified gnome-terminal-
Any suggestions in figuring out how to debug or root cause this is appreciated as debugging issues with dbus is still mostly a mystery to me.
I get the following output from the dbus-launch invocation:
# _g_io_module_
# watch_fast: "/org/appmenu/
# unwatch_fast: "/org/appmenu/
# watch_established: "/org/appmenu/
# _g_io_module_
# watch_fast: "/org/appmenu/
# unwatch_fast: "/org/appmenu/
# watch_established: "/org/appmenu/
# Failed to use specified server: GDBus.Error:
# Falling back to default server.
# watch_fast: "/org/gnome/
# unwatch_fast: "/org/gnome/
# watch_established: "/org/gnome/
And I see the following in syslog during the launch (note the delay in timestamps):
May 11 09:15:57 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] AppArmor D-Bus mediation is enabled
May 11 09:15:57 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:57 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'org.gtk.
May 11 09:15:57 rfairfax-ubh org.gtk.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'org.gnome.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'org.freedeskto
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'org.freedeskto
May 11 09:15:58 rfairfax-ubh systemd[1]: run-user-
May 11 09:15:58 rfairfax-ubh systemd[1108]: run-user-
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='ca.
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'ca.desrt.dconf'
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'org.freedeskto
May 11 09:15:58 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Activating service name='org.
May 11 09:15:58 rfairfax-ubh org.freedesktop
May 11 09:16:23 rfairfax-ubh xdg-desktop-
May 11 09:16:23 rfairfax-ubh xdg-desktop-
May 11 09:16:23 rfairfax-ubh dbus-daemon[6297]: [session uid=1000 pid=6295] Successfully activated service 'org.freedeskto
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ryan Fairfax for more information if necessary.