intel / wds

Wireless Display Software For Linux OS (WDS)
https://01.org/wds
GNU Lesser General Public License v2.1
511 stars 104 forks source link

desktop-source-test might require root #161

Open maep-- opened 8 years ago

maep-- commented 8 years ago

I had to run desktop-source-test with root privilege. I don't know if this is documented elsewhere but it would be nice if this is mentioned in README.md

jku commented 8 years ago

This is lacking some details... Why did you need to run it as root?

Off the top of my head: Talking to connman over D-Bus is a privileged operation but typically there's a "at_console" rule that allows a local user to do it.

maep-- commented 8 years ago

When I try to connect without root, after accepting, connmanctl on the client shows

Agent ReportPeerError peer_xxx 
  connect-failed
Agent request cancelled by ConnMan

desktop source shows this after a while: connect error GDBus.Error:net.connman.Error.Failed: Input/output error

I tried looking at the output of dbus-monitor but i'm not very familiar with dbus and don't know what to look for. I installed connman from arch repository.