Hi
I have for some time had the problem that I am unable forward X11 traffic using ssh when connecting to Debian/Ubuntu (12.04 and 12.10 I tested) servers running on GCE.
If I run an instance of CentOS it works fine after xauth is installed. But, I would like to use Ubuntu as my server.
I conect using:
"
>> gcloud compute ssh --zone "europe-west1-b" --ssh-flag="-X" instance-1
X11 forwarding request failed on channel 0
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-44-generic x86_64)
"
in /var/log/auth I notice the following entry
"
Feb 19 09:21:27 instance-1 sshd[2459]: error: Failed to allocate internet-domain X11 display socket.
"
Searching google I find that many have solved this problem by adding
"
AddressFamily inet
"
to /etc/ssh/ssh_config, followed by restarting ssh
However. This has no effect for me..
BTW. I connect from an laptop running Ubuntu.
I hope anyone can help me fix this. I really need X11 forwarding for a few crucial things.
- Thomas