Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with xpra connection failed #3979

Closed
angus73 opened this issue Aug 28, 2023 · 22 comments
Closed

Help with xpra connection failed #3979

angus73 opened this issue Aug 28, 2023 · 22 comments
Labels
bug Something isn't working invalid This doesn't seem right network

Comments

@angus73
Copy link

angus73 commented Aug 28, 2023

Hi, I have a problem with xpra, which used to work fine until the last update some days ago.

Client version: xpra v5.0-r0 (Ubuntu 20.04)
Server version: xpra v5.0-r0 (Fedora 37)

Now if I run on the client

$ xpra start ssh://myserver/myport

the program exits with this output:

2023-08-28 10:51:36,208 Xpra GTK3 client version 5.0-r0
2023-08-28 10:51:36,334  running on Linux Ubuntu 20.04 focal
2023-08-28 10:51:36,336  window manager is 'GNOME Shell'
2023-08-28 10:51:37,140 GStreamer version 1.16.3
2023-08-28 10:51:37,175 created unix domain socket '/run/user/1000/xpra/clients/client-name-9011'
2023-08-28 10:51:37,483 Connected (version 2.0, client OpenSSH_8.8)
2023-08-28 10:51:37,638 Authentication (publickey) successful!
2023-08-28 10:51:37,974 ssh server OS is 'linux-gnu'
2023-08-28 10:51:38,215 paramiko SSH agent forwarding enabled
2023-08-28 10:51:38,354  keyboard settings: rules=evdev, model=pc105, layout=it,it
2023-08-28 10:51:38,358  desktop size is 1366x768:
2023-08-28 10:51:38,359   :0.0 (361x203 mm - DPI: 96x96) workarea: 1366x741  at    0x27  
2023-08-28 10:51:38,359     AUO eDP-1        (344x193 mm - DPI: 101x101)
2023-08-28 10:51:38,370  SSH: 'found existing display myport : LIVE'
2023-08-28 10:51:38,501 SSH EOF on stderr of run-xpra
2023-08-28 10:51:38,502 Connection failed
2023-08-28 10:51:38,510 removing unix domain socket '/run/user/1000/xpra/clients/client-name-9011'

Can anybody please help me?

Many thanks in advance,
Andrea

@angus73 angus73 added the bug Something isn't working label Aug 28, 2023
@totaam totaam added the network label Aug 28, 2023
@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

What is myport? Is it a number? Why obfuscate it?

Try running with -d ssh and posting the output.

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

Thank you for your reply;

What is myport? Is it a number? Why obfuscate it?

yes, sorry, my fault

Try running with -d ssh and posting the output.

Here it is:

$ xpra -d ssh start ssh://myserver/999
2023-08-28 14:41:52,867 debug enabled for xpra.scripts.parsing / ('ssh',)
2023-08-28 14:41:52,867 using paramiko ssh backend
2023-08-28 14:41:52,867 debug enabled for xpra.scripts.parsing / ('ssh',)
2023-08-28 14:41:52,868 using paramiko ssh backend
2023-08-28 14:41:53,092 Xpra GTK3 client version 5.0-r0
2023-08-28 14:41:53,228  running on Linux Ubuntu 20.04 focal
2023-08-28 14:41:53,229  window manager is 'GNOME Shell'
2023-08-28 14:41:54,100 GStreamer version 1.16.3
2023-08-28 14:41:54,136 created unix domain socket '/run/user/1000/xpra/clients/myclient-12364'
2023-08-28 14:41:54,413 debug enabled for xpra.net.ssh.paramiko_client / ('network', 'ssh')
2023-08-28 14:41:54,414 connect_to({'display_name': 'ssh://myserver/999', 'cmdline': ['/usr/bin/xpra', '-d', 'ssh', 'start', 'ssh://myserver/999'], 'type': 'ssh', 'proxy_command': ['_proxy_start'], 'exit_ssh': True, 'remote_xpra': ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], 'username': '', 'host': 'myserver', 'local': False, 'port': 22, 'display': '999', 'display_as_args': [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], 'is_paramiko': True, 'agent': True, 'ssh-agent-uuid': 'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', 'full_ssh': ['paramiko']})
2023-08-28 14:41:54,414 authentication modes=['none', 'agent', 'key', 'password']
2023-08-28 14:41:54,417 paramiko socket_connect: sockname=('xxx.xxx.xxx.xxx', 60954), peername=('yyy.yyy.yyy.yyy', 22)
2023-08-28 14:41:54,418 SSH transport <paramiko.Transport at 0x64a82340 (unconnected)>
2023-08-28 14:41:54,419 starting thread (client mode): 0x64a82340
2023-08-28 14:41:54,420 Local version/idstring: SSH-2.0-paramiko_2.6.0
2023-08-28 14:41:54,429 Remote version/idstring: SSH-2.0-OpenSSH_8.8
2023-08-28 14:41:54,429 Connected (version 2.0, client OpenSSH_8.8)
2023-08-28 14:41:54,433 kex algos:['curve25519-sha256', '[email protected]', 'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521', 'diffie-hellman-group-exchange-sha256', 'diffie-hellman-group16-sha512', 'diffie-hellman-group18-sha512', 'diffie-hellman-group14-sha256'] server key:['rsa-sha2-512', 'rsa-sha2-256', 'ecdsa-sha2-nistp256', 'ssh-ed25519'] client encrypt:['[email protected]', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr', '[email protected]', '[email protected]'] server encrypt:['[email protected]', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr', '[email protected]', '[email protected]'] client mac:['[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', 'hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1'] server mac:['[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', 'hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1'] client compress:['none', '[email protected]'] server compress:['none', '[email protected]'] client lang:[''] server lang:[''] kex follows?False
2023-08-28 14:41:54,433 Kex agreed: [email protected]
2023-08-28 14:41:54,433 HostKey agreed: ssh-ed25519
2023-08-28 14:41:54,433 Cipher agreed: aes128-ctr
2023-08-28 14:41:54,434 MAC agreed: hmac-sha2-256
2023-08-28 14:41:54,434 Compression agreed: none
2023-08-28 14:41:54,492 kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
2023-08-28 14:41:54,493 Switch to new keys ...
2023-08-28 14:41:54,494 do_connect_to(<paramiko.Transport at 0x64a82340 (cipher aes128-ctr, 128 bits) (connected; awaiting auth)>, 'myserver', 'andrea', None, {'hostname': '*'}, ['/home/andrea/.ssh/id_ed25519', '/home/andrea/.ssh/id_ecdsa', '/home/andrea/.ssh/id_rsa', '/home/andrea/.ssh/id_dsa'], {'display_name': 'ssh://myserver/999', 'cmdline': ['/usr/bin/xpra', '-d', 'ssh', 'start', 'ssh://myserver/999'], 'type': 'ssh', 'proxy_command': ['_proxy_start'], 'exit_ssh': True, 'remote_xpra': ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], 'username': '', 'host': 'myserver', 'local': False, 'port': 22, 'display': '999', 'display_as_args': [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], 'is_paramiko': True, 'agent': True, 'ssh-agent-uuid': 'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', 'full_ssh': ['paramiko']})
2023-08-28 14:41:54,494 remote_server_key=MD5:1f:a6:38:74:5c:a6:08:3b:dd:0c:41:e9:c9:c4:b8:2a
2023-08-28 14:41:54,544 HostKeys.load(/home/andrea/.ssh/known_hosts) successful
2023-08-28 14:41:54,544 host keys=<paramiko.hostkeys.HostKeys object at 0x7fac64a48c40>
2023-08-28 14:41:54,548 ed25519 host key 'MD5:1f:a6:38:74:5c:a6:08:3b:dd:0c:41:e9:c9:c4:b8:2a' OK for host 'myserver'
2023-08-28 14:41:54,548 starting authentication, authentication methods: ['none', 'agent', 'key', 'password']
2023-08-28 14:41:54,548 auth=none
2023-08-28 14:41:54,548 trying none authentication
2023-08-28 14:41:54,550 userauth is OK
2023-08-28 14:41:54,558 Authentication type (none) not permitted.
2023-08-28 14:41:54,558 Allowed methods: ['publickey']
2023-08-28 14:41:54,558 auth_none()
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/net/ssh/paramiko_client.py", line 670, in auth_none
    transport.auth_none(username)
  File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1446, in auth_none
    return self.auth_handler.wait_for_response(my_event)
  File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 250, in wait_for_response
    raise e
paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['publickey']
2023-08-28 14:41:54,559 auth=agent
2023-08-28 14:41:54,560 agent keys: (<paramiko.agent.AgentKey object at 0x7fac649ebac0>, <paramiko.agent.AgentKey object at 0x7fac649ebcd0>, <paramiko.agent.AgentKey object at 0x7fac649ebc70>, <paramiko.agent.AgentKey object at 0x7fac649ebd30>)
2023-08-28 14:41:54,560 trying ssh-agent key 'MD5:99:c4:7a:bb:86:28:c7:18:f2:0c:7c:e7:8e:e1:d3:72'
2023-08-28 14:41:54,563 userauth is OK
2023-08-28 14:41:54,600 Authentication (publickey) successful!
2023-08-28 14:41:54,600 authenticated using agent and key 'MD5:99:c4:7a:bb:86:28:c7:18:f2:0c:7c:e7:8e:e1:d3:72'
2023-08-28 14:41:54,600 run_remote_xpra(<paramiko.Transport at 0x64a82340 (cipher aes128-ctr, 128 bits) (active; 0 open channel(s))>, ['_proxy_start'], ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], None, [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], {'display_name': 'ssh://myserver/999', 'cmdline': ['/usr/bin/xpra', '-d', 'ssh', 'start', 'ssh://myserver/999'], 'type': 'ssh', 'proxy_command': ['_proxy_start'], 'exit_ssh': True, 'remote_xpra': ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], 'username': '', 'host': 'myserver', 'local': False, 'port': 22, 'display': '999', 'display_as_args': [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], 'is_paramiko': True, 'agent': True, 'ssh-agent-uuid': 'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', 'full_ssh': ['paramiko']})
2023-08-28 14:41:54,600 will try to run xpra from: ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe']
2023-08-28 14:41:54,600 run_test_command(transport, echo %OS%)
2023-08-28 14:41:54,601 [chan 0] Max packet in: 4096 bytes
2023-08-28 14:41:54,656 Received global request "[email protected]"
2023-08-28 14:41:54,656 Rejecting "[email protected]" global request from server.
2023-08-28 14:41:54,657 Debug msg: b'/home/andrea/.ssh/authorized_keys:18: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding'
2023-08-28 14:41:54,701 [chan 0] Max packet out: 32768 bytes
2023-08-28 14:41:54,702 Secsh channel 0 opened.
2023-08-28 14:41:54,707 [chan run-test:echo %OS%] Sesch channel 0 request ok
2023-08-28 14:41:54,708 exec_command('echo %OS%') returned
2023-08-28 14:41:54,708 exit status is not ready yet, sleeping
2023-08-28 14:41:54,719 exit status is not ready yet, sleeping
2023-08-28 14:41:54,729 exit status is not ready yet, sleeping
2023-08-28 14:41:54,740 exit status is not ready yet, sleeping
2023-08-28 14:41:54,750 exit status is not ready yet, sleeping
2023-08-28 14:41:54,761 exit status is not ready yet, sleeping
2023-08-28 14:41:54,772 exit status is not ready yet, sleeping
2023-08-28 14:41:54,782 exit status is not ready yet, sleeping
2023-08-28 14:41:54,793 exit status is not ready yet, sleeping
2023-08-28 14:41:54,803 exit status is not ready yet, sleeping
2023-08-28 14:41:54,814 exit status is not ready yet, sleeping
2023-08-28 14:41:54,825 exit status is not ready yet, sleeping
2023-08-28 14:41:54,835 exit status is not ready yet, sleeping
2023-08-28 14:41:54,846 exit status is not ready yet, sleeping
2023-08-28 14:41:54,856 exit status is not ready yet, sleeping
2023-08-28 14:41:54,867 exit status is not ready yet, sleeping
2023-08-28 14:41:54,878 exit status is not ready yet, sleeping
2023-08-28 14:41:54,888 exit status is not ready yet, sleeping
2023-08-28 14:41:54,899 exit status is not ready yet, sleeping
2023-08-28 14:41:54,910 exit status is not ready yet, sleeping
2023-08-28 14:41:54,920 exit status is not ready yet, sleeping
2023-08-28 14:41:54,931 exit status is not ready yet, sleeping
2023-08-28 14:41:54,941 exit status is not ready yet, sleeping
2023-08-28 14:41:54,952 exit status is not ready yet, sleeping
2023-08-28 14:41:54,962 exit status is not ready yet, sleeping
2023-08-28 14:41:54,973 exit status is not ready yet, sleeping
2023-08-28 14:41:54,984 exit status is not ready yet, sleeping
2023-08-28 14:41:54,994 exit status is not ready yet, sleeping
2023-08-28 14:41:55,005 exit status is not ready yet, sleeping
2023-08-28 14:41:55,015 exit status is not ready yet, sleeping
2023-08-28 14:41:55,026 exit status is not ready yet, sleeping
2023-08-28 14:41:55,037 exit status is not ready yet, sleeping
2023-08-28 14:41:55,047 exit status is not ready yet, sleeping
2023-08-28 14:41:55,058 exit status is not ready yet, sleeping
2023-08-28 14:41:55,068 exit status is not ready yet, sleeping
2023-08-28 14:41:55,079 exit status is not ready yet, sleeping
2023-08-28 14:41:55,090 exit status is not ready yet, sleeping
2023-08-28 14:41:55,100 exit status is not ready yet, sleeping
2023-08-28 14:41:55,111 exit status is not ready yet, sleeping
2023-08-28 14:41:55,121 exit status is not ready yet, sleeping
2023-08-28 14:41:55,132 exit status is not ready yet, sleeping
2023-08-28 14:41:55,142 exit status is not ready yet, sleeping
2023-08-28 14:41:55,144 [chan run-test:echo %OS%] EOF received (run-test:echo %OS%)
2023-08-28 14:41:55,145 [chan run-test:echo %OS%] EOF sent (run-test:echo %OS%)
2023-08-28 14:41:55,153 exec_command('echo %OS%')=0
2023-08-28 14:41:55,154 exec_command out=['%OS%\n']
2023-08-28 14:41:55,155 exec_command err=[]
2023-08-28 14:41:55,155 echo %OS%='%OS%'
2023-08-28 14:41:55,155 run_test_command(transport, echo $OSTYPE)
2023-08-28 14:41:55,156 [chan 1] Max packet in: 4096 bytes
2023-08-28 14:41:55,191 [chan 1] Max packet out: 32768 bytes
2023-08-28 14:41:55,191 Secsh channel 1 opened.
2023-08-28 14:41:55,199 [chan run-test:echo $OSTYPE] Sesch channel 1 request ok
2023-08-28 14:41:55,199 exec_command('echo $OSTYPE') returned
2023-08-28 14:41:55,200 exit status is not ready yet, sleeping
2023-08-28 14:41:55,210 exit status is not ready yet, sleeping
2023-08-28 14:41:55,221 exit status is not ready yet, sleeping
2023-08-28 14:41:55,231 exit status is not ready yet, sleeping
2023-08-28 14:41:55,242 exit status is not ready yet, sleeping
2023-08-28 14:41:55,253 exit status is not ready yet, sleeping
2023-08-28 14:41:55,263 exit status is not ready yet, sleeping
2023-08-28 14:41:55,274 exit status is not ready yet, sleeping
2023-08-28 14:41:55,276 [chan run-test:echo $OSTYPE] EOF received (run-test:echo $OSTYPE)
2023-08-28 14:41:55,277 [chan run-test:echo $OSTYPE] EOF sent (run-test:echo $OSTYPE)
2023-08-28 14:41:55,284 exec_command('echo $OSTYPE')=0
2023-08-28 14:41:55,285 exec_command out=['linux-gnu\n']
2023-08-28 14:41:55,285 exec_command err=[]
2023-08-28 14:41:55,286 OSTYPE='linux-gnu'
2023-08-28 14:41:55,286 ssh server OS is 'linux-gnu'
2023-08-28 14:41:55,286 run_test_command(transport, command)
2023-08-28 14:41:55,287 [chan 2] Max packet in: 4096 bytes
2023-08-28 14:41:55,321 [chan 2] Max packet out: 32768 bytes
2023-08-28 14:41:55,322 Secsh channel 2 opened.
2023-08-28 14:41:55,327 [chan run-test:command] Sesch channel 2 request ok
2023-08-28 14:41:55,328 exec_command('command') returned
2023-08-28 14:41:55,328 exit status is not ready yet, sleeping
2023-08-28 14:41:55,338 exit status is not ready yet, sleeping
2023-08-28 14:41:55,349 exit status is not ready yet, sleeping
2023-08-28 14:41:55,360 exit status is not ready yet, sleeping
2023-08-28 14:41:55,370 exit status is not ready yet, sleeping
2023-08-28 14:41:55,381 exit status is not ready yet, sleeping
2023-08-28 14:41:55,391 exit status is not ready yet, sleeping
2023-08-28 14:41:55,394 [chan run-test:command] EOF received (run-test:command)
2023-08-28 14:41:55,395 [chan run-test:command] EOF sent (run-test:command)
2023-08-28 14:41:55,402 exec_command('command')=0
2023-08-28 14:41:55,403 exec_command out=[]
2023-08-28 14:41:55,403 exec_command err=[]
2023-08-28 14:41:55,403 run_test_command(transport, command -v xpra)
2023-08-28 14:41:55,404 [chan 3] Max packet in: 4096 bytes
2023-08-28 14:41:55,441 [chan 3] Max packet out: 32768 bytes
2023-08-28 14:41:55,442 Secsh channel 3 opened.
2023-08-28 14:41:55,447 [chan run-test:command -v xpra] Sesch channel 3 request ok
2023-08-28 14:41:55,448 exec_command('command -v xpra') returned
2023-08-28 14:41:55,448 exit status is not ready yet, sleeping
2023-08-28 14:41:55,458 exit status is not ready yet, sleeping
2023-08-28 14:41:55,469 exit status is not ready yet, sleeping
2023-08-28 14:41:55,479 exit status is not ready yet, sleeping
2023-08-28 14:41:55,489 exit status is not ready yet, sleeping
2023-08-28 14:41:55,500 exit status is not ready yet, sleeping
2023-08-28 14:41:55,510 exit status is not ready yet, sleeping
2023-08-28 14:41:55,521 exit status is not ready yet, sleeping
2023-08-28 14:41:55,522 [chan run-test:command -v xpra] EOF received (run-test:command -v xpra)
2023-08-28 14:41:55,523 [chan run-test:command -v xpra] EOF sent (run-test:command -v xpra)
2023-08-28 14:41:55,532 exec_command('command -v xpra')=0
2023-08-28 14:41:55,532 exec_command out=['/usr/bin/xpra\n']
2023-08-28 14:41:55,533 exec_command err=[]
2023-08-28 14:41:55,533 adding xpra_cmd='/usr/bin/xpra'
2023-08-28 14:41:55,533 cmd(['_proxy_start'], [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'])="/usr/bin/xpra" "_proxy_start" ":999" "--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e" "--debug=ssh"
2023-08-28 14:41:55,534 trying to open SSH session, window-size=134217727, timeout=60
2023-08-28 14:41:55,534 [chan 4] Max packet in: 4096 bytes
2023-08-28 14:41:55,619 [chan 4] Max packet out: 32768 bytes
2023-08-28 14:41:55,619 Secsh channel 4 opened.
2023-08-28 14:41:55,620 paramiko agent_option=True
2023-08-28 14:41:55,620 paramiko SSH agent forwarding enabled
2023-08-28 14:41:55,621 channel exec_command('"/usr/bin/xpra" "_proxy_start" ":999" "--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e" "--debug=ssh"')
2023-08-28 14:41:55,669 [chan run-xpra] Sesch channel 4 request ok
2023-08-28 14:41:55,766  keyboard settings: rules=evdev, model=pc105, layout=it,it
2023-08-28 14:41:55,770  desktop size is 1366x768:
2023-08-28 14:41:55,770   :0.0 (361x203 mm - DPI: 96x96) workarea: 1366x741  at    0x27  
2023-08-28 14:41:55,770     AUO eDP-1        (344x193 mm - DPI: 101x101)
2023-08-28 14:41:56,176  SSH: 'Entering daemon mode; any further errors will be reported to:'
2023-08-28 14:41:56,177  SSH: "  '/run/user/1000/xpra/999/:999.log'"
2023-08-28 14:41:59,201  SSH: "debug enabled for xpra.net.ssh.agent / ('server', 'ssh')"
2023-08-28 14:41:59,202  SSH: "setup_proxy_ssh_socket(['/usr/bin/xpra', '_proxy_start', ':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], '/tmp/ssh-XXXXUvWPog/agent.95274'"
2023-08-28 14:41:59,203  SSH: "setup_proxy_ssh_socket '/run/user/1000/xpra/999/ssh/bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e' -> '/tmp/ssh-XXXXUvWPog/agent.95274'"
2023-08-28 14:41:59,306 [chan run-xpra] EOF received (run-xpra)
2023-08-28 14:41:59,307 SSH EOF on stderr of run-xpra
2023-08-28 14:41:59,309 [chan run-xpra] EOF sent (run-xpra)
2023-08-28 14:41:59,313 Connection failed
2023-08-28 14:41:59,340 removing unix domain socket '/run/user/1000/xpra/clients/myclient-12364'

For your information, in the log I changed the server name into "myserver", the client name into "myclient", the client IP address into "xxx.xxx.xxx.xxx" and the server IP address into "yyy.yyy.yyy.yyy".

Thank you very much,
Andrea

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

My guess is that the session failed to start.
Try to run xpra start --no-daemon on myserver directly (ie: in an ssh terminal session).
Does that run or fail?

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

It seems to me it does run:

$ xpra start --no-daemon
2023-08-28 15:00:33,359 no uinput module (not usually needed)
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System:  6.2.9-200.fc37.x86_64 
Current Operating System: Linux myserver 6.4.12-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 23 17:49:27 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.4.12-100.fc37.x86_64 root=UUID=a7ca2491-c807-4b10-b33f-ef425699148d ro
Build Date: 25 April 2023  12:00:00AM
Build ID: xorg-x11-server 1.20.14-23.fc37 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/S98998/Xorg.S98998.log", Time: Mon Aug 28 15:00:33 2023
(++) Using config file: "/usr/local/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2023-08-28 15:00:36,613 pointer device emulation using XTest
2023-08-28 15:00:36,639 serving html content from '/usr/share/xpra/www'
2023-08-28 15:00:36,640 wrote pid 98998 to '/run/user/1000/xpra/2/server.pid'
2023-08-28 15:00:36,651 created unix domain socket '/run/user/1000/xpra/myserver-2'
2023-08-28 15:00:36,651 cannot create group socket '/run/xpra/myserver-2'
2023-08-28 15:00:36,651  [Errno 13] Permesso negato
2023-08-28 15:00:36,651 created unix domain socket '/run/user/1000/xpra/2/socket'
2023-08-28 15:00:36,651 xvfb pid=99059
2023-08-28 15:00:36,688 setting dummy crtc and output 0 to:
2023-08-28 15:00:36,688  8192x4096 50Hz (1445x722 mm, dpi=144)
2023-08-28 15:00:36,689 monitor 0 is 'VFB-0' 8192x4096
2023-08-28 15:00:36,703 Warning: cannot forward notifications,
2023-08-28 15:00:36,703  the interface is already claimed
2023-08-28 15:00:36,703  if you do not have a dedicated dbus session for this xpra instance,
2023-08-28 15:00:36,703  use the 'notifications=no' option
2023-08-28 15:00:36,709 pulseaudio not started: 'pulseaudio' command not found
2023-08-28 15:00:36,709 removing private directory '/run/user/1000/xpra/2/pulse'
2023-08-28 15:00:36,734 watching for applications menu changes in:
2023-08-28 15:00:36,735  '/var/lib/flatpak/exports/share/applications'
2023-08-28 15:00:36,735  '/usr/local/share/applications'
2023-08-28 15:00:36,735  '/usr/share/applications'
2023-08-28 15:00:36,735  '/var/lib/snapd/desktop/applications'
2023-08-28 15:00:36,745 python-zeroconf: '::' IPv6 loopback address is not supported
2023-08-28 15:00:36,766 Warning: webcam forwarding is disabled
2023-08-28 15:00:36,766  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2023-08-28 15:00:36,766  make sure that the 'v4l2loopback' kernel module is installed and loaded
2023-08-28 15:00:36,766  or use the 'webcam=no' option
2023-08-28 15:00:36,766 found 0 virtual video devices for webcam forwarding
2023-08-28 15:00:36,774 printer forwarding enabled using postscript and pdf
2023-08-28 15:00:36,852 GStreamer version 1.20.5
2023-08-28 15:00:36,945 31.1GB of system memory
2023-08-28 15:00:37,408 OpenGL is supported on display ':2'
2023-08-28 15:00:37,408  using 'llvmpipe (LLVM 15.0.7, 256 bits)' renderer
2023-08-28 15:00:40,229 loaded 68 start menu entries from 12 sub-menus in 3.5 seconds
2023-08-28 15:00:40,797 xpra is ready.
2023-08-28 15:00:40,797 xpra X11 seamless server version 5.0-r0
2023-08-28 15:00:40,797  uid=1000 (andrea), gid=1000 (andrea)
2023-08-28 15:00:40,809  running with pid 98998 on Linux Fedora 37 ThirtySeven
2023-08-28 15:00:40,810  connected to X11 display :2 with 24 bit colors

and doesn't exit until I hit ctrl+C:

^C
2023-08-28 15:09:11,394 X11 seamless server got signal SIGINT
2023-08-28 15:09:11,394 xpra X11 seamless server is terminating
2023-08-28 15:09:11,418 removing unix domain socket '/run/user/1000/xpra/myserver-2'
2023-08-28 15:09:11,418 removing unix domain socket '/run/user/1000/xpra/2/socket'
2023-08-28 15:09:11,418 killing xvfb with pid 99059
2023-08-28 15:09:11,419 session directory '/run/user/1000/xpra/2' was not removed
2023-08-28 15:09:11,419  because it still contains some files:
2023-08-28 15:09:11,419  'Xorg.S98998.log'
2023-08-28 15:09:11,419  'Xorg.S98510.log'
2023-08-28 15:09:11,419  'S50546.log'
2023-08-28 15:09:11,419  'Xorg.S50546.log'
2023-08-28 15:09:11,419  'Xorg.S49912.log'
2023-08-28 15:09:11,419  'S49912.log'
(II) Server terminated successfully (0). Closing log file.

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

and doesn't exit until I hit ctrl+C

That's expected.

Can you try this now instead:
xpra _proxy_start :999
It should start a server then terminate the connection if you press enter and complain that you're not an xpra client.. because you're not.

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

Can you try this now instead:
xpra _proxy_start :999

$ xpra _proxy_start :999
Entering daemon mode; any further errors will be reported to:
  '/run/user/1000/xpra/999/:999.log.new'
Actual log file name is now: '/run/user/1000/xpra/999/:999.log'

disconnect: invalid packet header byte: 0x0a

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

Then it looks like you can also start servers via _proxy_start!
Is there anything interesting in the log file /run/user/1000/xpra/999/:999.log ?

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

Is there anything interesting in the log file /run/user/1000/xpra/999/:999.log ?

I don't know, but you may find it here:


$ cat /run/user/1000/xpra/999/:999.log
Socket path '/tmp/.X11-unix/X999' not found
2023-08-28 15:26:48,983 no uinput module (not usually needed)

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System:  6.2.9-200.fc37.x86_64 
Current Operating System: Linux myserver 6.4.12-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 23 17:49:27 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.4.12-100.fc37.x86_64 root=UUID=a7ca2491-c807-4b10-b33f-ef425699148d ro
Build Date: 25 April 2023  12:00:00AM
Build ID: xorg-x11-server 1.20.14-23.fc37 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/999/Xorg.:999.log", Time: Mon Aug 28 15:26:48 2023
(++) Using config file: "/usr/local/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2023-08-28 15:26:50,885 pointer device emulation using XTest
2023-08-28 15:26:50,911 serving html content from '/usr/share/xpra/www'
2023-08-28 15:26:50,911 wrote pid 105094 to '/run/user/1000/xpra/999/server.pid'
2023-08-28 15:26:50,923 created unix domain socket '/run/user/1000/xpra/myserver-999'
2023-08-28 15:26:50,923 cannot create group socket '/run/xpra/myserver-999'
2023-08-28 15:26:50,923  [Errno 13] Permesso negato
2023-08-28 15:26:50,923 created unix domain socket '/run/user/1000/xpra/999/socket'
2023-08-28 15:26:50,923 xvfb pid=105205
2023-08-28 15:26:50,960 setting dummy crtc and output 0 to:
2023-08-28 15:26:50,960  8192x4096 50Hz (1445x722 mm, dpi=144)
2023-08-28 15:26:50,961 monitor 0 is 'VFB-0' 8192x4096
2023-08-28 15:26:50,975 Warning: cannot forward notifications,
2023-08-28 15:26:50,975  the interface is already claimed
2023-08-28 15:26:50,975  if you do not have a dedicated dbus session for this xpra instance,
2023-08-28 15:26:50,975  use the 'notifications=no' option
2023-08-28 15:26:50,981 pulseaudio not started: 'pulseaudio' command not found
2023-08-28 15:26:50,981 removing private directory '/run/user/1000/xpra/999/pulse'
2023-08-28 15:26:50,996 watching for applications menu changes in:
2023-08-28 15:26:50,996  '/var/lib/flatpak/exports/share/applications'
2023-08-28 15:26:50,996  '/usr/local/share/applications'
2023-08-28 15:26:50,996  '/usr/share/applications'
2023-08-28 15:26:50,996  '/var/lib/snapd/desktop/applications'
2023-08-28 15:26:51,030 python-zeroconf: '::' IPv6 loopback address is not supported
2023-08-28 15:26:51,048 Warning: webcam forwarding is disabled
2023-08-28 15:26:51,048  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2023-08-28 15:26:51,048  make sure that the 'v4l2loopback' kernel module is installed and loaded
2023-08-28 15:26:51,048  or use the 'webcam=no' option
2023-08-28 15:26:51,048 found 0 virtual video devices for webcam forwarding
2023-08-28 15:26:51,055 printer forwarding enabled using postscript and pdf
2023-08-28 15:26:51,121 GStreamer version 1.20.5
2023-08-28 15:26:51,227 31.1GB of system memory
2023-08-28 15:26:51,610 OpenGL is supported on display ':999'
2023-08-28 15:26:51,610  using 'llvmpipe (LLVM 15.0.7, 256 bits)' renderer
2023-08-28 15:26:54,590 loaded 68 start menu entries from 12 sub-menus in 3.6 seconds
2023-08-28 15:26:55,166 xpra is ready.
2023-08-28 15:26:55,166 xpra X11 seamless server version 5.0-r0
2023-08-28 15:26:55,178  uid=1000 (andrea), gid=1000 (andrea)
2023-08-28 15:26:55,178  running with pid 105094 on Linux Fedora 37 ThirtySeven
2023-08-28 15:26:55,179  connected to X11 display :999 with 24 bit colors
2023-08-28 15:26:55,240 New socket connection received
2023-08-28 15:26:55,240  on '/run/user/1000/xpra/999/socket'
2023-08-28 15:27:31,107 New socket connection received
2023-08-28 15:27:31,107  on '/run/user/1000/xpra/999/socket'
2023-08-28 15:27:31,107 Disconnecting client /run/user/1000/xpra/999/socket:
2023-08-28 15:27:31,107  invalid packet header byte: 0x0a

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

This also looks fine..
Maybe clean all the log files and the session directory, and then try again using the xpra client - perhaps the server log file will show something different in that case.

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

ok, just to be sure: would it be ok rm -rf /run/user/1000/xpra/* on the server?
Many thanks

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

Yes

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

And make sure that all xpra processes are terminated.
Ideally also the Xorg processes associated with these servers.

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

ok I cleaned all files and also restarted the whole server, sorry which command should I run? On the client or on the server? thanks

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

which command should I run

From your client:
xpra -d ssh start ssh://myserver/999

Then if it still fails, look in your server log.

@angus73
Copy link
Author

angus73 commented Aug 28, 2023

Still fails. Server log /run/user/1000/xpra/999/:999.log:

Socket path '/tmp/.X11-unix/X999' not found
2023-08-28 17:34:28,960 no uinput module (not usually needed)

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System:  6.2.9-200.fc37.x86_64 
Current Operating System: Linux myserver 6.4.12-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 23 17:49:27 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.4.12-100.fc37.x86_64 root=UUID=a7ca2491-c807-4b10-b33f-ef425699148d ro
Build Date: 25 April 2023  12:00:00AM
Build ID: xorg-x11-server 1.20.14-23.fc37 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/999/Xorg.:999.log", Time: Mon Aug 28 17:34:28 2023
(++) Using config file: "/usr/local/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2023-08-28 17:34:30,701 debug enabled for xpra.net.ssh.agent / ('server', 'ssh')
2023-08-28 17:34:30,702 setting ssh agent link:
2023-08-28 17:34:30,702  'agent.default' -> '/run/user/1000/xpra/999/ssh/agent'
2023-08-28 17:34:30,772 pointer device emulation using XTest
2023-08-28 17:34:30,797 serving html content from '/usr/share/xpra/www'
2023-08-28 17:34:30,797 wrote pid 7116 to '/run/user/1000/xpra/999/server.pid'
2023-08-28 17:34:30,808 created unix domain socket '/run/user/1000/xpra/myserver-999'
2023-08-28 17:34:30,808 cannot create group socket '/run/xpra/myserver-999'
2023-08-28 17:34:30,808  [Errno 13] Permesso negato
2023-08-28 17:34:30,808 created unix domain socket '/run/user/1000/xpra/999/socket'
2023-08-28 17:34:30,808 xvfb pid=7171
2023-08-28 17:34:30,844 setting dummy crtc and output 0 to:
2023-08-28 17:34:30,844  8192x4096 50Hz (1445x722 mm, dpi=144)
2023-08-28 17:34:30,845 monitor 0 is 'VFB-0' 8192x4096
2023-08-28 17:34:30,859 Warning: cannot forward notifications,
2023-08-28 17:34:30,859  the interface is already claimed
2023-08-28 17:34:30,859  if you do not have a dedicated dbus session for this xpra instance,
2023-08-28 17:34:30,859  use the 'notifications=no' option
2023-08-28 17:34:30,865 pulseaudio not started: 'pulseaudio' command not found
2023-08-28 17:34:30,866 removing private directory '/run/user/1000/xpra/999/pulse'
2023-08-28 17:34:30,890 watching for applications menu changes in:
2023-08-28 17:34:30,890  '/var/lib/flatpak/exports/share/applications'
2023-08-28 17:34:30,890  '/usr/local/share/applications'
2023-08-28 17:34:30,890  '/usr/share/applications'
2023-08-28 17:34:30,890  '/var/lib/snapd/desktop/applications'
2023-08-28 17:34:30,896 python-zeroconf: '::' IPv6 loopback address is not supported
2023-08-28 17:34:30,922 Warning: webcam forwarding is disabled
2023-08-28 17:34:30,922  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2023-08-28 17:34:30,922  make sure that the 'v4l2loopback' kernel module is installed and loaded
2023-08-28 17:34:30,922  or use the 'webcam=no' option
2023-08-28 17:34:30,922 found 0 virtual video devices for webcam forwarding
2023-08-28 17:34:30,928 printer forwarding enabled using postscript and pdf
2023-08-28 17:34:31,003 GStreamer version 1.20.5
2023-08-28 17:34:31,084 31.1GB of system memory
2023-08-28 17:34:31,427 OpenGL is supported on display ':999'
2023-08-28 17:34:31,428  using 'llvmpipe (LLVM 15.0.7, 256 bits)' renderer
2023-08-28 17:34:34,256 loaded 68 start menu entries from 12 sub-menus in 3.4 seconds
2023-08-28 17:34:34,815 xpra is ready.
2023-08-28 17:34:34,816 xpra X11 seamless server version 5.0-r0
2023-08-28 17:34:34,827  uid=1000 (andrea), gid=1000 (andrea)
2023-08-28 17:34:34,827  running with pid 7116 on Linux Fedora 37 ThirtySeven
2023-08-28 17:34:34,828  connected to X11 display :999 with 24 bit colors
2023-08-28 17:34:34,861 New socket connection received
2023-08-28 17:34:34,861  on '/run/user/1000/xpra/999/socket'
2023-08-28 17:34:34,946 New socket connection received
2023-08-28 17:34:34,946  on '/run/user/1000/xpra/999/socket'
2023-08-28 17:34:34,947 Disconnecting client /run/user/1000/xpra/999/socket:
2023-08-28 17:34:34,947  invalid packet encoding: 'rencodeplus' decoder is not available

Maybe that 'rencodeplus' matters? (but no idea how to fix)

@totaam totaam added the invalid This doesn't seem right label Aug 28, 2023
@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

invalid packet encoding: 'rencodeplus' decoder is not available

Something is wrong with your installation.
rencodeplus must be enabled in v5.

You can use xpra showconfig and xpra showsetting packet-encoders to find out why it is not.
My guess is a stray configuration file.

@totaam totaam closed this as completed Aug 28, 2023
@angus73
Copy link
Author

angus73 commented Aug 28, 2023

ok so I found:

$ xpra showconfig |grep packet-encoders
packet-encoders       (used)   = 'rencode', 'bencode', 'yaml'      <class 'list'>
packet-encoders      (default) = 'rencodeplus', 'rencode', 'bencode', 'yaml'  <class 'tuple'>
$ xpra showsetting packet-encoders
* default config:
packet-encoders     : 'all'                                    (<class 'list'>)
* '/etc/xpra':
packet-encoders     : 'rencodeplus, rencode, bencode, yaml'    (<class 'str'>)
* '/usr/local/etc/xpra':
packet-encoders     : 'rencode, bencode, yaml'                 (<class 'str'>)
* '/home/andrea/.config/xpra':
packet-encoders     :                                          (<class 'NoneType'>)

Can /usr/local/etc/xpra be the faulty one? Can I remove it? Is there anything else I need to do?
Thank you for your patience

@totaam
Copy link
Collaborator

totaam commented Aug 28, 2023

/usr/local/etc/xpra does not belong to the xpra packages. You must have installed it yourself.
It should be totally safe to remove it.
Make sure to remove everything xpra related from /usr/local.

@angus73
Copy link
Author

angus73 commented Aug 29, 2023

Ok so I very deep cleaned both client and server from old xpra versions and stale config files. Now when I run on the client xpra -d ssh start ssh://myserver/999, it exits with this output:

$ xpra -d ssh start ssh://myserver/999
2023-08-29 11:31:50,932 debug enabled for xpra.scripts.parsing / ('ssh',)
2023-08-29 11:31:50,932 using paramiko ssh backend
2023-08-29 11:31:50,932 debug enabled for xpra.scripts.parsing / ('ssh',)
2023-08-29 11:31:50,932 using paramiko ssh backend
2023-08-29 11:31:51,152 Xpra GTK3 client version 5.0-r0
2023-08-29 11:31:51,274  running on Linux Ubuntu 20.04 focal
2023-08-29 11:31:51,275  window manager is 'GNOME Shell'
2023-08-29 11:31:51,995 GStreamer version 1.16.3
2023-08-29 11:31:52,031 created unix domain socket '/run/user/1000/xpra/clients/myclient-7197'
2023-08-29 11:31:52,305 debug enabled for xpra.net.ssh.paramiko_client / ('network', 'ssh')
2023-08-29 11:31:52,306 connect_to({'display_name': 'ssh://myserver/999', 'cmdline': ['/usr/bin/xpra', '-d', 'ssh', 'start', 'ssh://myserver/999'], 'type': 'ssh', 'proxy_command': ['_proxy_start'], 'exit_ssh': True, 'remote_xpra': ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], 'username': '', 'host': 'myserver', 'local': False, 'port': 22, 'display': '999', 'display_as_args': [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], 'is_paramiko': True, 'agent': True, 'ssh-agent-uuid': 'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', 'full_ssh': ['paramiko']})
2023-08-29 11:31:52,306 authentication modes=['none', 'agent', 'key', 'password']
2023-08-29 11:31:52,386 paramiko socket_connect: sockname=('xxx.xxx.xxx.xxx', 60116), peername=('yyy.yyy.yyy.yyy', 22)
2023-08-29 11:31:52,387 SSH transport <paramiko.Transport at 0x165363a0 (unconnected)>
2023-08-29 11:31:52,388 starting thread (client mode): 0x165363a0
2023-08-29 11:31:52,388 Local version/idstring: SSH-2.0-paramiko_2.6.0
2023-08-29 11:31:52,423 Remote version/idstring: SSH-2.0-OpenSSH_8.8
2023-08-29 11:31:52,423 Connected (version 2.0, client OpenSSH_8.8)
2023-08-29 11:31:52,457 kex algos:['curve25519-sha256', '[email protected]', 'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521', 'diffie-hellman-group-exchange-sha256', 'diffie-hellman-group16-sha512', 'diffie-hellman-group18-sha512', 'diffie-hellman-group14-sha256'] server key:['rsa-sha2-512', 'rsa-sha2-256', 'ecdsa-sha2-nistp256', 'ssh-ed25519'] client encrypt:['[email protected]', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr', '[email protected]', '[email protected]'] server encrypt:['[email protected]', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr', '[email protected]', '[email protected]'] client mac:['[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', 'hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1'] server mac:['[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]', 'hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1'] client compress:['none', '[email protected]'] server compress:['none', '[email protected]'] client lang:[''] server lang:[''] kex follows?False
2023-08-29 11:31:52,457 Kex agreed: [email protected]
2023-08-29 11:31:52,457 HostKey agreed: ssh-ed25519
2023-08-29 11:31:52,458 Cipher agreed: aes128-ctr
2023-08-29 11:31:52,458 MAC agreed: hmac-sha2-256
2023-08-29 11:31:52,458 Compression agreed: none
2023-08-29 11:31:52,546 kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
2023-08-29 11:31:52,547 Switch to new keys ...
2023-08-29 11:31:52,549 do_connect_to(<paramiko.Transport at 0x165363a0 (cipher aes128-ctr, 128 bits) (connected; awaiting auth)>, 'myserver', 'andrea', None, {'hostname': '*'}, ['/home/andrea/.ssh/id_ed25519', '/home/andrea/.ssh/id_ecdsa', '/home/andrea/.ssh/id_rsa', '/home/andrea/.ssh/id_dsa'], {'display_name': 'ssh://myserver/999', 'cmdline': ['/usr/bin/xpra', '-d', 'ssh', 'start', 'ssh://myserver/999'], 'type': 'ssh', 'proxy_command': ['_proxy_start'], 'exit_ssh': True, 'remote_xpra': ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], 'username': '', 'host': 'myserver', 'local': False, 'port': 22, 'display': '999', 'display_as_args': [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], 'is_paramiko': True, 'agent': True, 'ssh-agent-uuid': 'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', 'full_ssh': ['paramiko']})
2023-08-29 11:31:52,549 remote_server_key=MD5:1f:a6:38:74:5c:a6:08:3b:dd:0c:41:e9:c9:c4:b8:2a
2023-08-29 11:31:52,604 HostKeys.load(/home/andrea/.ssh/known_hosts) successful
2023-08-29 11:31:52,604 host keys=<paramiko.hostkeys.HostKeys object at 0x7fe3164fdca0>
2023-08-29 11:31:52,608 ed25519 host key 'MD5:1f:a6:38:74:5c:a6:08:3b:dd:0c:41:e9:c9:c4:b8:2a' OK for host 'myserver'
2023-08-29 11:31:52,608 starting authentication, authentication methods: ['none', 'agent', 'key', 'password']
2023-08-29 11:31:52,608 auth=none
2023-08-29 11:31:52,608 trying none authentication
2023-08-29 11:31:52,696 userauth is OK
2023-08-29 11:31:52,740 Authentication type (none) not permitted.
2023-08-29 11:31:52,741 Allowed methods: ['publickey']
2023-08-29 11:31:52,741 auth_none()
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xpra/net/ssh/paramiko_client.py", line 670, in auth_none
    transport.auth_none(username)
  File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1446, in auth_none
    return self.auth_handler.wait_for_response(my_event)
  File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 250, in wait_for_response
    raise e
paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['publickey']
2023-08-29 11:31:52,746 auth=agent
2023-08-29 11:31:52,748 agent keys: (<paramiko.agent.AgentKey object at 0x7fe3164bad60>, <paramiko.agent.AgentKey object at 0x7fe3164baeb0>, <paramiko.agent.AgentKey object at 0x7fe3164bae50>, <paramiko.agent.AgentKey object at 0x7fe3164baf10>)
2023-08-29 11:31:52,748 trying ssh-agent key 'MD5:99:c4:7a:bb:86:28:c7:18:f2:0c:7c:e7:8e:e1:d3:72'
2023-08-29 11:31:52,786 userauth is OK
2023-08-29 11:31:52,845 Authentication (publickey) successful!
2023-08-29 11:31:52,846 authenticated using agent and key 'MD5:99:c4:7a:bb:86:28:c7:18:f2:0c:7c:e7:8e:e1:d3:72'
2023-08-29 11:31:52,846 run_remote_xpra(<paramiko.Transport at 0x165363a0 (cipher aes128-ctr, 128 bits) (active; 0 open channel(s))>, ['_proxy_start'], ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], None, [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], {'display_name': 'ssh://myserver/999', 'cmdline': ['/usr/bin/xpra', '-d', 'ssh', 'start', 'ssh://myserver/999'], 'type': 'ssh', 'proxy_command': ['_proxy_start'], 'exit_ssh': True, 'remote_xpra': ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe'], 'username': '', 'host': 'myserver', 'local': False, 'port': 22, 'display': '999', 'display_as_args': [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], 'is_paramiko': True, 'agent': True, 'ssh-agent-uuid': 'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', 'full_ssh': ['paramiko']})
2023-08-29 11:31:52,846 will try to run xpra from: ['xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra', 'Xpra_cmd.exe']
2023-08-29 11:31:52,846 run_test_command(transport, echo %OS%)
2023-08-29 11:31:52,847 [chan 0] Max packet in: 4096 bytes
2023-08-29 11:31:52,915 Received global request "[email protected]"
2023-08-29 11:31:52,915 Rejecting "[email protected]" global request from server.
2023-08-29 11:31:52,916 Debug msg: b'/home/andrea/.ssh/authorized_keys:18: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding'
2023-08-29 11:31:52,983 [chan 0] Max packet out: 32768 bytes
2023-08-29 11:31:52,983 Secsh channel 0 opened.
2023-08-29 11:31:53,013 [chan run-test:echo %OS%] Sesch channel 0 request ok
2023-08-29 11:31:53,014 exec_command('echo %OS%') returned
2023-08-29 11:31:53,014 exit status is not ready yet, sleeping
2023-08-29 11:31:53,025 exit status is not ready yet, sleeping
2023-08-29 11:31:53,035 exit status is not ready yet, sleeping
2023-08-29 11:31:53,046 exit status is not ready yet, sleeping
2023-08-29 11:31:53,057 exit status is not ready yet, sleeping
2023-08-29 11:31:53,067 exit status is not ready yet, sleeping
2023-08-29 11:31:53,078 exit status is not ready yet, sleeping
2023-08-29 11:31:53,089 exit status is not ready yet, sleeping
2023-08-29 11:31:53,099 exit status is not ready yet, sleeping
2023-08-29 11:31:53,110 exit status is not ready yet, sleeping
2023-08-29 11:31:53,120 exit status is not ready yet, sleeping
2023-08-29 11:31:53,131 exit status is not ready yet, sleeping
2023-08-29 11:31:53,141 exit status is not ready yet, sleeping
2023-08-29 11:31:53,152 exit status is not ready yet, sleeping
2023-08-29 11:31:53,162 exit status is not ready yet, sleeping
2023-08-29 11:31:53,173 exit status is not ready yet, sleeping
2023-08-29 11:31:53,184 exit status is not ready yet, sleeping
2023-08-29 11:31:53,194 exit status is not ready yet, sleeping
2023-08-29 11:31:53,205 exit status is not ready yet, sleeping
2023-08-29 11:31:53,215 exit status is not ready yet, sleeping
2023-08-29 11:31:53,224 [chan run-test:echo %OS%] EOF received (run-test:echo %OS%)
2023-08-29 11:31:53,225 [chan run-test:echo %OS%] EOF sent (run-test:echo %OS%)
2023-08-29 11:31:53,226 exec_command('echo %OS%')=0
2023-08-29 11:31:53,226 exec_command out=['%OS%\n']
2023-08-29 11:31:53,227 exec_command err=[]
2023-08-29 11:31:53,227 echo %OS%='%OS%'
2023-08-29 11:31:53,227 run_test_command(transport, echo $OSTYPE)
2023-08-29 11:31:53,228 [chan 1] Max packet in: 4096 bytes
2023-08-29 11:31:53,465 [chan 1] Max packet out: 32768 bytes
2023-08-29 11:31:53,465 Secsh channel 1 opened.
2023-08-29 11:31:53,501 [chan run-test:echo $OSTYPE] Sesch channel 1 request ok
2023-08-29 11:31:53,502 exec_command('echo $OSTYPE') returned
2023-08-29 11:31:53,502 exit status is not ready yet, sleeping
2023-08-29 11:31:53,512 exit status is not ready yet, sleeping
2023-08-29 11:31:53,523 exit status is not ready yet, sleeping
2023-08-29 11:31:53,533 exit status is not ready yet, sleeping
2023-08-29 11:31:53,544 exit status is not ready yet, sleeping
2023-08-29 11:31:53,555 exit status is not ready yet, sleeping
2023-08-29 11:31:53,565 exit status is not ready yet, sleeping
2023-08-29 11:31:53,576 exit status is not ready yet, sleeping
2023-08-29 11:31:53,587 exit status is not ready yet, sleeping
2023-08-29 11:31:53,597 exit status is not ready yet, sleeping
2023-08-29 11:31:53,608 exit status is not ready yet, sleeping
2023-08-29 11:31:53,618 exit status is not ready yet, sleeping
2023-08-29 11:31:53,629 exit status is not ready yet, sleeping
2023-08-29 11:31:53,636 [chan run-test:echo $OSTYPE] EOF received (run-test:echo $OSTYPE)
2023-08-29 11:31:53,637 [chan run-test:echo $OSTYPE] EOF sent (run-test:echo $OSTYPE)
2023-08-29 11:31:53,639 exec_command('echo $OSTYPE')=0
2023-08-29 11:31:53,640 exec_command out=['linux-gnu\n']
2023-08-29 11:31:53,640 exec_command err=[]
2023-08-29 11:31:53,640 OSTYPE='linux-gnu'
2023-08-29 11:31:53,641 ssh server OS is 'linux-gnu'
2023-08-29 11:31:53,641 run_test_command(transport, command)
2023-08-29 11:31:53,641 [chan 2] Max packet in: 4096 bytes
2023-08-29 11:31:53,757 [chan 2] Max packet out: 32768 bytes
2023-08-29 11:31:53,757 Secsh channel 2 opened.
2023-08-29 11:31:53,817 [chan run-test:command] Sesch channel 2 request ok
2023-08-29 11:31:53,817 exec_command('command') returned
2023-08-29 11:31:53,817 exit status is not ready yet, sleeping
2023-08-29 11:31:53,828 exit status is not ready yet, sleeping
2023-08-29 11:31:53,839 exit status is not ready yet, sleeping
2023-08-29 11:31:53,849 exit status is not ready yet, sleeping
2023-08-29 11:31:53,860 exit status is not ready yet, sleeping
2023-08-29 11:31:53,870 exit status is not ready yet, sleeping
2023-08-29 11:31:53,881 exit status is not ready yet, sleeping
2023-08-29 11:31:53,891 exit status is not ready yet, sleeping
2023-08-29 11:31:53,902 exit status is not ready yet, sleeping
2023-08-29 11:31:53,913 exit status is not ready yet, sleeping
2023-08-29 11:31:53,923 exit status is not ready yet, sleeping
2023-08-29 11:31:53,934 exit status is not ready yet, sleeping
2023-08-29 11:31:53,935 [chan run-test:command] EOF received (run-test:command)
2023-08-29 11:31:53,936 [chan run-test:command] EOF sent (run-test:command)
2023-08-29 11:31:53,945 exec_command('command')=0
2023-08-29 11:31:53,945 exec_command out=[]
2023-08-29 11:31:53,946 exec_command err=[]
2023-08-29 11:31:53,946 run_test_command(transport, command -v xpra)
2023-08-29 11:31:53,946 [chan 3] Max packet in: 4096 bytes
2023-08-29 11:31:54,034 [chan 3] Max packet out: 32768 bytes
2023-08-29 11:31:54,034 Secsh channel 3 opened.
2023-08-29 11:31:54,062 [chan run-test:command -v xpra] Sesch channel 3 request ok
2023-08-29 11:31:54,062 exec_command('command -v xpra') returned
2023-08-29 11:31:54,063 exit status is not ready yet, sleeping
2023-08-29 11:31:54,073 exit status is not ready yet, sleeping
2023-08-29 11:31:54,084 exit status is not ready yet, sleeping
2023-08-29 11:31:54,094 exit status is not ready yet, sleeping
2023-08-29 11:31:54,104 exit status is not ready yet, sleeping
2023-08-29 11:31:54,114 exit status is not ready yet, sleeping
2023-08-29 11:31:54,125 exit status is not ready yet, sleeping
2023-08-29 11:31:54,135 exit status is not ready yet, sleeping
2023-08-29 11:31:54,146 exit status is not ready yet, sleeping
2023-08-29 11:31:54,156 exit status is not ready yet, sleeping
2023-08-29 11:31:54,167 exit status is not ready yet, sleeping
2023-08-29 11:31:54,178 exit status is not ready yet, sleeping
2023-08-29 11:31:54,188 exit status is not ready yet, sleeping
2023-08-29 11:31:54,199 exit status is not ready yet, sleeping
2023-08-29 11:31:54,209 exit status is not ready yet, sleeping
2023-08-29 11:31:54,220 exit status is not ready yet, sleeping
2023-08-29 11:31:54,231 exit status is not ready yet, sleeping
2023-08-29 11:31:54,241 exit status is not ready yet, sleeping
2023-08-29 11:31:54,248 [chan run-test:command -v xpra] EOF received (run-test:command -v xpra)
2023-08-29 11:31:54,249 [chan run-test:command -v xpra] EOF sent (run-test:command -v xpra)
2023-08-29 11:31:54,252 exec_command('command -v xpra')=0
2023-08-29 11:31:54,252 exec_command out=['/usr/bin/xpra\n']
2023-08-29 11:31:54,253 exec_command err=[]
2023-08-29 11:31:54,253 adding xpra_cmd='/usr/bin/xpra'
2023-08-29 11:31:54,254 cmd(['_proxy_start'], [':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'])="/usr/bin/xpra" "_proxy_start" ":999" "--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e" "--debug=ssh"
2023-08-29 11:31:54,254 trying to open SSH session, window-size=134217727, timeout=60
2023-08-29 11:31:54,254 [chan 4] Max packet in: 4096 bytes
2023-08-29 11:31:54,375 [chan 4] Max packet out: 32768 bytes
2023-08-29 11:31:54,375 Secsh channel 4 opened.
2023-08-29 11:31:54,376 paramiko agent_option=True
2023-08-29 11:31:54,376 paramiko SSH agent forwarding enabled
2023-08-29 11:31:54,377 channel exec_command('"/usr/bin/xpra" "_proxy_start" ":999" "--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e" "--debug=ssh"')
2023-08-29 11:31:54,485 [chan run-xpra] Sesch channel 4 request ok
2023-08-29 11:31:54,596  keyboard settings: rules=evdev, model=pc105, layout=it,it
2023-08-29 11:31:54,601  desktop size is 1366x768:
2023-08-29 11:31:54,601   :0.0 (361x203 mm - DPI: 96x96) workarea: 1366x741  at    0x27  
2023-08-29 11:31:54,602     AUO eDP-1        (344x193 mm - DPI: 101x101)
2023-08-29 11:31:55,681  SSH: 'Entering daemon mode; any further errors will be reported to:'
2023-08-29 11:31:55,682  SSH: "  '/run/user/1000/xpra/999/server.log.new'"
2023-08-29 11:31:56,910  SSH: "Actual log file name is now: '/run/user/1000/xpra/999/server.log'"
2023-08-29 11:32:02,965  SSH: "debug enabled for xpra.net.ssh.agent / ('server', 'ssh')"
2023-08-29 11:32:02,966  SSH: "setup_proxy_ssh_socket(['/usr/bin/xpra', '_proxy_start', ':999', '--env=SSH_AGENT_UUID=bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e', '--debug=ssh'], '/tmp/ssh-XXXXGQV8fh/agent.17782'"
2023-08-29 11:32:02,966  SSH: "setup_proxy_ssh_socket removing invalid symlink / socket '/run/user/1000/xpra/999/ssh/bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e'"
2023-08-29 11:32:02,967  SSH: "setup_proxy_ssh_socket '/run/user/1000/xpra/999/ssh/bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e' -> '/tmp/ssh-XXXXGQV8fh/agent.17782'"
2023-08-29 11:32:03,688 enabled remote logging
2023-08-29 11:32:03,688 Xpra X11 seamless server version 5.0
2023-08-29 11:32:03,788 running
2023-08-29 11:32:04,028 audio playback using pulseaudio device:
2023-08-29 11:32:04,028 audio playback  'Audio interno Stereo analogico'
2023-08-29 11:32:04,554 audio playback using 'opus' audio codec
2023-08-29 11:32:06,882 [chan run-xpra] EOF received (run-xpra)
2023-08-29 11:32:06,883 SSH EOF on stderr of run-xpra
2023-08-29 11:32:06,885 [chan run-xpra] EOF sent (run-xpra)
2023-08-29 11:32:06,888 Connection lost
2023-08-29 11:32:06,912 audio playback stopping
2023-08-29 11:32:06,914 removing unix domain socket '/run/user/1000/xpra/clients/myclient-7197'
CONNECTION_LOST, reconnecting
xpra initialization error:
 mode 'seamless' not found in command line arguments

...and in the server:

$ cat /run/user/1000/xpra/999/server.log 
Socket path '/tmp/.X11-unix/X999' not found
2023-08-29 11:31:55,470 no uinput module (not usually needed)

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System:  6.2.9-200.fc37.x86_64 
Current Operating System: Linux myserver 6.4.12-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 23 17:49:27 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.4.12-100.fc37.x86_64 root=UUID=a7ca2491-c807-4b10-b33f-ef425699148d ro
Build Date: 25 April 2023  12:00:00AM
Build ID: xorg-x11-server 1.20.14-23.fc37 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/999/Xorg.log", Time: Tue Aug 29 11:31:55 2023
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2023-08-29 11:31:56,824 debug enabled for xpra.net.ssh.agent / ('server', 'ssh')
2023-08-29 11:31:56,825 Error setting up ssh agent forwarding
Traceback (most recent call last):
  File "/usr/lib64/python3.11/site-packages/xpra/scripts/server.py", line 1385, in _do_run_server
    ssh_auth_sock = setup_ssh_auth_sock()
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/xpra/net/ssh/agent.py", line 37, in setup_ssh_auth_sock
    os.symlink(cur_sockpath, agent_default_sockpath)
FileExistsError: [Errno 17] File exists: '/tmp/ssh-XXXXGQV8fh/agent.17782' -> '/run/user/1000/xpra/999/ssh/agent.default'
2023-08-29 11:31:56,998 pointer device emulation using XTest
2023-08-29 11:31:57,106 serving html content from '/usr/share/xpra/www'
2023-08-29 11:31:57,107 wrote pid 17944 to '/run/user/1000/xpra/999/server.pid'
2023-08-29 11:31:57,143 created unix domain socket '/run/user/1000/xpra/myserver-999'
2023-08-29 11:31:57,143 cannot create group socket '/run/xpra/myserver-999'
2023-08-29 11:31:57,143  [Errno 13] Permesso negato
2023-08-29 11:31:57,143 created unix domain socket '/home/andrea/.xpra/myserver-999'
2023-08-29 11:31:57,144 created unix domain socket '/run/user/1000/xpra/999/socket'
2023-08-29 11:31:57,144 xvfb pid=17999
2023-08-29 11:31:57,266 setting dummy crtc and output 0 to:
2023-08-29 11:31:57,266  8192x4096 50Hz (1445x722 mm, dpi=144)
2023-08-29 11:31:57,267 monitor 0 is 'VFB-0' 8192x4096
2023-08-29 11:31:57,343 python-zeroconf: '::' IPv6 loopback address is not supported
2023-08-29 11:31:57,347 D-Bus notification forwarding is available
2023-08-29 11:31:57,360 pulseaudio not started: 'pulseaudio' command not found
2023-08-29 11:31:57,360 removing private directory '/run/user/1000/xpra/999/pulse'
2023-08-29 11:31:57,681 watching for applications menu changes in:
2023-08-29 11:31:57,681  '/var/lib/flatpak/exports/share/applications'
2023-08-29 11:31:57,681  '/usr/local/share/applications'
2023-08-29 11:31:57,681  '/usr/share/applications'
2023-08-29 11:31:57,681  '/var/lib/snapd/desktop/applications'
2023-08-29 11:31:57,757 Warning: webcam forwarding is disabled
2023-08-29 11:31:57,757  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2023-08-29 11:31:57,757  make sure that the 'v4l2loopback' kernel module is installed and loaded
2023-08-29 11:31:57,757  or use the 'webcam=no' option
2023-08-29 11:31:57,757 found 0 virtual video devices for webcam forwarding
2023-08-29 11:31:58,190 GStreamer version 1.20.5
2023-08-29 11:32:01,210 printer forwarding enabled using postscript and pdf
2023-08-29 11:32:02,043 31.1GB of system memory
2023-08-29 11:32:02,214 xpra is ready.
2023-08-29 11:32:02,236 xpra X11 seamless server version 5.0-r0
2023-08-29 11:32:02,236  uid=1000 (andrea), gid=1000 (andrea)
2023-08-29 11:32:02,236  running with pid 17944 on Linux Fedora 37 ThirtySeven
2023-08-29 11:32:02,482  connected to X11 display :999 with 24 bit colors
2023-08-29 11:32:02,490 New socket connection received
2023-08-29 11:32:02,490  on '/run/user/1000/xpra/999/socket'
2023-08-29 11:32:02,865 New socket connection received
2023-08-29 11:32:02,865  on '/run/user/1000/xpra/999/socket'
2023-08-29 11:32:02,925 Handshake complete; enabling connection
2023-08-29 11:32:03,001 Python/GTK3 Linux Ubuntu 20.04 focal x11 client version 5.0
2023-08-29 11:32:03,001  OpenGL is disabled
2023-08-29 11:32:03,001 get_ssh_agent_path(bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e)=/run/user/1000/xpra/999/ssh/bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e
2023-08-29 11:32:03,001 setting ssh agent link:
2023-08-29 11:32:03,001  'bc0f074236ecd9e4664027185da94110b154e048e33abc3d6ab3427ca3bfb26e' -> '/run/user/1000/xpra/999/ssh/agent'
2023-08-29 11:32:03,002 setting key repeat rate from client: 500ms delay / 30ms interval
2023-08-29 11:32:03,003 setting keymap: rules=evdev, model=pc105, layout=it,it
2023-08-29 11:32:03,407  client root window size is 1366x768
2023-08-29 11:32:03,407   :0.0 (361x203 mm - DPI: 96x96) workarea: 1366x741  at    0x27  
2023-08-29 11:32:03,407     AUO eDP-1        (344x193 mm - DPI: 101x101)
2023-08-29 11:32:03,462 setting dummy crtc and output 0 to:
2023-08-29 11:32:03,462  1366x768 60Hz (344x193 mm, dpi=101)
2023-08-29 11:32:03,463 monitor 0 is 'AUO eDP-1' 1366x768
2023-08-29 11:32:03,644 client   1 @12.534 Xpra X11 seamless server version 5.0
2023-08-29 11:32:03,838 client   1 @12.635 running
2023-08-29 11:32:03,840 setting keymap: rules=evdev, model=pc105, layout=it,it
2023-08-29 11:32:04,280 OpenGL is supported on display ':999'
2023-08-29 11:32:04,280  using 'llvmpipe (LLVM 15.0.7, 256 bits)' renderer
2023-08-29 11:32:04,281  automatic picture encoding enabled, also available:
2023-08-29 11:32:04,281   h264, vp9, vp8, png, png/P, png/L, webp, rgb24, rgb32, jpeg, jpega, scroll
2023-08-29 11:32:04,305 started command `ibus-daemon` with pid 18140
2023-08-29 11:32:04,681 using pulseaudio device:
2023-08-29 11:32:04,682  'Dummy Output'
Xorg-for-Xpra-999: ../../../include/privates.h:121: dixGetPrivateAddr: Assertion `key->initialized' failed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/libexec/Xorg-for-Xpra-999 (OsLookupColor+0x13d) [0x55dd8dea703d]
(EE) 1: /lib64/libc.so.6 (__sigaction+0x50) [0x7fbe3a4a2b20]
(EE) 2: /lib64/libc.so.6 (__pthread_kill_implementation+0x10c) [0x7fbe3a4f2e5c]
(EE) 3: /lib64/libc.so.6 (gsignal+0x16) [0x7fbe3a4a2a76]
(EE) 4: /lib64/libc.so.6 (abort+0xd7) [0x7fbe3a48c7fc]
(EE) 5: /lib64/libc.so.6 (__assert_fail_base.cold+0xf) [0x7fbe3a48c71b]
(EE) 6: /lib64/libc.so.6 (__assert_fail+0x46) [0x7fbe3a49b656]
(EE) 7: /usr/libexec/Xorg-for-Xpra-999 (SrvXkbResizeKeyType+0x825) [0x55dd8de6f9a5]
(EE) 8: /usr/libexec/Xorg-for-Xpra-999 (DRI2Authenticate+0xb5) [0x55dd8de70055]
(EE) 9: /usr/libexec/Xorg-for-Xpra-999 (DRI2ScreenInit+0x8e1) [0x55dd8de72b11]
(EE) 10: /usr/libexec/Xorg-for-Xpra-999 (miPutImage+0x163d) [0x55dd8dd34db4]
(EE) 11: /lib64/libc.so.6 (__libc_start_call_main+0x80) [0x7fbe3a48d510]
(EE) 12: /lib64/libc.so.6 (__libc_start_main+0x89) [0x7fbe3a48d5c9]
(EE) 13: /usr/libexec/Xorg-for-Xpra-999 (_start+0x25) [0x55dd8dd350f5]
(EE) 
(EE) 
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/run/user/1000/xpra/999/Xorg.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
2023-08-29 11:32:05,547 audio capture using 'opus' audio codec
2023-08-29 11:32:06,141 Warning: not adding duplicate printer 'PDF'
X connection to :999 broken (explicit kill or server shutdown).
2023-08-29 11:32:06,790 audio capture stopping
xcb_connection_has_error() ha restituito VERO
xcb_connection_has_error() ha restituito VERO

Thanks again for your help
Andrea

@totaam
Copy link
Collaborator

totaam commented Aug 29, 2023

(EE) 0: /usr/libexec/Xorg-for-Xpra-999 (OsLookupColor+0x13d) [0x55dd8dea703d]

See:
#2764 (comment)
#3706 (comment)
This is not an xpra bug.

@angus73
Copy link
Author

angus73 commented Aug 29, 2023

Thank you very much! Changing /etc/xpra/conf.d/55_server_x11.conf as per #2764 (comment) made it working.

@totaam
Copy link
Collaborator

totaam commented Aug 30, 2023

@angus73 this is only a temporary solution and is not a supported configuration.
Your problem with Xorg crashing is normally solved by applying system updates and / or rebooting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right network
Projects
None yet
Development

No branches or pull requests

2 participants