Untrusted X11 Forwarding Setup Failed: Xauth Key Data Not Generated

  1. Untrusted X11 Forwarding Setup Failed: Xauth Key Data Not Generated Email
  2. Untrusted X11 Forwarding Setup Failed Xauth Key Data Not Generated
Untrusted X11 Forwarding Setup Failed: Xauth Key Data Not Generated
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!

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

Untrusted X11 Forwarding Setup Failed Xauth Key Data Not Generated

Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. $ xclock X11 connection rejected because of wrong authentication. X connection to localhost:11.0 broken (explicit kill or server shutdown). However xclock with ssh -Y [email protected] worked fine. Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. The xauth call seems to fail, so I tried (not knowing if thats the right way to solve this.).

  1. As I have posted earlier, Cmder is a better option if you use Windows command line frequently. The full installation of Cmder comes with Git for Windows, which is handy to provide a Linux-like environment. In this post, I will write about how to use Git for Windows to connect to a remote CentOS server and set up X11 forwarding to use the GUI applications on that server.
  2. 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.
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!