Sunday, 31 January 2010

Wicd asks for password on login

After installing Ubuntu 9.10 on my laptop shortly after its release, I moved from the default network manager to Wicd. This was primarily due to the fact that nm is unable to select between two cards installed at the same time, and throws a horrific hissy fit. Wicd has this capability.

In any case, upon login Wicd would ask for the root password in order to access network cards, which is incredibly irritating for a program that is meant to intialise as a daemon during bootup and typically be connected to the network by the time a user has actually logged in. A fix was needed!

After much googling a solution to the issue presented itself here. The problem occurs when the daemon is not properly started during bootup. When the Wicd tray icon subsequently starts it then fails to connect to an existing daemon and attempts to initialise the daemon itself, requiring the password input.

The fix involves adding the line exec wicd to the bottom of /etc/init/networking.conf.

So, in the terminal:

sudo gedit /etc/init/networking.conf

Copy paste "exec wicd" (without quotes) to a new line at the bottom of the file
Save and quit
Reboot the computer

Hopefully that will have sorted it!


  1. Thanks! That solved it for me.

  2. Didn't work for me.

  3. Wonderful, thank you. Fixed my problem! :) Wicd started asking for a password after updating to 10.04.

  4. thanks it works,solved the problem in Xubuntu 10.04

  5. worked for me too ubuntu 10.10

  6. Thanks, I had this problem on Ubuntu 10.04, and your fixed worked perfectly.

  7. After try many other website answers, finally got the problem fixed! Thanks!

  8. After all these years since you posted this. It worked for me :)