Issue with Accessing Remote X11 via SSH (solved)


&nbsp_place_holder;I was recently having trouble using my openSUSE 11.2 workstation to access X applications on a remote host. &nbsp_place_holder;When I would ssh to the remote system, I was using the following command:

$ ssh -XC user@remote.server.com

Each time, I was presented with the following error upon login:

Warning: No xauth data; using fake authentication data for X11 forwarding.

Last login: Sat Jan 16 12:28:19 2010 from remote.server.com

$

&nbsp_place_holder;

In this state if I attempted to initiate an X-based application, the following message was returned:

$ xeyes

Invalid MIT-MAGIC-COOKIE-1 keyError: Can’t open display: localhost:10.0

$

&nbsp_place_holder;

I also tried to log on to the remote system in an untrusted fashion with:

$ ssh -YC user@remote.server.com

This produced the same error message and results.

&nbsp_place_holder;

The solution, in my case, was to globally remove the “ForwardX11Trusted yes” configuration from my /etc/ssh/ssh_config on the client system (This is the system where I am executing the ssh command).

# ForwardX11Trused yes

&nbsp_place_holder;And by remove, I mean that for right now I have chosen to just comment it out instead of explicitly setting it to a value of ‘no’.