Fmstrat / Fmstrat/winapps

Freerdp transport exited with -1 error.

Open
#343 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
10.3k
Forks
452
PR merge metrics
No merged PRs in 30d

Description

I run fedora 37 and for some reason the virt-manager created the virtual machine on root account. At first the winapps check said that I need to run `virsh start RDPWindows` and this command gave me error that pointed to this issue [#173](https://github.com/Fmstrat/winapps/issues/173). So I found that the file is in `/run/libvirt/quemu/RDPWindows.xml` removed the seclabel block at the end. Then I ran the `virsh start RDPWindows` again and another error appeared this time it pointed me to issue [#213](https://github.com/Fmstrat/winapps/issues/213) I didn't manage to solve it so I said to myself if the virtual machine is on root why would I couldn't run the winapps as root. That's how I ended in this error:
``` bash
$ sudo bin/winapps check
[10:51:53:227] [8095:8105] [INFO][com.freerdp.crypto] - creating directory /root/.config/freerdp
[10:51:53:227] [8095:8105] [INFO][com.freerdp.crypto] - creating directory [/root/.config/freerdp/certs]
[10:51:53:227] [8095:8105] [INFO][com.freerdp.crypto] - created directory [/root/.config/freerdp/server]
[10:51:53:325] [8095:8105] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[10:51:53:325] [8095:8105] [WARN][com.freerdp.crypto] - CN = RDPWindows
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - @ WARNING: CERTIFICATE NAME MISMATCH! @
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - The hostname used for this connection (192.168.122.47:3389)
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - Common Name (CN):
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - RDPWindows
[10:51:53:326] [8095:8105] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
Certificate details for 192.168.122.47:3389 (RDP-Server):
Common Name: RDPWindows
Subject: CN = RDPWindows
Issuer: CN = RDPWindows
Thumbprint: ac:bd:1a:49:4b:93:13:3c:23:38:fe:9d:a7:a5:e8:4a:10:43:87:25:84:a6:f1:ae:85:4c:f9:32:fa:52:88:78
The above X.509 certificate could not be verified, possibly because you do not have
the CA certificate in your certificate store, or the certificate has expired.
Please look at the OpenSSL documentation on how to add a private CA to the store.
Do you trust the above certificate? (Y/T/N) y
[10:52:42:196] [8095:8105] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server
[10:52:42:196] [8095:8105] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014]
[10:52:42:196] [8095:8105] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[10:52:42:196] [8095:8105] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.