GDM and ssh-agent

Matthias Fechner idefix at fechner.net
Sat Jul 10 17:23:35 CEST 2004


Hi,

i use gdm to start my xfce4-Session. I use the following script:
#!/bin/sh
#
# Make Xfce4 selectable in the GDM menu
#

xsetroot -display :0 -solid darkblue
/usr/bin/xfce-mcs-manager
xfwm4 --daemon

exec ssh-agent $HOME/.xsession


And my .xsession looks like this:
# ---- language-env DON'T MODIFY THIS LINE!
# set LANG
LANG=de_DE at euro
export LANG
# ---- language-env end DON'T MODIFY THIS LINE!
xrdb < $HOME/.Xresources
ssh-add
xfce-mcs-manager
(sleep 10 && xterm -e "backup_to_server") &
/usr/bin/esd &
gaim &
/usr/bin/gkrellm &
xscreensaver -no-splash &
xmodmap .xmodmaprc
(sleep 5 && xmms -p )&
/home/idefix/.xfce4/build_menu_automatically&
hotkeys -t keysonic -Z
xfwm4 &
devilspie&
/usr/bin/xfdesktop


But i have the problem, that ssh-add asks for the password, but this
password is the same as the login-password from gdm.
Is it possible to say ssh-add to use password from gdm or maybe do
anything with PAM?

-- 
Bye
Matthias



More information about the Xfce mailing list