SSH problems

I am trying to ssh into a remote sun server, however I get X11 forwarding error. I have checked sshd_config file and X11 forwarding is enabled.
Also xhost command doesnt give any output, it doesnt even return the prompt.I have to Ctrl C out of the situation. any suggestions anyone??

You may need to ensure that x is allowed on both sides. Also add a -X (not lower case) in your connection, this enables X forwarding.

ssh -X user@host