I attempted to investigate this issue a little further, found that it is caused by a race condition between gvfsd and ibus-daemon, and filed a bug report upstream: https://gitlab.gnome.org/GNOME/gvfs/-/issues/481
My current workaround is hack, but it works:
Add this line to the [Service] section in /usr/lib/systemd/user/gvfs-daemon.service:
ExecStartPre=bash -c "for i in echo {1..20} ; do ps ax | grep -q \"^${USER}\b.*[i]bus-daemon\" || sleep 0.1 ; done"
The problem persists in Ubuntu 20.04 as well.
I attempted to investigate this issue a little further, found that it is caused by a race condition between gvfsd and ibus-daemon, and filed a bug report upstream: https:/ /gitlab. gnome.org/ GNOME/gvfs/ -/issues/ 481
My current workaround is hack, but it works:
Add this line to the [Service] section in /usr/lib/ systemd/ user/gvfs- daemon. service:
ExecStartPre=bash -c "for i in echo {1..20} ; do ps ax | grep -q \"^${USER} \b.*[i] bus-daemon\ " || sleep 0.1 ; done"