Replies: 3 comments 3 replies
-
You need to attach to this existing session, not try to start a new one:
|
Beta Was this translation helpful? Give feedback.
-
I'm really not sure what the benefit is of using
Looks like a bug. Xpra's builtin ssh server only accepts a very limited set of commands for emulating a real ssh server in order to handle xpra connections over ssh. It looks like it is failing to parse this particular one. |
Beta Was this translation helpful? Give feedback.
-
Not heard back, closing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Windows 11 laptop and I am trying to set up desktop shadowing on it to be accessed via a Linux client. Both are using v5.0.7.
On Windows I am starting the shadow server in powershell manually with:
& 'C:\Program Files\Xpra\Xpra_cmd.exe' shadow --bind-ssh=0.0.0.0:14500,auth=none --mdns=0
Everything seems fine: "xpra is ready".
I try to connect to the host with
xpra shadow ssh://user@ip:14500
(with -d ssh and/or --ssh="ssh -vvv" for details).
The ssh connection is successful; however, the command that xpra sends via ssh to start the proxy shadow server fails with "unsupported ssh command":
2024-03-22 15:37:03,203 Connected (version 2.0, client OpenSSH_8.2p1)
2024-03-22 15:37:03,281 Auth granted (none).
2024-03-22 15:37:03,344 Warning: unsupported ssh command:
2024-03-22 15:37:03,344 ['sh', '-c', 'if command -v "xpra" > /dev/null 2>&1; then xpra _proxy_shadow_start "--ssh=ssh -vv" "--debug=ssh" "--env=#silence some AT-SPI and atk-bridge warnings:" "--env=NO_AT_BRIDGE=1" "--env=XPRA_CLIPBOARD_IMAGE_STAMP=0";elif [ -x $XDG_RUNTIME_DIR/xpra/run-xpra ]; then $XDG_RUNTIME_DIR/xpra/run-xpra _proxy_shadow_start "--ssh=ssh -vv" "--debug=ssh" "--env=#silence some AT-SPI and atk-bridge warnings:" "--env=NO_AT_BRIDGE=1" "--env=XPRA_CLIPBOARD_IMAGE_STAMP=0";elif [ -x /usr/local/bin/xpra ]; then /usr/local/bin/xpra _proxy_shadow_start "--ssh=ssh -vv" "--debug=ssh" "--env=#silence some AT-SPI and atk-bridge warnings:" "--env=NO_AT_BRIDGE=1" "--env=XPRA_CLIPBOARD_IMAGE_STAMP=0";elif [ -x ~/.xpra/run-xpra ]; then ~/.xpra/run-xpra _proxy_shadow_start "--ssh=ssh -vv" "--debug=ssh" "--env=#silence some AT-SPI and atk-bridge warnings:" "--env=NO_AT_BRIDGE=1" "--env=XPRA_CLIPBOARD_IMAGE_STAMP=0";elif [ -x Xpra_cmd.exe ]; then Xpra_cmd.exe _proxy_shadow_start "--ssh=ssh -vv" "--debug=ssh" "--env=#silence some AT-SPI and atk-bridge warnings:" "--env=NO_AT_BRIDGE=1" "--env=XPRA_CLIPBOARD_IMAGE_STAMP=0";else echo "no run-xpra command found"; exit 1; fi']
Any thoughts on why this is happening?
Update
Some additional bits of information that may or may not be relevant:
the [ -x Xpra_cmd.exe ] suggests to me that it's expecting to be ssh-ing directly to c:\Program Files\Xpra? Maybe that has been messed up by having the windows ssh server set up?
Update
I tried connecting with:
xpra shadow ssh://user@ip --ssh=paramiko
which it seemed to like better but server-side:
2024-03-22 16:40:15,458 Connected (version 2.0, client paramiko_2.6.0)
2024-03-22 16:40:20,007 Auth granted (none).
2024-03-22 16:40:20,224 Warning: received a '_proxy_shadow_start' session request
2024-03-22 16:40:20,224 this feature is not enabled with the builtin ssh server
2024-03-22 16:40:20,224 Socket exception: An existing connection was forcibly closed by the remote host (10054)
2024-03-22 16:40:20,224 Warning: SSH channel setup failed
Beta Was this translation helpful? Give feedback.
All reactions