I would like to ssh to a docker image with X11 forwarding.
When I connect using SSH -X -v
and execute xclock
, it seems like the application runs (it does not terminates), but no window is opened.
My /etc/ssh/sshd_config
includes
X11Forwarding yes
X11UseLocalhost no
X11DisplayOffset 10
AllowAgentForwarding yes
xauth
is installed on docker image.
No error is reported after the print of
debug1: Requesting X11 forwarding with authentication spoofing.
The result of echo $DISPLAY
is <<HOSTNAME>>:11.0
I also tried ssh -Y
instead of -X
with no luck