使用 obexd -a -r PATH

然后就可以手机搜索传输文件了

-a 一定要有否则会出现
obexd[1265]: PUT(0x2), FORBIDDEN(0x43)

遇到这种问题

Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

解决方案

export DBUS_SESSION_BUS_ADDRESS="unix:path=/var/run/dbus/system_bus_socket"

posted on 2018-02-06 22:01  HDU李少帅  阅读(1636)  评论(0编辑  收藏  举报