How to fix "bluetoothd[*]: src/main.c:main() Unable to get on D-Bus"?
Hi,
I am not able to connect Bluetooth headset today for some reason. I recently upgraded from 20.10 to 21.04 and using the same headset over Bluetooth was fine-ish, until today. Several reboots did not help.
GUI connection fails silently; bluetoothctl `connect [MAC address]` gives:
> Attempting to connect to [MAC address]
> Failed to connect: org.bluez.
$ sudo cat /var/log/syslog | grep -i bluetooth
May 21 12:45:21 DLW bluetoothd[6366]: Bluetooth daemon 5.56
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: message repeated 3 times: [ src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: message repeated 9 times: [ src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.
May 21 12:45:21 DLW bluetoothd[6366]: message repeated 20 times: [ src/main.
May 21 12:45:21 DLW bluetoothd[6366]: src/main.c:main() Unable to get on D-Bus
$ /usr/lib/
...
D-Bus setup failed: Connection ":1.121" is not allowed to own the service "org.bluez" due to security policies in the configuration file
bluetoothd[6366]: src/main.c:main() Unable to get on D-Bus
"bluetoothd[6366]: src/main.c:main() Unable to get on D-Bus" could this be the reason and how can I fix it? Or should I run more diagnostics?
Would appreciate any help with the matter!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu bluez Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrei Dyomin
- Solved:
- Last query:
- Last reply: