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

Windows SSH connections fail. #4162

Closed
real-limitless opened this issue Mar 13, 2024 · 1 comment
Closed

Windows SSH connections fail. #4162

real-limitless opened this issue Mar 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@real-limitless
Copy link

real-limitless commented Mar 13, 2024

Describe the bug
In Windows, if you try to connect to a Xpra server using the GUI start button or cmdline, ssh connections fail only when you are prompted to enter a SSH password on the prompt that asks you to enter ssh password.

However, If you put your SSH password within the username box on the GUI or put the ssh password in cmd line
& 'C:\Program Files\Xpra\Xpra_cmd.exe' attach ssh://[SSH_USER]:[SSH_PASSWORD]@[SSH_HOST]
connections to Xpra work and connect successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Server command: Not Appplicable
  2. Client command: & 'C:\Program Files\Xpra\Xpra_cmd.exe' start ssh://[SSH_USER]@[SSH_HOST]/[X11_DISPLAY] --debug=ssh --start=xterm
  3. Specific action to trigger the bug: Connect to Xpra host using standard start commands or any SSH related client command without ssh password included in connection parameters in windows.

System Information (please complete the following information):

  • Server OS: RHEL 9/CentOS 9/Fedora 39.
  • Client OS: Windows 11
  • Xpra Server Version: 5.0.2-2
  • Xpra Client Version: 5.0.7

Additional context
I tried debugging this and on the logs for the client side, I see just timeouts to Xpra even though it was able to connect to the host just fine via ssh. On the server side, when I have Debugging enabled on the Host I see a bunch of socket timeouts to /run/user/{UID}/xpra/{x11_display_id}/socket

@real-limitless real-limitless added the bug Something isn't working label Mar 13, 2024
@totaam
Copy link
Collaborator

totaam commented Mar 13, 2024

Thanks for the detailed description.
This is a regression caused by ddd9545 (as a result of the changes for #3822)
The commit above fix this problem.

There are "Light" MS Windows builds with this fix in the beta area: https://xpra.org/beta/windows/
v5.0.8-r45 and v6.0-r35331 or later.
I believe that the 3.1.x branch was not affected by this.

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

No branches or pull requests

2 participants