Forwarding X11
over ssh
without using xauth
- local -- the local machine serving an Xserver.
- remote -- the remote machine serving the application which drives the data going to the Xserver
Remote /etc/ssh/sshd_config
:
X11Forwarding no
X11DisplayOffset 10
X11UseLocalhost yes
Remote ~/.Xauthority
is empty or does not exist
On local:
Xephyr -ac -screen 1280x800 -br -reset :2 &
DISPLAY=:2 ssh -fR 6010:/tmp/.X11-unix/X2 user@remote "DISPLAY=:10 xeyes"