From : original link
By default, if a wireless network is secured by WPA or such, you have to save the info in your keyring manager, which is protected by a password.
Both session and keyring passwords must match for this to work, if they don’t match, you will be prompted to unlock the keyring.
1. Install libpam-keyring package :
$ sudo apt-get install libpam-keyring
2. Then tweak the GDM PAM (plugable authentication module) security
$ sudo gedit /etc/pam.d/gdm
Add the following line at the very end of that file, then save :
3. Reboot and authenticate into your session, you should now be connected.
4. Optional : change your keyring password
$ /usr/lib/libpam-keyring/pam-keyring-tool -c