Hi, Am Sonntag, 13. Mai 2018, 19:54:38 CEST schrieb Matthias Bach:
I am having an issue with starting Systemd services with Type=dbus in Systemd's user mode on openSUSE Leap 42.3. Specifically I am trying to use GameMode [1] but the problem seems to be a generic one. E.g., I have found several services in /usr/lib/systemd/user/ that have Type=dbus, are shipped
with openSUSE, fand fail to start. E.g.:
systemctl --user start gvfs-daemon
Failed to start gvfs-daemon.service: Unit dbus.socket failed to load: No such file or directory.
There indeed is no dbus.socket file in /usr/lib/systemd/user/. Should there be? I'd assume that gvfs-daemon and glib-pacrunner are actually used in Gnome, so how can they be launched then?
Any hints as to where I went wrong would be highly appreciated.
In case anybody stumbles upon this in the future: It seems this approach simply won't work, among other reasons due to different lifetimes of the Systemd user session and the DBus one. Thus, I have ended up deploying GameMode as a DBus-Service instead of a Systemd one which also saves the user from having to manually activate it after installation. Kind Regards, Matthias
-- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke