No X11 windows from non-global zone

Hey everyone

I have a solaris 10 install, with an extra zone installed. I am ssh-ing to it from a windows machine using putty, with Xming installed. I can get the global zone to forward the X11 windows fine, but when I ssh to the zone, it doesn't work, giving the error:

Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted

I've tried doing

DISPLAY=<ip address of windows machine>

but that didn't change anything.
A quick google said to add

FowardX11Trusted yes

to the sshd_config, but following that ssh refused to start.

Any ideas on how to fix this?

Cheers

---------- Post updated 02-02-11 at 10:30 AM ---------- Previous update was 02-01-11 at 11:31 AM ----------

For the benefit of anyone reading this later, I think I fixed it, But i'm not sure how...

I think it was something to do with the lack of being able to create the ~/.Xauthority file. For some reason, my solaris install, and subsequent zones didn't automatically allow any file or directory creation in /home. By changing /etc/auto_home and /etc/auto_master and rebooting, i manually created the home directory, then re-logged in as the user. Then it worked.

That would certainly do it -- ~/.Xauthority contains the login cookie!