Using xpra 2.5.2+dfsg1-2 (currently in Debian unstable), also tested 2.5.2-r22875-1.
Connection to server is impossible, server reports:
Error: processing new connection from Protocol(unix-domain socket:/run/xpra/hostname-100): 'latin-1' codec can't encode characters in position 0-6: ordinal not in range(256) Disconnecting client Protocol(unix-domain socket:/run/xpra/hostname-100):
2.4.3 works fine
custom configuration, aside from key shortcuts and vars:
pulseaudio = no dpi = 96 desktop-scaling = on xsettings = no start-new-commands = yes
Please post the server's -d server
debug log output.
server log
Thanks, this comes from:
b'desktop.names': (b'\xd1\x80\xd0\xb0\xd0\xb1\xd0\xbe\xd1\x87\xd0\xb8\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd0\xbb 1', b'\xd1\x80\xd0\xb0\xd0\xb1\xd0\xbe\xd1\x87\xd0\xb8\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd0\xbb 2', b'\xd1\x80\xd0\xb0\xd0\xb1\xd0\xbe\xd1\x87\xd0\xb8\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd0\xbb 3', b'\xd1\x80\xd0\xb0\xd0\xb1\xd0\xbe\xd1\x87\xd0\xb8\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd0\xbb 4', b'\xd1\x80\xd0\xb0\xd0\xb1\xd0\xbe\xd1\x87\xd0\xb8\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd0\xbb 5'
And this line:
v = strtobytes(dn).decode("utf8")
That's odd because this code has not changed? Maybe you've switched to python3?
Those strings look wrong, not sure how to interpret them.
Oh, I think I get it, it's the stricter exception checking: we need to catch UnicodeEncodeError
.
These are just default localized names of desktops in Openbox: "рабочий стол #"
Can you paste the output of:
./xpra/platform/gui.py | grep -i desktop
def get_number_of_desktops(): def get_desktop_names(): def show_desktop(show): "desktops" : get_number_of_desktops(), "desktop_names" : get_desktop_names(), "show_desktop", "set_fullscreen_monitors", "set_shaded", "get_number_of_desktops", "get_desktop_names",
You have to run the exact command, not grep the source.
Oh. this file is not executable and can not find xpra.platform module if run in python.
this file is not executable
This should work:
python2 /path/to/xpra/platform/gui.py | grep -i desktop
and / or:
python3 /path/to/xpra/platform/gui.py | grep -i desktop
Right, python3, missed that in the path.
$ python3 /usr/lib/python3/dist-packages/xpra/platform/gui.py | grep -i desktop * desktop_names : рабочий стол 1, рабочий стол 2, рабочий стол 3, рабочий стол 4, рабочий стол 5 * desktops : 5
Thanks, I should be able to come up with a proper fix now.
In the meantime, r23099 should workaround the problem, you can apply it by hand.
The workaround works, thanks!
More correct fix in r23100. (will backport)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2353