Created
September 1, 2014 13:41
-
-
Save wader/09953b1fdd7b1984016e to your computer and use it in GitHub Desktop.
run a dbus-daemon that allows everything
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TEMP=`mktemp /tmp/dbusconf.XXXXXX` | |
| # generate dbus config that allows everything | |
| echo '<busconfig><type>system</type><listen>d</listen><auth>ANONYMOUS</auth><allow_anonymous/><policy context="default"><allow send_destination="*" eavesdrop="true"/><allow eavesdrop="true"/><allow own="*"/></policy></busconfig>' > $TEMP | |
| dbus-daemon --nofork --config-file $TEMP --address tcp:bind=0.0.0.0,port=1234 | |
| rm $TEMP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment