I've faced some problem with X11 forwarding. Then I analsyed the X process using ps -ef | grep X
I found the X process initialized has the argument--nolistentcp. Actually this prevents the tcp connection for X11. So make sure this is disabled in gdm.conf.
I came to know there is a entry in /etc/X11/gdm/gdm.conf which prevents the TCP connection.
after altering the "DisallowTCP"=false.
and restart the X windows.
To restart X windows CRTL + ALT + backspace or restart the system.
