Note that there are some explanatory texts on larger screens.

plurals
  1. POssh X11 forwarding won't work
    text
    copied!<p>I have been trying to get X11 port forwarding to work from my laptop. I can't figure out why it won't work.</p> <p>I get this message when I try to run xterm:</p> <pre><code>X11 connection rejected because of wrong authentication. xterm Xt error: Can't open display: localhost:10.0 </code></pre> <p>I don't know if this is related or not, but when I login, I get this message:</p> <pre><code>/usr/bin/xauth: timeout in locking authority file /home/sphillips/.Xauthority </code></pre> <p>I have wondered if the problem is that my local user on my laptop is skp and the username on this server is sphillips. I have been able to get X11 forwarding to work with my other computers that use the same skp login.</p> <p>Also, the X11 port forwarding works from a Windows machine using Xming and Putty to the same server. I have to manually configure the DISPLAY variable to the IP address and display 0.0, but it works.</p> <p>I have run an xhost + on my machine with the attempt to try to bypass any security issues. That still didn't work.</p> <p>On the server, I check the configuration:</p> <pre><code>$ sudo grep X11Forwarding /etc/ssh/sshd_config #X11Forwarding no X11Forwarding yes # X11Forwarding no </code></pre> <p>And on my machine as well:</p> <pre><code>$ sudo grep X11Forwarding /etc/ssh/sshd_config [sudo] password for skp: #X11Forwarding no X11Forwarding yes # X11Forwarding no </code></pre> <p>My server is RedHat Enterprise Linux 6 and my laptop is Fedora 15.</p> <p>Can anyone give me any thoughts on things to try to get SSH X11 forwarding to work from my laptop?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload