You are not logged in.
Hello,
The situation:
- App with GUI is running in a Docker container (CentOS 7.1) under Arch
- I want to access this GUI via X11 forwarding on my client machine (also Arch)
What works:
- GUI works locally (with X11-unix being mounted in the Docker container)
- X11 forwarding of any app running outside of Docker (X11 forwarding is set up and running properly for normal uses)
Some setup info:
- docker networking is bridged
- container can reach host (firewall is open)
- DISPLAY variable is set in container (to host-ip-addr:10.0 because of TCP port 6010 where sshd is listening)
- packets to X forward port (6010) are reaching to host from the container
What does not work:
- X11 forwarding of the Docker app
- Error: X11 connection rejected because of wrong authentication.
Things i tried:
- starting client ssh with -Y option
- putting "X11ForwardTrusted yes" in ssh_config on X server machine
- xhost + (so allow any clients to connect)
- putting "Host *" in ssh_config on X server machine
- putting "X11UseLocalhost no" in sshd_config on remote X client machine
How can i just disable all the X security stuff and get this working?
Or even better: How can i get it working with security?
Thanks in advance,
Lazarus
Offline
I found out what was wrong and answered my own question on stackoverflow.
Offline