Bug#1068443: systemd: "systemctl --user ..." results in Connection refused

Michael Biebl biebl at debian.org
Sat Apr 6 10:15:37 BST 2024


Am 05.04.24 um 11:38 schrieb Fabian Greffrath:
> Package: systemd
> Version: 255.4-1
> Severity: normal
> 
> Hi,
> 
> sorry if this is a trivial question, but I am somehow new to this
> systemd/systemctl stuff - or at least until now everything worked as
> expected. ;)
> 
> Whenever I try to load a user service, systemctl immediately quits my
> attempt with the following error:
> 
> $ systemctl --user enable fluidsynth.service
> Failed to connect to bus: Connection refused
> 
> Even merely calling "systemctl --user" without any further arguments
> leads to the same result, so I am sure it's not a syntax error on the
> command line.
> 
> What am I doing wrong?
> 
> Thanks for your help!

What's the output of `ps ux | grep systemd`? I.e. do you actually have a 
`systemd --user` instance running as well as a dbus user bus.
systemd-cgls output and loginctl for your user might be helpful as well.

Is the problem reproducible after a reboot?
Is the problem reproducible for a freshly created user?

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240406/daf36dd4/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list