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

xfce4 with sshagent



Trying out different window managers at the moment (one machine is a
little slow with gnome). Machine is currently running sid. Using gdm
for login.

Was wondering - under gnome - in /etc/X11/gdm/Sessions/Gnome you have

if [ -n "$startssh" ]; then
  exec $sshagent -- $gnomesession
else
  exec $gnomesession
fi


I'm after that sshagent line for xfce4. The most likely place appers
to be /etc/X11/sfce4/xinitrc. This will run xfce4-session if installed
(which it is). 

# Run xfce4-session if installed
xfcesm=`which xfce4-session`
case "x$xfcesm" in
        x|xno*)
                ;;
        *)
                exec $xfcesm
                # Shouldn't get there, but anyway...
                exit
                ;;
esac


Is this the right place to change? And - will adding ssh-add to
~/Desktop/Autostart have the same effect as it did setting an app in
gnomes autostart list?

-- 
Chris Searle



Reply to: