红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Debian: Gnome桌面的右上端的NetworkManager Applet图标问题

Debian: Gnome桌面的右上端的NetworkManager Applet图标问题

当使用Desktop -> Administration -> Users and Groups -> Add User的时候,可能会发现nm-applet图标不再出现,当使用sudo nm-applet命令后会出现如下错误信息:

WARNING **: <WARNING> (): nmwa_dbus_init() could not acquire its service. dbus_bus_acquire_service() says: 'Connection ":1.26" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'

这时候可以考虑如下解决方案:

1. The first and easiest way to work around this security issue is to add yourself to the netdev group. The default security policy permits access for that group.

2、
Change the default policy context in both

/etc/dbus-1/system.d/NetworkManager.conf
and

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

so it says 'allow' instead of 'deny'.

<policy context="default">
<allow own="org.freedesktop.NetworkManager"/>
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/></policy>
Then restart dbus

sudo /etc/init.d/dbus restart
and launch the applet

nm-applet这样就应该可以了。

TOP

发新话题