Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-27 Thread Simon McVittie
On 26/05/15 20:22, Mantas Mikulėnas wrote: But right now, the 'user' bus does not exist by default. To create it, you need either a) enable/install/boot with kdbus, or b) obtain the dbus.service dbus.socket user units. (They're in dbus-git, or various other places like

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-27 Thread Chris Morgan
On Wed, May 27, 2015 at 5:23 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 26/05/15 20:22, Mantas Mikulėnas wrote: But right now, the 'user' bus does not exist by default. To create it, you need either a) enable/install/boot with kdbus, or b) obtain the dbus.service dbus.socket

[systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Chris Morgan
Hello. I'm able to use: dbus-send --system --print-reply --reply-timeout=2000 --type=method_call \ --dest=org.freedesktop.systemd1 \ /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager.ListUnits to list system units. But I can't seem to figure out how to do the same for user units.

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Mantas Mikulėnas
On Tue, May 26, 2015 at 9:33 PM, Chris Morgan chmor...@gmail.com wrote: But I can't seem to figure out how to do the same for user units. There doesn't seem to be an org.freedesktop.systemd1 interface on my current user's session bus and I wasn't able to spot anything in the interfaces on the

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Chris Morgan
On Tue, May 26, 2015 at 3:22 PM, Mantas Mikulėnas graw...@gmail.com wrote: On Tue, May 26, 2015 at 9:33 PM, Chris Morgan chmor...@gmail.com wrote: But I can't seem to figure out how to do the same for user units. There doesn't seem to be an org.freedesktop.systemd1 interface on my current

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-26 Thread Chris Morgan
On Tue, May 26, 2015 at 4:05 PM, Mantas Mikulėnas graw...@gmail.com wrote: On Tue, May 26, 2015 at 10:32 PM, Chris Morgan chmor...@gmail.com wrote: On Tue, May 26, 2015 at 3:22 PM, Mantas Mikulėnas graw...@gmail.com wrote: On Tue, May 26, 2015 at 9:33 PM, Chris Morgan chmor...@gmail.com