[Bug 50770] Re: knetworkmanager "no network device found" if wired connection plugged in before starting

GeekSmith lixo at geeksmith.net
Tue Oct 31 04:10:33 UTC 2006


I've seen this inconsistently in both Dapper and Edgy when I ran knetworkmanager as a normal user.  It always worked when I ran it using kdesu.  When started as a normal user from the command line it shows this error:
Error requesting name, org.freedesktop.DBus.Error.AccessDenied: Connection ":1.6" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file

So, I added this:
<policy user="|my_username|">
   <allow own="org.freedesktop.NetworkManagerInfo"/>
   <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
   <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
</policy>

to the following files:
/etc/dbus-1/system.d/knetworkmanager.conf
/etc/dbus-1/system.d/NetworkManager.conf

and it works every time now.  A less restrictive default policy might
clear this up for everybody.

@@ron Smith
http://geeksmith.blogspot.com/

-- 
knetworkmanager "no network device found" if wired connection plugged in before starting
https://launchpad.net/bugs/50770




More information about the kubuntu-bugs mailing list