Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4856

Raspberry Pi OS • Re: Xwayland and listen tcp

$
0
0
Further investigation on socat:

telnetting into the socat listening port (telnet raspi4 6000) succeeds (address 192.168.2.50 is the VMS client side)
pi@raspi4 ~ $ sudo socat -4 -dd TCP4-LISTEN:6000 UNIX-CONNECT:/tmp/.X11-unix/X0
2024/07/10 14:30:15 socat[14229] N listening on AF=2 0.0.0.0:6000
2024/07/10 14:30:38 socat[14229] N accepting connection from AF=2 192.168.2.50:49176 on AF=2 192.168.2.80:6000
2024/07/10 14:30:38 socat[14229] N opening connection to AF=1 "/tmp/.X11-unix/X0"
2024/07/10 14:30:38 socat[14229] N successfully connected from local address AF=1 "\xA0\xE5\x7E"
2024/07/10 14:30:38 socat[14229] N starting data transfer loop with FDs [6,6] and [5,5]
2024/07/10 14:30:54 socat[14229] N socket 1 (fd 6) is at EOF
2024/07/10 14:30:54 socat[14229] N socket 2 (fd 5) is at EOF
2024/07/10 14:30:54 socat[14229] N exiting with status 0
same when I do this from linux raspi5. So the Xwayland socket fd must be where the problem starts.

Statistics: Posted by wboerhout — Wed Jul 10, 2024 12:36 pm



Viewing all articles
Browse latest Browse all 4856

Trending Articles