Skip to content

Windows VM: RDP connects too early, “Connection reset by peer”, VM auto-stops #2599

@nabeeladzan

Description

@nabeeladzan

System details

i5 8350u, Intel UHD 620, Omarchy 3.10

What's wrong?

Launching the Windows VM from the desktop entry or via omarchy-windows-vm launch does not open an RDP window. The CLI attempt shows FreeRDP errors and the VM container is stopped automatically. Desktop entry only shows a notification and then appears to do nothing.

omarchy master ❯ omarchy-windows-vm launch
Starting Windows VM...
[+] Running 2/2
 ✔ Network windows_default    Created                                                                                                                                                           0.2s
 ✔ Container omarchy-windows  Started                                                                                                                                                           0.9s
Waiting for Windows VM to be ready...

 ┌─────────────────────────────────────┐
 │                                     │
 │      Connecting to Windows VM       │
 │                                     │
 │  VM will auto-stop when RDP closes  │
 │                                     │
 └─────────────────────────────────────┘

[14:14:38:312] [159106:00026d82] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Using /p is insecure
[14:14:38:312] [159106:00026d82] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Passing credentials or secrets via command line might expose these in the process list
[14:14:38:312] [159106:00026d82] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Consider using one of the following (more secure) alternatives:
[14:14:38:312] [159106:00026d82] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]:   - /args-from: pipe in arguments from stdin, file or file descriptor
[14:14:38:312] [159106:00026d82] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]:   - /from-stdin pass the credential via stdin
[14:14:38:312] [159106:00026d82] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]:   - set environment variable FREERDP_ASKPASS to have a gui tool query for credentials
[14:14:38:326] [159106:00026d84] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x08 -> no RDP scancode found
[14:14:38:327] [159106:00026d84] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]: ZEHA: keycode: 0x5d -> no RDP scancode found
[14:14:41:463] [159106:00026d84] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 104: Connection reset by peer
[14:14:41:464] [159106:00026d84] [ERROR][com.freerdp.core] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[14:14:44:535] [159106:00026d84] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 104: Connection reset by peer
[14:14:44:536] [159106:00026d84] [ERROR][com.freerdp.core] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[14:14:44:536] [159106:00026d84] [ERROR][com.freerdp.core] - [freerdp_connect]: freerdp_post_connect failed

RDP session closed. Stopping Windows VM...
[+] Running 2/2
 ✔ Container omarchy-windows  Removed                                                                                                                                                          26.5s
 ✔ Network windows_default    Removed                                                                                                                                                           0.2s
Windows VM stopped.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions