Jump to content

systemctl --user: Failed to get D-Bus connection: Connection refused.


lfam

Recommended Posts

I just installed Armbian 4.2 and then upgraded it to Armbian 4.6 using the Armbian APT repositories.

 

I am running Debian Jessie with the sunxi kernel 3.4.109 on a Cubieboard 2.

 

My issue is that systemd user sessions don't work out of the box. When I try to check the status of my user session, this is what happens:

$ systemctl --user status
Failed to get D-Bus connection: Connection refused
$ systemd --version
systemd 215
+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR

Any ideas? Any other information I can provide?

 

This used to work on a pre-Armbian image from Igor. That installation became unstable and I messed up the upgrade so I reinstalled from scratch, starting at 4.2 because I want systemd (recent images disable it).

Link to comment
Share on other sites

The great people on #debian-systemd told me this requires libpam-systemd, which is not included by default in minimal Jessie. I rebooted to enable it, but you may only have to relogin and / or restart systemd-logind.service.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines