[Pkg-utopia-maintainers] Bug#1018880: under ssh X11 forwarding, apps like nautilus that use xdg-desktop-portal start with 25s delay

Vincent Lefevre vincent at vinc17.net
Tue Aug 15 21:39:34 BST 2023


On 2023-08-15 11:45:59 -0400, Jim McCann wrote:
> Some additional information: this bug also triggers for me without
> X11 forwarding.
> 
> I don't run a desktop environment or graphical login (login in text
> mode and then `startx` with fluxbox launched from .xinitrc); but I
> still have xdg-desktop-portal-gtk fail to launch with the log
> message 'cannot open display:'.

Probably because /etc/X11/Xsession is not used, as you're using you're
own .xinitrc file. I suppose that there would be no such issue with
the system /etc/X11/xinit/xinitrc file, which does

. /etc/X11/Xsession

(fluxbox could be launched from a .xsession file in this case).

> Note that this adds a long delay to the startup of both inkscape and
> firefox as well; and that removing the xdg-desktop-portal and
> xdg-desktop-portal-gtk packages allows these programs to start
> normally. Perhaps something is spuriously requiring
> xdg-desktop-portal; since my system seems to function fine without
> it.

IMHO, there should be some file under /etc/X11/Xsession that should
set an environment variable saying that the GUI/dbus system is fully
operational. Perhaps 95dbus_update-activation-env?

Then a GTK application should not try to use a portal if this
environment variable is unset.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-utopia-maintainers mailing list