You are not logged in.
A recent sync updated some packages. When opening either `nautilus` or `evince`, startup time is very slow. I started `evince` with `G_MESSAGES_DEBUG=all`:
[cassie@houndoom ~]$ G_MESSAGES_DEBUG=all evince
(evince:4090): GLib-GIO-DEBUG: 09:57:38.196: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(evince:4090): GLib-DEBUG: 09:57:38.219: unsetenv() is not thread-safe and should not be used after threads are created
(evince:4090): Gtk-DEBUG: 09:57:38.219: Connecting to session manager
(evince:4090): Gtk-DEBUG: 09:57:38.220: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(evince:4090): Gtk-DEBUG: 09:57:38.220: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned
(evince:4090): Gtk-DEBUG: 09:58:03.236: Failed to get an inhibit portal proxy: Error calling StartServiceByName for org.freedesktop.portal.Desktop: Timeout was reached
(evince:4090): GLib-GIO-DEBUG: 09:58:03.309: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(evince:4090): dconf-DEBUG: 09:58:03.309: watch_fast: "/org/gnome/evince/" (establishing: 0, active: 0)
(evince:4090): dconf-DEBUG: 09:58:03.309: watch_established: "/org/gnome/evince/" (establishing: 1)
(evince:4090): dconf-DEBUG: 09:58:03.326: watch_fast: "/org/gnome/evince/default/" (establishing: 0, active: 0)
(evince:4090): dconf-DEBUG: 09:58:03.327: watch_established: "/org/gnome/evince/default/" (establishing: 1)
(evince:4090): dconf-DEBUG: 09:58:03.400: watch_fast: "/org/gnome/desktop/thumbnailers/" (establishing: 0, active: 0)
(evince:4090): dconf-DEBUG: 09:58:03.400: watch_established: "/org/gnome/desktop/thumbnailers/" (establishing: 1)
As you can see by the timestamps, this is the line that it hangs on:
(evince:4090): Gtk-DEBUG: 09:58:03.236: Failed to get an inhibit portal proxy: Error calling StartServiceByName for org.freedesktop.portal.Desktop: Timeout was reached
I am not smart enough to debug this on my own. Thank you for reading my post.
Mod Edit[ewaller] See my post below
Last edited by ewaller (2020-07-26 17:32:44)
Offline
I have had exactly the same problem after having installed flatpak with its dependencies:
appstream-glib-0.7.17-1 gcab-1.4-1 gnome-keyring-1:3.36.0-1 libstemmer-0+713-2 ostree-2020.3-2 pipewire-0.3.6-1 sbc-1.4-2 xdg-dbus-proxy-0.1.2-2 xdg-desktop-portal-1.7.2-1 xdg-desktop-portal-gtk-1.7.1-1 flatpak-1.7.2-1
Here the logs of evince with G_MESSAGES_DEBUG=all evince:
(evince:10910): GLib-GIO-DEBUG: 14:42:05.256: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(evince:10910): GLib-DEBUG: 14:42:05.268: unsetenv() is not thread-safe and should not be used after threads are created
(evince:10910): Gtk-DEBUG: 14:42:05.268: Connecting to session manager
(evince:10910): Gtk-DEBUG: 14:42:05.268: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(evince:10910): Gtk-DEBUG: 14:42:05.268: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned
(evince:10910): Gtk-DEBUG: 14:42:05.269: Failed to get an inhibit portal proxy: The name org.freedesktop.portal.Desktop is not owned
(evince:10910): GLib-GIO-DEBUG: 14:42:05.298: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(evince:10910): dconf-DEBUG: 14:42:05.298: watch_fast: "/org/gnome/evince/" (establishing: 0, active: 0)
(evince:10910): dconf-DEBUG: 14:42:05.298: watch_established: "/org/gnome/evince/" (establishing: 1)
(evince:10910): dconf-DEBUG: 14:42:05.307: watch_fast: "/org/gnome/evince/default/" (establishing: 0, active: 0)
(evince:10910): dconf-DEBUG: 14:42:05.307: watch_established: "/org/gnome/evince/default/" (establishing: 1)
(evince:10910): dconf-DEBUG: 14:42:05.378: watch_fast: "/org/gnome/desktop/thumbnailers/" (establishing: 0, active: 0)
(evince:10910): dconf-DEBUG: 14:42:05.378: watch_established: "/org/gnome/desktop/thumbnailers/" (establishing: 1)
(evince:10910): dconf-DEBUG: 14:42:06.570: unwatch_fast: "/org/gnome/evince/" (active: 1, establishing: 0)
(evince:10910): dconf-DEBUG: 14:42:06.570: unwatch_fast: "/org/gnome/evince/default/" (active: 1, establishing: 0)
(evince:10910): dconf-DEBUG: 14:42:06.592: unwatch_fast: "/org/gnome/desktop/thumbnailers/" (active: 1, establishing: 0)
(evince:10910): dconf-DEBUG: 14:42:06.615: sync
I really would like to use flatpak and evince together on my system. Also, I use Awesome WM and GNOME is not installed on my system. How can I fix this problem please?
Thank you in advance.
Last edited by Wmog (2020-06-29 13:22:06)
Offline
Typical cause is a broken session (see the xinitrc link in my signature) but there's also https://bugs.archlinux.org/task/65748
What's the status of the portal services? Anything suspicious in coredumpctl?
Offline
Thank you it has worked. I just followed your link on xinitrc. More precisely, I copied the default xinitrc, at /etc/X11/xinit/xinitrc, to ~/.xinitrc, I replaced the default commands to run at the end of the script by mine, and it eventually solved my problem. In fact, in my former ~/.xinitrc, I had just my commands to run and not the default instructions.
Last edited by Wmog (2020-07-26 17:22:18)
Offline
Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
I can't edit the initial post. I'm not the author actually.
Offline
I can't edit the initial post. I'm not the author actually.
Good point
The OP has not been on the forums since the day of their post. I will go ahead and mark it solved.
7596ff, I we leave the thread open so you can reverse my changes if it is not really solved.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline