sparcher
(Oleksandr Chernetskii)
June 9, 2026, 4:52pm
1
journalctl constantly says:
09 19:36:05 DELLV systemd[1684]: graphical-session.target - Current graphical user session is inactive.
09 19:36:05 DELLV systemd[1684]: Dependency failed for xdg-desktop-portal.service - Portal service.
09 19:36:05 DELLV systemd[1684]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.
09 19:36:05 DELLV systemd[1684]: graphical-session.target - Current graphical user session is inactive.
09 19:36:05 DELLV systemd[1684]: Dependency failed for xdg-desktop-portal.service - Portal service.
09 19:36:05 DELLV systemd[1684]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.
for reference
OS = Fedora 44 LXQT
$ sudo dnf list --installed *xdg*
Installed packages (available for reinstall, available for upgrade)
libqtxdg.x86_64 4.4.0-3.fc44 updates
python3-pyxdg.noarch 0.28-1.fc44 fedora
xdg-dbus-proxy.x86_64 0.1.7-1.fc44 updates
xdg-desktop-portal.x86_64 1.21.2-1.fc44 updates
xdg-desktop-portal-gtk.x86_64 1.15.3-3.fc44 fedora
xdg-desktop-portal-lxqt.x86_64 1.4.0-2.fc44 updates
xdg-user-dirs.x86_64 0.18-11.fc43 fedora
xdg-utils.noarch 1.2.1-5.fc44 fedora
$ systemctl status xdg-desktop-portal.service
Unit xdg-desktop-portal.service could not be found.
What is wrong?
pg-tips
(P G)
June 9, 2026, 5:02pm
2
It’s a user service so:
systemctl --user status xdg-desktop-portal.service
$ systemctl status xdg-desktop-portal.service
Unit xdg-desktop-portal.service could not be found.
That should be asystemctl --user status xdg-desktop-portal.service. Should look like this:
└─➜ systemctl --user status xdg-desktop-portal.service 18:04 Tue 09-Jun
â—Ź xdg-desktop-portal.service - Portal service
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
Active: active (running) since Fri 2026-06-05 22:03:46 BST; 3 days ago
Invocation: 7c6a157bd9d14e678d856389a8c22f7d
Main PID: 3205 (xdg-desktop-por)
Tasks: 7 (limit: 38296)
Memory: 36.1M (peak: 49.4M, swap: 1.9M, swap peak: 2.2M)
CPU: 13.074s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
└─3205 /usr/libexec/xdg-desktop-portal
PG beat me to it.
sparcher
(Oleksandr Chernetskii)
June 9, 2026, 5:58pm
4
$ systemctl --user status xdg-desktop-portal.service
* xdg-desktop-portal.service - Portal service
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
Drop-In: /usr/lib/systemd/user/service.d
`-10-timeout-abort.conf
Active: inactive (dead)
Jun 09 20:55:50 DELLV systemd[1684]: Dependency failed for xdg-desktop-portal.service - Portal service.
Jun 09 20:55:50 DELLV systemd[1684]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependenc>
Jun 09 20:55:50 DELLV systemd[1684]: Dependency failed for xdg-desktop-portal.service - Portal service.
Jun 09 20:55:50 DELLV systemd[1684]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependenc>
Maybe reinstall something?
pg-tips
(P G)
June 9, 2026, 6:01pm
5
Can you also show the output of:
systemctl --user status graphical-session.target
That seems to be the only dependency that xdg-desktop-portal.service has, so I’m curious what happened to it.
xdg-desktop-portal.service used to be dbus activated now it use graphical-session.target to start, not all DE’s support graphical-session.target.
committed 11:58AM - 09 Oct 25 UTC
This means e.g. $WAYLAND_DISPLAY and/or $DISPLAY will reliably be
something vali… d, which is necessary to make e.g. OpenURI work when
launching non-dbus-activated launchers.
This fixes an issue where Firefox would not open links due to no display
environment variable being set, if xdg-desktop-portal launched before
the display server.
I recently fixed cinnamon-session
committed 04:06PM - 01 Jun 26 UTC
Activate the cross-desktop graphical-session.target and
graphical-session-pre.ta… rget when the Cinnamon session starts, so
that systemd-managed services which declare WantedBy= or PartOf=
against those targets are started and stopped in sync with the
session.
and removed my ugly hack to start graphical-session.
sparcher
(Oleksandr Chernetskii)
June 9, 2026, 7:10pm
8
$ systemctl --user status graphical-session.target
* graphical-session.target - Current graphical user session
Loaded: loaded (/usr/lib/systemd/user/graphical-session.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
archer@DELLV:~$
pg-tips
(P G)
June 9, 2026, 7:19pm
9
Interesting, so maybe LXQt doesn’t support it then.
It doesn’t look like it
opened 01:50AM - 27 Dec 25 UTC
Systemd's documentation for [desktop environments](https://systemd.io/DESKTOP_EN… VIRONMENTS/) states:
> **Pre-defined systemd units**
[systemd.special(7)](https://www.freedesktop.org/software/systemd/man/systemd.special.html) defines the `graphical-session.target` and `graphical-session-pre.target` to allow cross-desktop integration. Furthermore, systemd defines the three base slices `background`, `app` and `session`. All units should be placed into one of these slices depending on their purposes:
>
> * `session.slice`: Contains only processes essential to run the user’s graphical session
> * `app.slice`: Contains all normal applications that the user is running
> * `background.slice`: Useful for low-priority background tasks
>
> The purpose of this grouping is to assign different priorities to the applications. This could e.g. mean reserving memory to session processes, preferentially killing background tasks in out-of-memory situations or assigning different memory/CPU/IO priorities to ensure that the session runs smoothly under load.
`lxqt-session` doesn't add `graphical-session.target` dependency/ordering arguments when launching applications, and it doesn't place launched applications into the predefined slices.
For an example of a shell-based implementation using `systemd-run`, see: https://github.com/Vladimir-csp/app2unit
For an example of a C++ implementation using DBus, see: https://github.com/c4rlo/runapp and https://github.com/KDE/kio/tree/master/src/gui/systemd
sk8board
(sk8board)
June 10, 2026, 7:46pm
11
This appears to be a problem with F44 XFCE also. xdg-desktop-portal.service refuses to start even with a fresh install of F44 XFCE.
Is there an easy workaround that is available?
The easiest fix is to revert this change.
committed 11:58AM - 09 Oct 25 UTC
This means e.g. $WAYLAND_DISPLAY and/or $DISPLAY will reliably be
something vali… d, which is necessary to make e.g. OpenURI work when
launching non-dbus-activated launchers.
This fixes an issue where Firefox would not open links due to no display
environment variable being set, if xdg-desktop-portal launched before
the display server.
sk8board
(sk8board)
June 10, 2026, 10:27pm
13
Thank you for the reply.
The XFCE Spin does not provide Wayland as an option at login. Does than mean no workaround for XFCE and LXQT?
Your response make no sense, that revert has nothing to do with wayland or X.
It just switches xdg-desktop-portal.service from target to dbus activated.
sk8board
(sk8board)
June 10, 2026, 11:25pm
15
Thank you.
sudo nano /usr/lib/systemd/user/xdg-desktop-portal.service
change file to:
[Unit]
Description=Portal service
PartOf=graphical-session.target
Requisite=dbus.service
After=dbus.service
[Service]
Type=dbus
BusName=org.freedesktop.portal.Desktop
ExecStart=/usr/libexec/xdg-desktop-portal
Slice=session.slice
stop and restart the service
systemctl --user stop xdg-desktop-portal.service
systemctl --user start xdg-desktop-portal.service
burgess-m
(burgess-m)
June 12, 2026, 7:44pm
16
Thank you all This has solved the mystery to me of why the File and Folder selection buttons of the LocalSend flatpak were not working for me on Fedora Xfce.