Bug#806922: systemctl do not work for non-root

Michael Biebl biebl at debian.org
Thu Dec 3 11:11:29 GMT 2015


Am 03.12.2015 um 09:23 schrieb Juhapekka Tolvanen:
> juhtolv at heresy | to 03 joulu 2015 04:04:14 | 10002 | pts/15
> /home/juhtolv
> % ps ux|grep systemd
> juhtolv    829  0.0  0.2   4960  3556 ?        Ss   03:51   0:00 /lib/systemd/systemd --user
> juhtolv   7689  0.0  0.1   6292  2136 pts/15   S+   10:21   0:00 grep --color=auto systemd

Ah, you don't have a dbus instance running for your user.

This is usually started when you run a graphical session, e.g. directly
by your session manager or by
/etc/X11/Xsession.d/75dbus_dbus-launch

So I assume that explains why it works when run under uxterm, as you had
a graphical X session.

E.g. I get:

$ ps ux | grep systemd
michael   1994  0.0  0.0  47168  5172 ?        Ss   01:59   0:00
/lib/systemd/systemd --user
michael   2044  0.0  0.0  43612  4800 ?        Ss   01:59   0:00
/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile
--systemd-activation


systemctl as unprivileged user requires a running system dbus daemon to
access the system instance of systemd and a user dbus daemon to access
the user instance of systemd.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151203/3851d2c7/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list