You are not logged in.

#1 2016-09-24 12:12:17

cedwards
Member
Registered: 2016-09-24
Posts: 1

X11 Forwarding not working

Hello All,

I'm trying to X11 Forward from my laptop running Arch Linux to a Cygwin setup on a Windows 10 PC.  I have this working from an RPi3 and a Hyper-V VM both running Ubuntu.
When I launch an application such as xclock it opens on the client (arch laptop) instead of my host (win10 PC).  No display errors or anything, and echo $DISPLAY on the Arch Linux laptop outputs ":0"

I followed this guide to setup Arch Linux:
https://wiki.archlinux.org/index.php/installation_guide
Then https://wiki.archlinux.org/index.php/Ge … mendations

And this guide for X11 forwarding:
https://wiki.archlinux.org/index.php/Se … forwarding

In my /etc/ssh/sshd_config on my Arch Linux laptop I have:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
AllowTcpForwarding yes

On my Windows 10 host I run

ssh -v -Y user@archlaptop

Relevant output:

debug1: Requesting X11 forwarding with authentication spoofing.

Things I have tried:
Changing X11UseLocalhost from yes to no (I usually leave it on yes)
Reinstall xorg-xauth and xorg-xhost
Delete .Xauthority file and reboot
Check journalctl | grep -i ssh | tail -50 (nothing relevant I could see)
Connecting from a different host (Ubuntu VM, didn't work)
Restarting sshd daemon in between doing any of these steps

Still pretty new to Linux so I'm looking for any guidance on this issue.  I've tried Googling it but most of what I find is people having issues with the display.

Offline

Board footer

Powered by FluxBB