This feature is not turned on by default. In the /etc/sshd_config, or /usr/local/etc/sshd_config, uncomment the line starting with 'X11Forwarding', and set it to 'Yes'. On the client side, make sure that 'ForwardX11' is yes in ssh_config.