Linux – Bluetooth not Working on Kali Linux

bluetoothkali-linuxlinux

Well I had the problem that bluetooth was always off. I go to configuration->Bluetooth and everytime I tried to put it off just returns to off a while after.
I tried with this command:

aptitude install bluetooth

and then ran

/etc/init.d/bluetooth start

after that I ran /etc/init.d/bluetooth status and this is what shows:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-01-17 21:13:47 UTC; 29s ago
     Docs: man:bluetoothd(8)
 Main PID: 7939 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─7939 /usr/lib/bluetooth/bluetoothd

Jan 17 21:13:47 kali bluetoothd[7939]: Error adding Link Loss service
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Current Time Service could not be re...ed
Jan 17 21:13:47 kali bluetoothd[7939]: gatt-time-server: Input/output error (5)
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Sap driver initialization failed.
Jan 17 21:13:47 kali bluetoothd[7939]: sap-server: Operation not permitted (1)
Hint: Some lines were ellipsized, use -l to show in full.

My computer is a sony VAIO SVF15A17CLV.

Thank you!!

Edited:
After running the service restart command some of you suggested I got the following output:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-05-03 23:44:12 UTC; 5min ago
     Docs: man:bluetoothd(8)
 Main PID: 3882 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─3882 /usr/lib/bluetooth/bluetoothd

May 03 23:44:12 kali systemd[1]: Starting Bluetooth service...
May 03 23:44:12 kali bluetoothd[3882]: Bluetooth daemon 5.36
May 03 23:44:12 kali systemd[1]: Started Bluetooth service.
May 03 23:44:12 kali bluetoothd[3882]: Starting SDP server
May 03 23:44:12 kali bluetoothd[3882]: Bluetooth management interface 1.12 ...ed
Hint: Some lines were ellipsized, use -l to show in full.

Seems better but it is still not working. When I go to bluetooth settings it's always off. After I press start it stays like the following image:

Bluetooth settings turned off

PS: I know is not a hardware issue because if I boot with windows 10 it works properly.

Best Answer

I believe we were having the same problem. My Bluetooth would not turn on and would remain in the off position. Here is what I did to fix this problem:

service bluetooth restart

This restarted the Bluetooth service and I was able to turn it on and it stay on. I was also able to see Bluetooth devices and connect to my headphones again.

Related Question