Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

SOLVED: Gentoo: Incorrect padding, Socket exception, Bad file descriptor #4350

Closed edsantiago closed 2 months ago

edsantiago commented 2 months ago

[I realize Gentoo is not a supported xpra platform. I am filing this simply in case it can be of help to others. I will immediately close after filing.]

Symptom:

$ xpra attach ssh://me@somewhere/1          
2024-09-09 07:41:31,405 Warning: missing audio module

2024-09-09 07:41:31,491 Xpra GTK3 X11 client version 6.0.1-r0
2024-09-09 07:41:31,512  running on Linux Gentoo 2.15
2024-09-09 07:41:31,512  cpython 3.12
2024-09-09 07:41:31,512  window manager is 'awesome'
2024-09-09 07:41:32,225 created unix domain sockets:
2024-09-09 07:41:32,225  '/run/user/1000/xpra/clients/......
2024-09-09 07:41:32,684 Unable to import OpenGL.arrays.numpymodule.NumpyHandler: No numpy module present: No module named 'numpy'
2024-09-09 07:41:32,688 Warning: cannot handle window transparency
2024-09-09 07:41:32,688  screen is not composited
2024-09-09 07:41:32,701 OpenGL enabled on 'AMD Radeon RX 560 Series'
2024-09-09 07:41:32,795 Connected (version 2.0, client OpenSSH_9.7)
Warning: failed to connect:
 connection failed: ('<some completely random IP address that has nothing to do with any network I've ever used> ..... Error('Incorrect padding'))
2024-09-09 07:41:32,868 removing unix domain socket '/run/user/1000/xpra/clients/.......'
2024-09-09 07:41:32,949 Socket exception: Bad file descriptor (9)

Cause: something called paramiko. Someone with more time than I can maybe chase this down further.

Solution: use --ssh=ssh

$ xpra --ssh=ssh attach ssh://me@somewhere/1
       ^^^^^^^^^
yay happy world

HTH

totaam commented 2 months ago

Xpra GTK3 X11 client version 6.0.1-r0

Please see https://github.com/Xpra-org/xpra/wiki/Versions