Re: gnome-networkmanager do not use gnome-keyring to manage network key



yes, I do the ops in the same vt, before I use 
`sudo nm-applet` to start the nm-applet , I have used echo to check the
variant in the environment...

Dan Williams wrote:
> 
> On Wed, 2009-08-19 at 06:52 -0700, fireinice wrote:
>> Thanks for the help,
>> I do not have a session manager and I run by hand 
>> gnome-keyring-daemon and export the variant in the shell
>> could it help the applet?
> 
> I think you have to export the environment variable that
> gnome-keyring-daemon prints out to the environment of the program that
> actually launches nm-applet.  The environment gets inherited from parent
> to child, so whatever runs gnome-keyring-daemon has to somehow get that
> environment variable into the environment of the applet when the applet
> gets launched.  Usually a session manager will do this for you, but in
> your case you need to make sure that happens in your setup.
> 
> Dan
> 
>> after then, I run the nm-applet still could not find the keyring.
>> 
>> Dan Williams wrote:
>> > 
>> > On Sat, 2009-08-08 at 09:57 -0700, fireinice wrote:
>> >> sorry, but I cannot find kering-xxxx in /tmp dir, 
>> >> any comments?
>> > 
>> > That probably means that gnome-keyring isn't starting up when your
>> > session starts.  When you are logged into the UI, is there any
>> > gnome-keyring-daemon process running?  My system has:
>> > 
>> > dcbw localhost ~]$ ps ax | grep keyring
>> >  1404 ?        S      0:00 /usr/bin/gnome-keyring-daemon --daemonize
>> > --login
>> > 
>> > Dan
>> > 
>> >> Thanks for the help
>> >> 
>> >> Dan Williams wrote:
>> >> > 
>> >> > On Thu, 2009-08-06 at 09:00 -0700, fireinice wrote:
>> >> >> Hi, 
>> >> >> after I update my debian on laptop from lenny to squeeze(testing)
>> >> dist,
>> >> >> the
>> >> >> network-manager stop using gnome-keyring to manage the key of the
>> >> >> wireless,
>> >> >> we I login to the desktop(I'm using the FVWM as the WM) with the
>> xdm,
>> >> the
>> >> > 
>> >> > Could it be that your session manager doesn't set up the correct
>> >> > environment variables that point any application using the keyring
>> to
>> >> > the keyring daemon?  Whatever starts your session and launches the
>> >> > keyring daemon needs to insert these into the environment of all
>> other
>> >> > processes that start:
>> >> > 
>> >> > GNOME_KEYRING_SOCKET=/tmp/keyring-5KSAbP/socket
>> >> > GNOME_KEYRING_PID=1392
>> >> > 
>> >> > That sort of thing.
>> >> > 
>> >> > Dan
>> >> > 
>> >> >> nm-applet always requires me to input the actual wireless network
>> >> >> password
>> >> >> but not the gnome-keyring password, and I can not find the
>> "remember
>> >> >> password in keyring" option, but the vpn plug-in seems work fine
>> with
>> >> the
>> >> >> gnome-keyring package. Before the upgrading the network-manager
>> works
>> >> >> fine
>> >> >> with the gnome-keyring
>> >> >> I installed the 
>> >> >> gnome-keyring    2.26.1-1 
>> >> >> network-manager-gnome 0.7.1-1
>> >> >> and all dependence packages
>> >> >> The console would log info:
>> >> >> ** (nm-applet:1452): WARNING **: security_combo_changed: no active
>> >> >> security
>> >> >> combo box item.
>> >> >> 
>> >> >> ** (nm-applet:1452): WARNING **: security_combo_changed: no active
>> >> >> security
>> >> >> combo box item.
>> >> >> 
>> >> >> ** (nm-applet:1452): WARNING **: applet-device-wifi.c.1539
>> >> >> (get_secrets_dialog_response_cb): canceled
>> >> >> ** Message: <info>  No keyring secrets found for Auto
>> >> >> *wireless-id*/802-11-wireless-security; asking user.
>> >> >> 
>> >> >> any clues?
>> >> >> Thanks
>> >> > 
>> >> > _______________________________________________
>> >> > NetworkManager-list mailing list
>> >> > NetworkManager-list gnome org
>> >> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
>> >> > 
>> >> > 
>> >> 
>> > 
>> > _______________________________________________
>> > NetworkManager-list mailing list
>> > NetworkManager-list gnome org
>> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
>> > 
>> > 
>> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> 

-- 
View this message in context: http://www.nabble.com/gnome-networkmanager-do-not-use-gnome-keyring-to-manage-network-key-tp24849397p25100828.html
Sent from the Gnome - NetworkManager mailing list archive at Nabble.com.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]