Re: trouble starting NetworkManagerInfo on ubuntu



On Fri, 2004-10-22 at 16:01 -0400, Dan Williams wrote:
> On Fri, 2004-10-22 at 21:27 +0200, Thomas Bouve wrote:
> > Hi, 
> > 
> > I've been trying to get NetworkManager working on Ubuntu but I ran into
> > a few speedbumps (actually I'm stuck on top of one ;)).
> > 
> > I started NetworkManager as root (using sudo) so it runs in the
> > background in daemon mode.  Now when I try to start NetworkManagerInfo
> > as a refgular user, I get this:
> > 
> > NetworkManagerInfo: nmi_dbus_service_init() could not acquire its
> > service.  dbus_bus_acquire_service() says: 'Connection ":1.5" is not
> > allowed to own the service "`+  "" due to security policies in the
> > configuration file'
> > 
> > Which doesn't sound too healthy :/
> > 
> > If I try to start NetworkManagerInfo as root, it just sits there and I
> > don't get any systray icon either.  
> > 
> > Am I overlooking something?
> 
> Make sure there is a /etc/dbus-1/system.d/NetworkManagerInfo.conf file,
> and that you've restarted your system (or the dbus messagebus daemon)
> since you've installed NetworkManager...
> 
> Are you using it from CVS BTW?
> 
> Dan
> 

I'm using the apt source for Debian/Ubuntu:

deb http://people.ubuntu.com/~thom/network-manager/ ./

These are debs compiled from cvs though.

I indeed have that file in the /etc/dbus-1/system.d/ directory and it
contains:

------------- begin NetworkManagerInfo.conf ----------------
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>
        <policy user="root">
                <allow own="org.freedesktop.NetworkManagerInfo"/>

                <allow
send_destination="org.freedesktop.NetworkManagerInfo"/>
                <allow
send_interface="org.freedesktop.NetworkManagerInfo"/>
        </policy>
        <policy at_console="true">
                <allow own="org.freedesktop.NetworkManagerInfo"/>

                <allow
send_destination="org.freedesktop.NetworkManagerInfo"/>
                <allow
send_interface="org.freedesktop.NetworkManagerInfo"/>
        </policy>
        <policy context="default">
                <deny own="org.freedesktop.NetworkManagerInfo"/>

                <deny
send_destination="org.freedesktop.NetworkManagerInfo"/>
                <deny
send_interface="org.freedesktop.NetworkManagerInfo"/>
        </policy>
</busconfig>
------------- end NetworkManagerInfo.conf ----------------

Hopefully this helps.

Thomas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]