bluetooth daemon not running at startup
Posted
by
ffaxer
on Ask Ubuntu
See other posts from Ask Ubuntu
or by ffaxer
Published on 2011-11-21T14:40:41Z
Indexed on
2012/03/31
5:40 UTC
Read the original article
Hit count: 307
I'm trying to connect a bluetooth mouse to my Xubuntu system using Blueman (v. 1.21)
Problem seems to be bluetoothd not running at startup, so blueman refuses to start, only a dialog appears: "Bluez daemon is not running, blueman-manager cannot continue."
On my system, bluetoothd will run only as root (sudo), so my current workaround is simply to sudo bluetoothd manually, which works fine but id like to have it run at startup so that my mouse is just working without any interaction from me, if possible.
If i try to start bluetoothd as non-root it reports:
Bluetooth deamon 4.91
Unable to get on D-Bus
In the startup scripts i found the same bluetoothd script in all runlevels and init.d:
DAEMON=/usr/sbin/bluetoothd
test -f /usr/sbin/bluetoothd || exit 0
# bluetoothd normally starts up by udev rules. it needs dbus to function,
log_progress_msg "bluetoothd"
pkill -TERM bluetoothd || true
log_progress_msg "bluetoothd"
I looked in /etc/udev/rules.d/
but no reference to bluetoothd.
Further i have already tried with no luck:
Editing
/etc/dbus-1/system.d/bluetooth.conf
to include my user (essentially copying the part that was for root):
I tried it while both keeping the root policy and without, still, no luck!
Editing
/etc/pam.d/common-session
and/etc/pam.d/gdm
to include the line:session optional pam_ck_connector.so
In the case of common-session it was already there but with a "nox11" which i tried removing. No luck no luck.
Btw, I'm confused as to which session manager I'm using, since i have both xfce4-session and gdm-session-worker running.
Anyways, hope someone is savvy enough to figure it out or bring some hints, otherwise i sincerely apologize for wasting your time! I'll sign off with uname -a:
Linux [mycompname] 3.0.0-9-lowlatency #12ppa1~natty1-Ubuntu SMP PREEMPT Mon Aug 22 06:52:15 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Peace B)
© Ask Ubuntu or respective owner