13.05.2018 20:54, Matthias Bach пишет:
Hi,
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?
This is simply not implemented. Actually I do not think there is even common agreement how it should be implemented - D-Bus session bus is per session while systemd user instance is per user.
I'd assume that gvfs-daemon and glib-pacrunner are actually used in Gnome, so how can they be launched then?
Same as they were launched before systemd - via (GUI) session startup mechanism. Session D-Bus is usually started as part of X session so that all processes inherit socket address.
Any hints as to where I went wrong would be highly appreciated.
Kind Regards, Matthias