Also, if you are using xorg-xinit, make sure that you copy everything from /etc/X11/xinit/xinitrc into your ~/.xinitrc (and replace everything from twm & with your own stuff). If you don't to this, systemd will not get $DISPLAY, leading to xdg-desktop-portals failing to work, also causing long startup times.
Also, if you are using xorg-xinit, make sure that you copy everything from /etc/X11/xinit/xinitrc into your ~/.xinitrc (and replace everything from
twm &
with your own stuff). If you don't to this, systemd will not get $DISPLAY, leading to xdg-desktop-portals failing to work, also causing long startup times.