This bug was filed pre-Bionic and explicitly mentions Bionic, but looks like the issue is still present in Jammy:
$ systemctl --user is-active graphical-session.target inactive verified in a clean Jammy install and also on Impish (thanks ~ogayot). Other than the .path units under /usr/lib/systemd/user/graphical- session.target.wants/ all the .service units under /usr/lib/systemd/user/graphical-session-pre.target.wants/ are also not being executed. These are: gnome-keyring-ssh.service gnome-keyring.service session-migration.service ssh-agent.service I'm retitling the bug as it's not only about .path units. ** Summary changed: - Systemd .path units are not working properly in Bionic + The user session should run under systemd ** Description changed: + Currently the user session doesn't run under systemd. + As a consequence: + + [Original Description] In Bionic the systemd .path units are not properly activated. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1743366 Title: The user session should run under systemd Status in gnome-session package in Ubuntu: Confirmed Bug description: Currently the user session doesn't run under systemd. As a consequence: [Original Description] In Bionic the systemd .path units are not properly activated. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1743366/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp