I have a problem with X forwarding through SSH. I've battled for ages, but no-one can seem to help.
I'm now taking a different tact. I would like to know how I would debug the errors?
What logs should I look in, what extra flags should I set (-v etc) and what should I look for?
Further Edit:
If I log into Putty into the server and try to xeyes
, I get:
PuTTY X11 proxy: wrong authorisation protocol attemptedError: Can't open display: localhost:10.0
If I xauth generate $DISPLAY
I get:
PuTTY X11 proxy: wrong authorisation protocol attemptedxauth: (argv):1: unable to open display "localhost:10.0".
Best Answer
My solution step by step:
1) login with option -X remote host login root
2) check if existing .Xauthority file
3) copy .Xauthority file to directory the other user
4) set permissions for this file
5) login oracle user
6) display setting in localhost:10.0
7) lists xauth cookies existing
8) adding
9) test
Hope they serve! @wcaraza