Re: NetworkManager Won't Save Passwords

2010-09-24 Thread Dan Williams
On Tue, 2010-09-21 at 17:43 -0500, alkos333 wrote:
> On Mon, Sep 20, 2010 at 5:43 PM, Dan Williams  wrote:
> > On Mon, 2010-09-13 at 12:08 -0500, alkos333 wrote:
> >> On Mon, Sep 13, 2010 at 11:12 AM, Robby Workman  wrote:
> >> > Does it work in a desktop environment (e.g. kde or xfce)?
> >> >
> >> > It's fine here in xfce, fwiw.
> >>
> >> I haven't tried with KDE or xfce - just fluxbox.
> >
> > nm-applet uses gnome-keyring, which needs a bit of setup when used in
> > non-GNOME environments.  If gnome-keyring isn't built with D-Bus
> > support, then you need to start "gnome-keyring-daemon --daemonize
> > --login" when your desktop session starts.  This will print out an
> > environment variable that needs to be inserted into the environment of
> > any other program that starts in the session, which looks like this:
> >
> > GNOME_KEYRING_CONTROL=/tmp/keyring-hSwpKJ
> >
> > this lets programs like nm-applet know where to look for the keyring
> > daemon, which is what actually stores your passwords securely.  If you
> > google around there used to be instructions on how to get KDE to handle
> > running gnome-keyring-daemon manually, I'd assume that whatever session
> > manager is starting up your desktop probably has the same functionality.
> >
> > Dan
> >
> >
> >
> 
> Thank you for this explanation, Dan.  This helped me resolve the
> issue.  Now gnome-keyring only prompts for the master password when I
> first start fluxbox and that's it.

Yes, that's expected behavior.  Though normally there's a 'login'
keychain that somehow gets created and is locked with your login
password.  At least in GNOME it gets unlocked automatically for you when
you log in.  Not entirely sure how that works though :)

Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager Won't Save Passwords

2010-09-21 Thread alkos333
On Mon, Sep 20, 2010 at 5:43 PM, Dan Williams  wrote:
> On Mon, 2010-09-13 at 12:08 -0500, alkos333 wrote:
>> On Mon, Sep 13, 2010 at 11:12 AM, Robby Workman  wrote:
>> > Does it work in a desktop environment (e.g. kde or xfce)?
>> >
>> > It's fine here in xfce, fwiw.
>>
>> I haven't tried with KDE or xfce - just fluxbox.
>
> nm-applet uses gnome-keyring, which needs a bit of setup when used in
> non-GNOME environments.  If gnome-keyring isn't built with D-Bus
> support, then you need to start "gnome-keyring-daemon --daemonize
> --login" when your desktop session starts.  This will print out an
> environment variable that needs to be inserted into the environment of
> any other program that starts in the session, which looks like this:
>
> GNOME_KEYRING_CONTROL=/tmp/keyring-hSwpKJ
>
> this lets programs like nm-applet know where to look for the keyring
> daemon, which is what actually stores your passwords securely.  If you
> google around there used to be instructions on how to get KDE to handle
> running gnome-keyring-daemon manually, I'd assume that whatever session
> manager is starting up your desktop probably has the same functionality.
>
> Dan
>
>
>

Thank you for this explanation, Dan.  This helped me resolve the
issue.  Now gnome-keyring only prompts for the master password when I
first start fluxbox and that's it.


-- 
Alex Lysenka
Bachelor of Science
Computer Science Major
Management & Information Systems Major
Northern Illinois University
alyse...@niu.edu
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager Won't Save Passwords

2010-09-20 Thread Dan Williams
On Mon, 2010-09-13 at 12:08 -0500, alkos333 wrote:
> On Mon, Sep 13, 2010 at 11:12 AM, Robby Workman  wrote:
> > Does it work in a desktop environment (e.g. kde or xfce)?
> >
> > It's fine here in xfce, fwiw.
> 
> I haven't tried with KDE or xfce - just fluxbox.

nm-applet uses gnome-keyring, which needs a bit of setup when used in
non-GNOME environments.  If gnome-keyring isn't built with D-Bus
support, then you need to start "gnome-keyring-daemon --daemonize
--login" when your desktop session starts.  This will print out an
environment variable that needs to be inserted into the environment of
any other program that starts in the session, which looks like this:

GNOME_KEYRING_CONTROL=/tmp/keyring-hSwpKJ

this lets programs like nm-applet know where to look for the keyring
daemon, which is what actually stores your passwords securely.  If you
google around there used to be instructions on how to get KDE to handle
running gnome-keyring-daemon manually, I'd assume that whatever session
manager is starting up your desktop probably has the same functionality.

Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager Won't Save Passwords

2010-09-13 Thread alkos333
On Mon, Sep 13, 2010 at 11:12 AM, Robby Workman  wrote:
> Does it work in a desktop environment (e.g. kde or xfce)?
>
> It's fine here in xfce, fwiw.

I haven't tried with KDE or xfce - just fluxbox.

-- 
Alex Lysenka
Bachelor of Science
Computer Science Major
Management & Information Systems Major
Northern Illinois University
alyse...@niu.edu
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager Won't Save Passwords

2010-09-13 Thread Robby Workman
On Mon, 13 Sep 2010 01:05:20 -0500
alkos333  wrote:

> I'm running Slackware64 13.1 and NetworkManager 0.8.1, have
> gnome-keyring installed and started along with WM, but prior to
> nm-applet.
> 
> I'm starting my fluxbox session using ck-launch-session for HAL, etc.
> 
> I've done plenty of Googling and one solution people suggested was
> making sure gnome-keyring-daemon was running before starting
> nm-applet, which I've done, but it didn't help.
> 
> I'm stuck at this point.  Any points/suggestions would be greatly
> appreciated.  Thank you so much in advance.


Does it work in a desktop environment (e.g. kde or xfce)?

It's fine here in xfce, fwiw.

-RW
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list