I’m trying to connect to Windows11 in a container using freerdp. The container is running and noVNC can connect to it via http://127.0.0.1:8006
but freerdp shows error Connection reset by peer
. This is related to winapps.
As far as I understand a request should come up to accept some certificates but that never comes up. Perhaps because the error happens before reaching that part?
I’ve also tried connecting to it via Thincast Remote Desktop Client without success.
podman version 5.0.3 (Emulate Docker CLI using podman)
Docker Compose version v2.27.1
FreeRDP version 3.5.1
I’ve tested with and without a user password set on the guest (Windows)
Network Level Authentication option is disabled on guest.
This is the output from my tests
leslie@fedora:~/Apps/winapps$ bin/winapps check
[20:00:12:834] [12616:00003149] [INFO][com.freerdp.client.x11] - [xf_setup_x11]: Enabling X11 debug mode.
[20:00:13:349] [12616:00003149] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 104: Connection reset by peer
[20:00:13:349] [12616:00003149] [ERROR][com.freerdp.core] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
leslie@fedora:~/Apps/winapps$ xfreerdp /u:DOCKER /p:pass /v:127.0.0.1
[20:00:40:08] [13101:0000332e] [INFO][com.freerdp.client.x11] - [xf_setup_x11]: Enabling X11 debug mode.
[20:00:41:506] [13101:0000332e] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 104: Connection reset by peer
[20:00:41:506] [13101:0000332e] [ERROR][com.freerdp.core] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
leslie@fedora:~/Apps/winapps$ nmap -P0 -p 3389 127.0.0.1
Starting Nmap 7.95 ( https://nmap.org ) at 2024-05-29 20:02 SAST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000065s latency).
PORT STATE SERVICE
3389/tcp open ms-wbt-server
Nmap done: 1 IP address (1 host up) scanned in 0.02 seconds