红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

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

发布时间:2008-08-17 11:01:57来源:红联作者:NetFlow
当使用Desktop -> Administration -> Users and Groups -> Add User的时候,可能会发现nm-applet图标不再出现,当使用sudo nm-applet命令后会出现如下错误信息:

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'.





Then restart dbus

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

nm-applet这样就应该可以了。
文章评论

共有 0 条评论