Ubuntu 8.10 NetworkManager(nm-applet) 無法執行- 解決方案
當由ubuntu 8.04升級到8.10(Intrepid)時,發現在面板上的NetworkManager applet不見了(NetworkManager applet is missing)
如果在Terminal執行nm-applet時,會出現下列的錯誤訊息
(nm-applet:7559): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed解決方式如下:
Fix nm-applet can't execute error1. 修改/etc/dbus-1/system.d/NetworkManager.conf 和 /etc/dbus-1/system.d/nm-applet.conf
將下列紅色字,如果為deny,改allow
<policy context=default>
<allow own="org.freedesktop.NetworkManager"/>
<allow send_destination="org.freedesktop.NetworkManager"/>
<allow send_interface="org.freedesktop.NetworkManager"/>
</policy>
2. 重新啟動 dbus
sudo /etc/init.d/dbus restart Fix nm-applet "No connection defined" error3. 停止 NetworkManager
sudo /etc/init.d/NetworkManager stop
4. 刪除 /etc/network/interfaces 或是更名(rename)
sudo rm /etc/network/interfaces
5. 重新啟動 NetworkManager
sudo /etc/init.d/NetworkManager start
6. 執行nm-applet
顶(0)
踩(0)
- 最新评论