paul's picture

KNetworkManger currently has a lot of problems in Kubuntu Jaunty. As a result, I prefer to use Network Manager (nm-applet) than the KDE equivalent. One problem is that nm-applet uses the gnome keyring which is not run automatically by KDE. This means that I get asked for my login password twice - once by kdm and secondly by the gnome keyring when nm-applet runs.
In the past, I had used a script to enable gnome keyring. I had never liked the script. Today I discovered a better way at the Better-Linux blog.

  • Remove KNetworkManger by uninstalling it (23 Feb 10 - not required in Karmic
  • Edit /etc/pam.d/kdm . I added the following lines to it

auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start

  • Add nm-applet to KDE Autostart - System Settings, Advance, Autostart - Add the program /usr/bin/nm-applet