Re: nm-applet failed to start after copying $HOME directory to a new system.



Hi, Dan

Following is content of the file from the new system.

Thanks,
Crisson


$ cat -n /etc/dbus-1/system.d/nm-applet.conf
     1    <!DOCTYPE busconfig PUBLIC
     2     "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
     3     "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
     4    <busconfig>
     5        <policy user="root">
     6            <allow own="org.freedesktop.NetworkManagerInfo"/>
     7   
     8            <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
     9                    <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
    10        </policy>
    11        <policy at_console="true">
    12            <allow own="org.freedesktop.NetworkManagerInfo"/>
    13   
    14            <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
    15                    <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
    16        </policy>
    17        <policy group="netdev">
    18            <allow own="org.freedesktop.NetworkManagerInfo"/>
    19   
    20            <allow send_destination="org.freedesktop.NetworkManagerInfo"/>
    21                    <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
    22        </policy>
    23        <policy context="default">
    24            <deny own="org.freedesktop.NetworkManagerInfo"/>
    25   
    26            <deny send_destination="org.freedesktop.NetworkManagerInfo"/>
    27            <deny send_interface="org.freedesktop.NetworkManagerInfo"/>
    28        </policy>
    29   
    30            <limit name="max_replies_per_connection">512</limit>
    31    </busconfig>
    32   






----- Original Message ----
From: Dan Williams <dcbw redhat com>
To: Crisson Guanghao Hu <crissonhu yahoo com>
Cc: networkmanager-list gnome org
Sent: Monday, January 28, 2008 11:19:29 PM
Subject: Re: nm-applet failed to start after copying $HOME directory to a new system.

On Sun, 2008-01-27 at 19:19 -0800, Crisson Guanghao Hu wrote:
> Hi, experts
>
> I installed debian on my laptop and copied my original $HOME to the
> system.
> The nm-applet is running but failed to appear at the notification area
> with folloing message:
>
> ** (nm-applet:6113): WARNING **: <WARN>  nma_dbus_init(): could not
> acquire its service.  dbus_bus_acquire_service() says: 'Connection
> ":1.38" is not allowed to own the service
> "org.freedesktop.NetworkManagerInfo" due to security policies in the
> configuration file'

This isn't due to the copying of your home directory, this is due to the
D-Bus daemon not having found the authorization file for the applet.

Can you check to see whether you have:

/etc/dbus-1/system.d/nm-applet.conf

and copy the contents into your reply so we can check it out?

Dan

>
> Maybe I should delete some file/data for dbus to re-authenticate the
> nm-applet (just a guess).
> Any comments for this?
>
>
>
> Thanks,
> Crisson
>
>
>
>
> ______________________________________________________________________
> Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

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