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

Cannot consistently connect to my Windows 10 machine #399

Open
3 of 4 tasks
Outtay opened this issue Mar 15, 2022 · 0 comments
Open
3 of 4 tasks

Cannot consistently connect to my Windows 10 machine #399

Outtay opened this issue Mar 15, 2022 · 0 comments

Comments

@Outtay
Copy link

Outtay commented Mar 15, 2022

Update
Sorry for already writing an update to the bug, that wasn't even submitted yet. I found the problem. In one of the outputs it said that a size was requested that I didn't enter (it requested 2560x1369 instead of 2560x1370). So when I changed this to the size requested it works. I had similar weird experiences with setting the "geometry" parameter to 80% and 90%, which didn't work, but 70% worked.
For me the workaround is enough (at least I hope that the problem won't come back), so not sure if someone would like to fix this.

Describe the bug
I've been having this problem for a couple of months now. Then I did an update to the current rdesktop version and it initially worked, but after a couple of days I had the same problem.
When I just turned on my Windows 10 machine and try to login I almost always get the message "disconnect: Logout initiated by user" (looks just like here: #358)
When I'm already logged in the connection sometimes works after 5+ tries, after which I can just continue using it without problems. If it doesn't work, I get the message "disconnect: Unknown reason".
The connection works without problems using FreeRDP, however, I'd really like to continue using rdesktop as the keyboard handling works flawlessly for me.

Reproduction Steps
Try to connect via: `rdesktop -u -p<password -g 2560x1370

Expected behavior
Connection is successful

Important Information:

  • rdesktop Version (*): 1.9.0
  • Client OS (*): Gentoo
  • Server OS: Windows 10

Checklist

  • This bug prevents me from using rdesktop
  • This bug is a security issue
  • This bug causes a bad experience with rdesktop
  • I have supplied all possible sections of the bug report template

Additional Information
Output:

`is_wm_active(): WM name: Xfwm
Connecting to server using NLA...
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.0)-(RSA)-(AES-256-CBC)-(SHA1)

Failed to initialize NLA, do you have correct Kerberos TGT initialized ?
Failed to connect using NLA, trying with SSL
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.0)-(RSA)-(AES-256-CBC)-(SHA1)

Connection established using SSL.
Remote desktop does not support colour depth 24; falling back to 32
Connection successful
Clipboard(error): xclip_handle_SelectionNotify(), unable to find a textual target to satisfy RDP clipboard text request
Established dynamic virtual channel 'Microsoft::Windows::RDS::DisplayControl'
Window resize detected, requesting matching session size 2560x1369
Protocol(warning): process_pdu_logon(), Unhandled login infotype 1
Disconnecting...
disconnect: Unknown reason.

With Clipboard off (-r clipboard:off):

s_wm_active(): WM name: Xfwm
Connecting to server using NLA...
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Failed to initialize NLA, do you have correct Kerberos TGT initialized ?
Failed to connect using NLA, trying with SSL
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Connection established using SSL.
Remote desktop does not support colour depth 24; falling back to 32
Connection successful
Established dynamic virtual channel 'Microsoft::Windows::RDS::DisplayControl'
Window resize detected, requesting matching session size 2560x1369
Protocol(warning): process_pdu_logon(), Unhandled login infotype 1
Protocol(warning): process_data_pdu(), unhandled data PDU type 41
Disconnecting...
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  23 (X_GetSelectionOwner)
  Atom id in failed request:  0x0
  Serial number of failed request:  754
  Current serial number in output stream:  754

Sometimes it's also stuck like that:

s_wm_active(): WM name: Xfwm
Connecting to server using NLA...
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Failed to initialize NLA, do you have correct Kerberos TGT initialized ?
Failed to connect using NLA, trying with SSL
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Connection established using SSL.
Remote desktop does not support colour depth 24; falling back to 32
Connection successful
Protocol(warning): process_pdu_logon(), Unhandled login infotype 1
Window resize detected, reconnecting to new size 2560x1369
Disconnecting...
Resize reconnect loop triggered, new size 2560x1369
Connecting to server using NLA...
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Failed to initialize NLA, do you have correct Kerberos TGT initialized ?
Failed to connect using NLA, trying with SSL
Core(warning): Certificate received from server is NOT trusted by this system, an exception has been added by the user to trust this specific certificate.
TLS  Session info: (TLS1.2)-(RSA)-(AES-256-GCM)

Connection established using SSL.
Connecting to server using NLA...
Core(error): tcp_recv(), gnutls_record_recv() failed with -110: The TLS connection was non-properly terminated.

Connecting to server using NLA...
Core(error): tcp_send(), gnutls_record_send() failed with -10: The specified session has been invalidated for some reason.

Connecting to server using NLA...
Core(error): tcp_send(), gnutls_record_send() failed with -10: The specified session has been invalidated for some reason.

Connecting to server using NLA...
Core(error): tcp_send(), gnutls_record_send() failed with -10: The specified session has been invalidated for some reason.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant