Re: Obex with no X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jul 29, 2009 at 9:42 AM, Rafael Seste<rseste@xxxxxxxxx> wrote:
> Hi all,
>
> I'm trying to use obex to retrieve the contacts from my mobile using PBAP.
> In the test folder I'm only able to run obex-test and it retrieves all
> contacts from my mobile. But I would like to use the python scripts
> and they aren't working.
> I'm running it with bluez 4.42 and kernel 2.6.30 without the X
> installed, I installed libopenobex from ubuntu repo.
>
> When I ran pbab-client the output was:
>
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to
> autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

I don't think buses really depend on X, what happen is that normally a
session bus created by login. Please take a look at man page of
dbus-launch the section AUTOMATIC LAUNCHING seems to tell about the
relation of X and --autolaunch.

OTOH it shouldn't be difficult to have obexd on system bus so you
wouldn't have to bother creating an session exclusively for obexd.

Regards,

-- 
Luiz Augusto von Dentz
Engenheiro de Computação
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux