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

ERROR: dbus: cannot claim org.freedesktop.miracle.wifi bus-name: -13 #116

Closed
Hans-Maulwurf opened this issue Aug 25, 2016 · 12 comments
Closed

Comments

@Hans-Maulwurf
Copy link

When I start 'sudo miracle-wifid' I get this error

ERROR: dbus: cannot claim org.freedesktop.miracle.wifi bus-name: -13 (manager_dbus_connect() in wifid-dbus.c:898)

Is there something missing in my system?

@albfan
Copy link
Owner

albfan commented Aug 26, 2016

Did you install dbus policy?

check if /etc/dbus-1/system.d/org.freedesktop.miracle.conf exists. It should be installed by sudo make install on lastest commits. if you use cmake, remove CMakeCache.txt because if it is older, install instructions will not be updated (quirks of cmake).

@Hans-Maulwurf
Copy link
Author

I used yaourt to install it from the aur. but this file seems to be missing on my filesystem. but when I reinstall the aur-package, it says
Eingetragene backup Datei nicht im Paket : etc/dbus-1/system.d/org.freedesktop.miracle.conf
which means the file even does not exists in the package

@albfan
Copy link
Owner

albfan commented Aug 26, 2016

You are right. I have fixed aur miraclecast project.

albfan/aur-miraclecast@1f548b2

aur package is updated too.

Feel free to submit PR on albfan/aur-miraclecast if you detect another problem and you find a solution. We can discuss there.

@albfan
Copy link
Owner

albfan commented Aug 26, 2016

Is it solved now? close this issue if so

@Hans-Maulwurf
Copy link
Author

this error is solved now, yes. but i followed ur instructions at the readme (and the linked comment "using as peer") but how do I get my screen mirrored to the TV?

I stop NetworkManager.service, start miracle-wifid and then miracle-wifictl. there i use link, list, p2p-scan and connect (to my TV). the TV and the terminal say: connected. But how do i stream the content of my monitor to the TV? in your linked comment, you give a line with vlc, but when I execute this line, nothing happenes.

@albfan
Copy link
Owner

albfan commented Aug 27, 2016

Great then. Close this and see #4 for an epic issue. The Q&D there works, but is not implemented yet.

@WillemPi3
Copy link

I have to update miraclecast after every reboot to avoid this error.

@albfan
Copy link
Owner

albfan commented Aug 28, 2016

@WillemPi3 if you have several miracle-wifid running this could happen as first one takes dbus control and the others cannot. Check if that's the problem

@WillemPi3
Copy link

@albfan that was indeed the case. Thanks!

@trietend
Copy link

/etc/dbus-1/system.d/org.freedesktop.miracle.conf wasn't created at my kali using autotools.
I had no problems using cmake.

@albfan
Copy link
Owner

albfan commented Apr 11, 2017

@trietend It should install https://github.com/albfan/miraclecast/blob/master/res/Makefile.am#L5

clean all:

$ ./autogen.sh g && make distclean
$ ./autogen.sh g && make && make install

and try again

@trietend
Copy link

this works thanks :)

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

4 participants