dbus-launch of gnome-terminal slow on 20.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-desktop-portal (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
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-
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
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dbus 1.12.16-2ubuntu2
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon May 11 12:24:05 2020
InstallationDate: Installed on 2018-10-27 (562 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/usr/bin/zsh
SourcePackage: dbus
UpgradeStatus: Upgraded to focal on 2020-05-08 (2 days ago)
thank you for your bug report, it looks like an issue with xdg-desktop-portal , could you try to temporarly uninstall it to see if workaround the issue?