WICD dbus problems

Tried WICD 1.5.9 as a network manager on Debian testing (Squeeze). After apt-get installing and running it, i got the following error:

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.wicd.daemon was not provided by any .service files

This is a known bug that should be fixed in future relases. To solve it, i only had to restart dbus and gdm:

/etc/init.d/dbus restart
/etc/init.d/gdm restart

(yes, this will close all your gnome session and applications) then everything worked, at least for me.

June 1, 2009

Folder Sharing problem under squeeze testing

A cool feature has been added to the Squeeze (testing) debian: the nautilus folder sharing GUI (package nautilus-share). My problem was that, after upgrading from the old testing (Lenny) to the new one (Squeeze), it was definitely not working. Right clicking on the folder icons and choosing “Share Folder” gave me a:

Could not authenticate. An unexpected error has occurred.

This problem is due to the new authentication system used by Gnome, PolicyKit, witch doesn’t look to be supported in the upgrade.

All you need to do to make PolicyKit and nautilus-share work is (as root):

  1. apt-get install policykit-gnome nautilus-share
  2. make sure that your /etc/hosts is correctly configured for the localhost. It should contain something like: localhost hostname
  3. add a group called admin, add your user to this group:addgroup admin ; adduser username admin
  4. make sure /etc/PolicyKit/PolicyKit.conf contains something like this:
    <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
    <!-- See the manual page PolicyKit.conf(5) for file format -->
    <config version="0.1">
    <match user="root">
    <return result="yes"/>
    <define_admin_auth group="admin"/>
  5. you will probably need to restart some service, say:
    /etc/init.d/samba restart
    /etc/init.d/gdm restart


If you found the pocedure useful or you have to add something, please comment.

April 13, 2009

Next page