to have wifi key saved in a keyring file on fluxbox the solution is to launch nm-applet in ~/.fluxbox/startup as :
dbus_launch nm-applet --sm-disable &
the same if you like nautilus :
dbus_launch nautilus -n & (it gives you automount to sd card and usb key after a little change in policykit )
fluxbox needs to be executed with
exec ck-launch-session /usr/bin/fluxbox
hello,
thanks shrd, that solved my problems with fluxbox, nm-applet and wifi-keys in gnome-keyring, but:
i used
dbus-launch nm-applet --sm-disable &
exec ck-launch-session /usr/bin/fluxbox
so maybe it's just a typo, but might be helpful for non advanced users.
]]>dbus_launch nm-applet --sm-disable &
the same if you like nautilus :
dbus_launch nautilus -n & (it gives you automount to sd card and usb key after a little change in policykit )
fluxbox needs to be executed with
exec ck-launch-session /usr/bin/fluxbox
]]>OK, so launching dbus from .xinitrc is not enough for me; /tmp/keyring-<whatever>/socket.ssh is still not created. How do you guys run the gnome-keyring-daemon? Using pam?
In gnome it works OK.
I only added starting dbus to .xinitrc, I didn't change or add anything else. I don't run gnome-keyring-deamon, nm-applet do this for me.
]]>At least gnome-keyring 2.26 adds /etc/xdg/autostart/gnome-keyring-daemon.desktop file (which should make gnome-keyring autostart in xdg-compilant env) however this file also states:
/etc/xdg/autostart/gnome-keyring-daemon.desktop wrote:OnlyShowIn=GNOME;
So no autostart outside GNOME.
As a workaround (I'm using kde + nm-applet) I've copied this file to ~/.config/autostart/gnome-keyring-daemon.desktop and removed that one line - now gnome-keyring autostarts even outside gnome.
Wow... adding that in makes the Gnome people look a little... Microsoft-ish. (I almost went with bitchy, but this works better since its a stronger epitaph.)
]]>OnlyShowIn=GNOME;
So no autostart outside GNOME.
As a workaround (I'm using kde + nm-applet) I've copied this file to ~/.config/autostart/gnome-keyring-daemon.desktop and removed that one line - now gnome-keyring autostarts even outside gnome.
In gnome it works OK.
]]>Kamil
]]>abarilla wrote:I had the same problem with openbox. Using gdm fixed it.
Well if this is the only way to fix this then it sucks big time, since I don't want to run a huge login manager just to unlock the passwords
adding the content of /etc/X11/xinit/xinitrc.d/30-dbus to the ~/.xinitrc works for me.
# launches a session dbus instance
dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `$dbuslaunch --sh-syntax --exit-with-session`
fi
or sourcing the 30-dbus file in the ~/.xinitrc
source /etc/X11/xinit/xinitrc.d/30-dbus
or for all files in /etc/X11/xinit/xinitrc.d/
source /etc/X11/xinit/xinitrc.d/*
That's what GDM and KDM do.
Thanks to Jan de Groot for the hint.
With which command do you autostart gnome-keyring?
edit:
using GDM fix it, but I don't want to use a Login-Manager.
I had the same problem with openbox. Using gdm fixed it.
Well if this is the only way to fix this then it sucks big time, since I don't want to run a huge login manager just to unlock the passwords
As far as ssh keys go, I switched to using pam_ssh.
EDIT: typos
]]>