Description of problem: When I try to send files to my mobile bluetooth phone with either the obex object push client or with obex file transfer (both provided by bde-bluetooth which is not part of Fedora Core yet) it does not work, and I see an error in /var/log/messages: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez.PinAgent was not provided by any .service files When I change the pin helper in /etc/bluetooth/hcid.conf from "dbus_pin_helper" to "/usr/bin/bluepin" everything works fine: I get a pop up asking for the pin and after entering this the data transfer is running as it should.
First, please change the summary of the bug to: bluez-pin D-Bus service not automatically started for X sessions If we'll add a .service file, it'll activate in the context of the system D-Bus daemon and therefore wouldn't connect to our desktop. For now, there's no way to add D-Bus .service files which'll activate only within the context of a session D-Bus daemon. The solution for now might be plugging bluez-pin into /etc/X11/xinit/xinitrc.d/ so it'll get started for each session.
(In reply to comment #1) > The solution for now might be plugging bluez-pin into /etc/X11/xinit/xinitrc.d/ > so it'll get started for each session. We already created /etc/xdg/autostart/bluez-pin.desktop which ought to have the desired effect. But the bluez-pin package _really_ ought to be owned by someone who isn't entirely clueless about such things.
Topic changed as requested. One thing to add, because it is about desktop sessions, and I want to be clear: I use the KDE desktop.
I was told that /etc/xdg/autostart/bluez-pin.desktop should be honoured by all desktop environments.
Could it be that this bug was filled by someone who hasn't restarted his X session after installing bluez-pin? We obviously need a method to start bluez-pin in all user sessions upon installation; it's technically unnecessary to wait for a restart. D-Bus services could work just great for this *if* we could specify that the service should be started within sessions only.
@Ilya: nope, bluez-pin was automatically installed on my machine so I definitely restarted X several times after installing bluez-pin.
If KDE isn't honouring the /etc/xdg/autostart file, please file a bug against KDE.