Untrusted X11 Forwarding Setup Failed: Xauth Key Data Not Generated

aol mac download 10.1 Logging in with X11 via ssh gives the warnings Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning. Stack Exchange Network Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their.

Untrusted X11 Forwarding Setup Failed: Xauth Key Data Not Generated File

'ssh -X'でX11フォワーディングをしようとすると、次のようなメッセージが出ます。 Warning: untrusted X11 forwarding setup failed: xauth key data not generated そして、うまくいきません (環境変数DISPLAYが設定されない)。'ssh -Y'とすると、次のようなメッセージが出ます。 Warning: No xauth data; using fake authentication data. If you get the same message even when using -Y, the xauth program might be missing on the server. On Debian-like systems, you need the xauth package. On RedHat-like systems, you need the xorg-x11-xauth package. 'Untrusted' in this context means you don't trust the connection. 12 days ago  Warning: untrusted X11 forwarding setup failed: xauth key data not generated only on nested ssh logins? How can I avoid this warning and can successful use the more secure untrusted X11 forwarding? And no, I do not want to use the less secure -Y option on ssh for trusted X11 forwarding instead of the used -X option.

Untrusted X11 Forwarding Setup Failed: Xauth Key Data Not Generated Working

Hi Rod and all,
Thank you so much for your help. I tried what you've suggested. It works! I am so happy for that. But there is still some warnings.
What I've done as below:
My redhat is a new server running redhat enterprise server 6. There isn't ssh2_config file. So like what I did yesterday, I uncommented a line contains 'X11Forwarding yes' in sshd_conf.
Back to Mac, in terminal, type 'xterm&'. In a X terminal, using ssh login to redhad, as Rod suggested. I can login but got two warnings:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
Although I got those warnings, I still typed xterm& and opened a new xterm which comes from redhat. Then try 'xclock&'. It displayed!! So great!
Now, I have an other question. I opened 'firefox' from xterm. Firefox was also booted up, but the letters on menu and top bar were blurred. And the warnings I got were:
Xlib: extension 'RANDR' missing on display 'localhost:10.0'.
Xlib: extension 'RANDR' missing on display 'localhost:10.0'.
Xlib: extension 'RANDR' missing on display 'localhost:10.0'.
Have you ever met such problem?
This is a new problem. But I already feel so happy that you help me solved a problem which had bothered me for more than three days! Thanks all your help!