On Saturday 20 March 2021 21:04:11 Dr. Nikolaus Klepp wrote:
Please attach a logfile that you get from a session
where X11 forwarding
does not work and one where it does work. You'll need to
include the output
from the (not) working X11 client, too. e.g.:
ssh -v -X root@server xmessage xxx
ssh -p <port> -v -X root@<IP-server> xmessage test
debug1: /etc/ssh/ssh_config line 18: Applying options for *
debug1: Connecting to IP [IP] port <number>
debug1: Connection established.
debug1: Sending command: xmessage test
debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 37832
debug1: channel 1: new [x11]
debug1: confirm x11
X11 connection rejected because of wrong authentication.
debug1: channel 1: free: x11, nchannels 2
Error: Can't open display: localhost:2.0
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow(a)openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 2964, received 2920 bytes, in 0.4 seconds
Bytes per second: sent 6874.4, received 6772.4
debug1: Exit status 1