Bug 1536874

Summary: Unable to use RDP after last update (SEC_E_INVALID_TOKEN)
Product: [Fedora] Fedora Reporter: Milan Kerslager <milan.kerslager>
Component: remminaAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: ghasrfakhri, jvrodrigues, negativo17, pahan
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 remmina-1.2.0-0.50.20180321.git.f467f19.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-30 12:55:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Kerslager 2018-01-21 21:07:54 UTC
After last update to 1.2.0-0.44.rcgit.26.fc27 I'm mostly unable to connect to any RDP server (but it connect sometimes). Version from updates-testing 1.2.0-0.45.20180107.git.d70108c.fc27 has the same problem.

All works again when I downgrade to remmina-1.2.0-0.42.20170908git205df66.fc27.x86_64 by:

dnf downgrade remmina\* --allowerasing
killall remmina


Succesfull connection with latest stable update:

$ remmina 
StatusNotifier/Appindicator support: not supported by desktop. libappindicator will try to fallback to GtkStatusIcon/xembed
Running under Gnome Shell version 3.26.2

(remmina:9698): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[21:57:32:422] [9698:9704] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[21:57:32:422] [9698:9704] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[21:57:32:543] [9698:9704] [WARN][com.winpr.sspi.Kerberos] - could not get Kerberos default realm
[21:57:32:543] [9698:9704] [WARN][com.winpr.negotiate] - No Kerberos credentials. Retry with NTLM
[21:57:32:543] [9698:9704] [WARN][com.winpr.sspi] - InitializeSecurityContextA status SEC_E_NO_CREDENTIALS [0x8009030E]
[21:57:33:985] [9698:9704] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRA32
[21:57:33:985] [9698:9704] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[21:57:33:985] [9698:9704] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp

Failed connection to the same server:

(remmina:9698): Gtk-WARNING **: Allocating size to remmina-cw-viewport 0x555de1898580 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[21:57:37:443] [9698:9713] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[21:57:37:443] [9698:9713] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[21:57:37:578] [9698:9713] [ERROR][com.winpr.sspi] - EncryptMessage status SEC_E_INVALID_TOKEN [0x80090308]
[21:57:37:579] [9698:9713] [ERROR][com.freerdp.core.nla] - EncryptMessage status SEC_E_INVALID_TOKEN [0x80090308]
[21:57:37:579] [9698:9713] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[21:57:37:579] [9698:9713] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[21:57:37:579] [9698:9713] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Comment 1 Milan Kerslager 2018-01-22 07:17:43 UTC
Seems like both new and old version works only on first connection.

So the error could be related to some other component (crypto library?).

I have to kill remmina manually as it runs on the background even the GUI window has been closed (killall remmina).

The GUI error message from remmina is non-descriptive (unable to connect to RDP).

Comment 2 Simone Caronni 2018-01-22 09:47:44 UTC
Works fine here.

What parameters are you using for the RPD connections that fail? Can you paste the details here? Most of the configurations I have for RDP connections are fairly basic.

Also, the Remmina RDP configuration I have was created at least a year ago. By chance, did you use the same Remmina configuration from years ago? If it is, can you try removing ~/.config/remmina/remmina.pref and trying again?

Comment 3 Iman Ghasrfakhri 2018-01-24 07:18:23 UTC
I have exactly the same problem on 2 computers.

For the first connection, everything is fine but I have to kill and re-run remmina for making next connections.

I had this problem on my laptop about a week but now I have the same problem on my work PC.

I have Fedora 26 on my laptop and Fedora 27 on my work PC.

Comment 4 João Rodrigues 2018-01-25 11:30:12 UTC
Hello,

Can you try downgrade freerdp-libs to see if it's related to bug #1537082

Comment 5 Fedora Update System 2018-03-15 08:43:26 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc28 remmina-1.2.0-0.48.20180314.git.04e4a99.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 6 Fedora Update System 2018-03-15 08:44:09 UTC
remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 freerdp-2.0.0-39.20180314gitf8baeb7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3bda07364

Comment 7 Fedora Update System 2018-03-15 08:44:37 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc26 remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-05115b29ba

Comment 8 Fedora Update System 2018-03-15 13:31:59 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc28, remmina-1.2.0-0.48.20180314.git.04e4a99.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 9 Fedora Update System 2018-03-15 15:58:27 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc26, remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-05115b29ba

Comment 10 Fedora Update System 2018-03-15 16:27:01 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc27, remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3bda07364

Comment 11 Fedora Update System 2018-03-19 04:37:10 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc27, remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-03-20 17:34:15 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc26, remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2018-03-21 09:35:19 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc28 remmina-1.2.0-0.50.20180321.git.f467f19.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 14 Fedora Update System 2018-03-21 14:12:15 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc28, remmina-1.2.0-0.50.20180321.git.f467f19.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 15 Fedora Update System 2018-03-30 12:55:36 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc28, remmina-1.2.0-0.50.20180321.git.f467f19.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.