Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide instructions to run without being root #1

Open
kamaradclimber opened this issue Mar 26, 2017 · 1 comment
Open

Provide instructions to run without being root #1

kamaradclimber opened this issue Mar 26, 2017 · 1 comment

Comments

@kamaradclimber
Copy link
Collaborator

Common instructions (http://unix.stackexchange.com/questions/96106/bluetooth-le-scan-as-non-root) do not seem to work correctly.

We should have a way to run as non-root.

@kirichkov
Copy link
Owner

kirichkov commented Dec 24, 2017

On Raspbian Jessie the common instructions used to work out of the box. In Stretch, one should install consolekit

$ sudo apt-get install consolekit

If you are still having issues on Raspbian try the following:

  1. Add the user (e.g. pi) that will be running the scanner to the bluetooth group:
sudo adduser pi bluetooth
  1. Edit /etc/dbus-1/system.d/bluetooth.conf
    2.1. Find the line <policy group="bluetooth">
    2.2. Add below it <allow send_interface="org.freedesktop.DBus.Introspectable"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants