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?
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?
The full installation of Cmder comes with Git for Windows, which is handy to provide a Linux-like environment. Red alert 3 registration key generator. 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. Warning: untrusted X11 forwarding setup failed: xauth key data. KK'S LINUX STUFF. Monday, April 13, 2015. Untrusted X11 forwarding setup failed: xauth key data not generated. Warning: No xauth data; using fake authentication. Diablo 3 cd key generator.
Xauth Generate
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!
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!
Xauth Command Not Found
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!! Now, I have an other question. Warning: No xauth data; using fake authentication data for X11 forwarding. Despite of the annoying warning, ssh is working perfectly, even for programs running on X (i.e. If I run gedit, I get the screen to open and I can operate properly with it). La noire activation key generator download. Key generation settings in chrome.