check if xauth is installed
check in the file /etc/ssh/sshd_config if the value of the path to xauth, XAuthLocation is defined
# Path to xauth for X forwarding
XAuthLocation /usr/bin/xauth