Xauth Key Data Not Generated Linux 4,4/5 5107 reviews
I recently rebuilt and upgraded a server to Debian testing, and I've got an issue doing X11 forwarding over SSH (Win7 client using Putty and Xming if that makes any difference) -- specifically, any attempt to start an X app via sudo (I've specifically tried xeyes and KVM's virt-manager UI) results in variations on 'PuTTY X11 proxy: Can't open display: localhost:10.0' errors.
Googling led me to try extracting and copying MIT-MAGIC-COOKIE-1 values from my regular user's session into root's via a combination of xauth list run as normal user and xauth add run as root. After doing this, X11 forwarding works, but it's a non-optimal solution since the cookie values change each session.
Since this worked before the rebuild and upgrade, I'm guessing it's something new or buggy in debian.
Is there a good way to work around this?
KK'S LINUX STUFF. Monday, April 13, 2015. Untrusted X11 forwarding setup failed: Warning: untrusted X11 forwarding setup failed: xauth key data not generated. Warning: No xauth data; using fake authentication data for X11 forwarding. Call of duty modern warfare 2 key generator pc download. Solution:- # vim /etc/ssh/sshconfig. 2/ indicate xauth location to ssh if it is not in /usr/X11R6/bin (on.
Xauth Key Data Not Generated Linux Download
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!