-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Systemd user service doesn't work #74
Comments
This will only work correctly if your distro has enabled the "user bus" for everything. systemd --user services don't have access to the "session" bus (of which there can be several anyway), since they run outside a session. They instead have a "user" bus shared across all sessions, and graphical sessions can be configured to connect to the user bus instead of launching a session bus. |
(The user bus works the same way as a session bus would, including tools using it via the |
I'm on Ubuntu 16.04. I did install Do I need to do something else to get this to work? You said something about configuring graphical sessions? |
The combination of Ubuntu might have some weirdness around the way their sessions are currently launched via Upstart - you might need to wait for a later Ubuntu release for this to work properly. I know there's work currently being done, for Ubuntu 16.10 or later, to enable |
I'm trying to set up a
systemd
user service to work withgnome-shell-extensions-mediaplayer
.I can get
mpDris2
to run throughsystemd
, but the extension doesn't pick anything up. It does work when I just runmpDris2
from the command line.Looking at the service status, the only difference I can see from just running the command is the following extra log:
When I try to monitor the bus:
Instead of working with the running
systemd
mpDris2
, it starts a new one (which works with the extension). Not sure what this means.The text was updated successfully, but these errors were encountered: