NM-applet's VPN menu disappears

Solution 1:

I have the same issue.

I have that package version (0.8.4~git.20110318t152954.9c4c9a0-0ubuntu1), running on 11.04. The behavior started after upgrade from 10.10.

I ended up making a script to restart nm-applet which brings back my VPN menu but sometimes I do get the DBUS errors which I just run the script again...

Script:

#! /bin/sh
killall nm-applet
nm-applet --sm-disable &

Typical Message:

** (nm-applet:4808): DEBUG: old state indicates that this was not a disconnect 0

Solution 2:

This started to happen to me when I added the Nautilus Elementary PPA to my repo list. The version of network-manager-gnome available in that PPA is newer then the Canonical version and has some bugs in it that apparently crash the applet (causing the VPN menu to dissapear). You can check to see where your version of network-manager-gnome is coming from by opening synaptic and searching for network-manager-gnome. As of today, the latest Canonical version is 0.8.4~git.20110318t152954.9c4c9a0-0ubuntu1 and the maintainer of the package should be the Ubuntu Core Developers.

If you notice that your version of network-manager-gnome is not coming from the Canonical, select network-manager-gnome in synaptic and then select 'force version' from the package menu. This will prompt you to select the version you want to force, select 0.8.4~git.20110318t152954.9c4c9a0-0ubuntu1.

Solution 3:

Thanks tons!!! this worked: I created a bash command called vpn-applet.sh

#! /bin/sh
killall nm-applet
nm-applet --sm-disable &

Then I

chmod +x vpn-applet.sh   

ran it (as root?), and the menu problem was gone. Now I don't need to reboot! Thanks

Please, lets get this nasty problem fixed. It is really annoying.