Cannot start network manager gui

I have recently ordered a wifi dongle and need to use network manager to connect to the network, but for some reason I just can’t start it. I am using Ubunutu 15.04 Vivid.
sudo start network-manager returns the following error:

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

Running network-manager by itself (with or without sudo) returns:

network-manager: command not found

It is also not in the menu.
I have upgraded network-manager and network-manager-gnome and the problem has persisted.
If there is another way to show available networks and connect to one with all normal features, this will work for me too.

Answer

If you are using Ubuntu 15.04, try using

sudo systemctl restart network-manager

Attribution
Source : Link , Question Author : Nonny Moose , Answer Author : Deepak Sharma

Leave a Comment