I was finally able to get NetworkManager working in KDE. I had to emerge hal, dbus, and friends, re-emerge pam w/ the pam_console use flag, and use the Gentopia overlay for the NetworkManager ebuilds. Once I had the application up and running I had to use gtk-update-icon-cache command before the applet would start. Once that worked I had to start and stop gnome-keyring-daemon and set the environment variables in my kde env and shutdown directories:
spencer@jtfc ~ $ cat /usr/kde/3.5/env/gnome-keyring.sh
#!/bin/sh
eval `gnome-keyring-daemon`
export GNOME_KEYRING_PID GNOME_KEYRING_SOCKET
set | grep GNOME
spencer@jtfc ~ $ cat /usr/kde/3.5/shutdown/gnome-keyring.sh
#!/bin/sh
if [ -n "$GNOME_KEYRING_PID" ]; then
echo killing gnome-keyring-daemon $GNOME_KEYRING_PID
kill $GNOME_KEYRING_PID fi spencer@jtfc ~ $
gnome-keyring is used to store WEP/WPA keys and passwords and such. Without running it you can still use NetworkManager, you will just have to enter the encryption keys for any secure networks by hand each time.
Now that it’s all installed I must say it’s pretty damn cool. I installed the pptp and vpnc “plugins” but haven’t had a chance to play much with those. I like being able to plugin a wire and have it switch to the wired network automatically, and then when I unplug it the lappy goes wireless again. Nice work guys!
I’m also using a gtk2-ssh-askpass now. I uncommented the “ssh-agent” lines in /usr/kde/3.5/env/ and /usr/kde/3.5/shutdown/ agent files(and gpg-agent lines for other reasons). Then I run “ssh-add” from ~/.kde3.5/Autostart/ssh-add.sh. Now I only have to type my passphrases for my dsa and rsa keys once when I login. The agents are terminated at the end of my session automatically. Pretty neat trick.
[![NetworkManager][3]][3]