Ubuntu – How to debug grayed out VPN connection in Network Manager

11.04guinetwork-managerpptpvpn

I've added a new PPTP VPN connection under Network Manager -> VPN Connections -> Configure VPN. Now the connection is listed under "VPN Connections", but it's grayed out.

How can I debug this?

Whatever I've tried doesn't seem to help: checked the logs–no clues, toggled 'Available to all users', toggled 'Connect automatically', logged in and out a few times, etc.

It would be nice if Network Manager didn't gray the item out when it detects some configuration problems, but let me click the item and show some error message after that.

  • network-manager-pptp and network-manager-pptp-gnome are both installed.

UPD: I cannot reproduce the problem right now: it has cured itself it seems. Still I'd be grateful for debugging ideas if it happens again. I'd rather avoid running gdb against network-manager, which seems to be the ultimate way to solve this.

Best Answer

I had the same issue on Ubuntu 12.10 and fixed it by restarting nm-applet like this...

killall nm-applet
nm-applet --sm-disable &