x11 forwarding over ssh not working
I cannot forward x11 from my openbsd 4.4. Not to other computers nor to myself via ssh to localhost. When I try xclock I get- Error: Can't open display.
in sshd_config I set X11UseLocalHost "no" and I log in with ssh -X. I also tried to change the X11DisplayOffset but nothing is working.
I have tried to set the xauth location also but no difference.
I have also tried the ssh -Y option.
When I log in to the freebsd, where it works DISPLAY=localhost:10.0
but when I log in to openbsd, DISPLAY is not set, it does not work if I set it to
localhost:10.0 either.
ps.
I can forward it from my Freebsd with the OpenBsd as the client. However on my Freebsd I cannot forward x11 from my jails. I followed the instructions in the freebsd handbook for the jails.
|