当前位置:  首页  >  服务器技术  >  Linux/unix  >  Linux系统

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

Debian:Gnome桌面的右上端的NetworkManagerApplet图标问题--Linux发行版技术-Debian信息,下面是详情阅读。
当使用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这样就应该可以了。
吐了个 "CAO" !
扫码关注 PHP1 官方微信号
PHP1.CN | 中国最专业的PHP中文社区 | PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | PHP问答
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有