When I start xfce4-beta2 i get the following error: /usr/local/etc/xdg/xfce4/xinitrc: line 1: setenv: command not found The problem is due to the fact that the xinitrc script is writen in sh and my login shell is tcsh. The output generated by ssh-agent seems to be compatible with the tcsh shell but not with the bourne shell. I manage to get rid of the errors by by adding the flag -s to all the calls to ssh-agent in the xinitrc script.
Fixed, thanks.
Closing this one.