Yesterday I updated my ubuntu machine from 12.04 to 14.04 codename trusty (still beta). Everything went fine, except that I had to remove grub again after the update, because I use gummiboot for uefi boot, minor problem. However, after the update I found that nm-applet was not showing any network connections, although the wireless was up and connected via network-manager. wicd worked nicely with it’s clients as always (I had switched to network-manager because of it’s easy wireless modem features).
After some testing and googling the error
** (nm-applet:2002): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.44" (uid=1000 pid=2002 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager"
it turned out that this had something to do with the permissions, managed by policykit-1. Digging further I learned, that missing pam-modules in /etc/pam.d/ could be involved and finally someone gave the right hint, posted with three exclamation marks😉. I added the line
session optional pam_systemd.so
/etc/pam.d/lxdm and after a reboot everything worked again.
But why ubuntu needs some systemd-module to work? I thought ubuntu (and it’s enterprise Canonical), as upstart inventor, would never use it… I thought it would be as with wayland and mir (more at ikhaya in german), unity and gnome: in the management of big free software communities (especially those of widely used desktop-environments), it’s always all about enterprise-politics.
This nm-applet issue is therefore an evidence, that ubuntu is really on the way to systemd, good choice!