What happened?
Hello, I've tried installing with both Docker and Podman. With both methods, an RDP connection opens when I run the installation script, but then the script aborts with the following message (in both cases, whether Docker or Podman, I have to set WAFLAVOR="manual", otherwise nothing works):
/Dokumente/winapps$ bash <(curl https://raw.githubusercontent.com/winapps-org/winapps/main/setup.sh)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 89623 100 89623 0 0 533k 0 --:--:-- --:--:-- --:--:-- 533k
################################################################################
WinApps Install Wizard
################################################################################
Q) Install or uninstall WinApps? --> Install
Q) Configure WinApps for the current user 'user' or the whole system? --> Current User
Q) Automatically install supported applications or choose manually? --> Manual (Default)
WinApps installation already present at /home/user/.local/bin/winapps-src. Updating...
Bereits aktuell.
Installing WinApps.
Checking for existing conflicting WinApps installations... Done!
Attempting to load WinApps configuration file... Done!
Checking whether dependencies are installed... Done!
Checking container status... Done!
Checking for an open RDP Port on Windows... Done!
Attempting to establish a Remote Desktop connection with Windows... Failed!
ERROR: REMOTE DESKTOP PROTOCOL FAILURE.
FreeRDP failed to establish a connection with Windows.
Please view the log at /home/user/.local/share/winapps/FreeRDP_Test_20260303_0949_447120971.log.
Troubleshooting Tips:
- Ensure the user is logged out of Windows prior to initiating the WinApps installation.
- Ensure the credentials within the WinApps configuration file are correct.
- Utilise a new certificate by removing relevant certificate(s) in /home/user/.config/freerdp/server.
- Try increasing the RDP_TIMEOUT in /home/user/.config/winapps/winapps.conf.
- If using 'libvirt', ensure the Windows VM is correctly named as specified within the README.
- If using 'libvirt', ensure 'Remote Desktop' is enabled within the Windows VM.
- If using 'libvirt', ensure you have merged 'RDPApps.reg' into the Windows VM's registry.
- If using 'libvirt', try logging into and back out of the Windows VM within 'virt-manager' prior to initiating the WinApps installation.
Exiting with status '14'.
If I run RDP only, the connection is established, regardless of whether it's xfreerdp directly or as a flatpak.
Your FreeRDP version and where you got it from
FreeRDP version 3.10.3 (n/a)
Your Linux distribution and version
Rocky Linux 10.1
Your winapps.conf
winapps.config:
RDP_USER="user"
RDP_PASS="passwd"
RDP_DOMAIN=""
RDP_IP="127.0.0.1"
VM_NAME="RDPWindows"
WAFLAVOR="manual"
RDP_SCALE="100"
REMOVABLE_MEDIA="/run/media"
RDP_FLAGS="/cert:tofu /sound:sys:alsa /microphone:sys:alsa +home-drive +dynamic-resolution /size:1920x1440 /scale:100 +relax-order-checks /kbd:unicode"
RDP_FLAGS_NON_WINDOWS=""
RDP_FLAGS_WINDOWS=""
DEBUG="true"
AUTOPAUSE="off"
AUTOPAUSE_TIME="300"
FREERDP_COMMAND="flatpak run --command=xfreerdp com.freerdp.FreeRDP" # does not work with /usr/bin/xfreerdp
PORT_TIMEOUT="15"
RDP_TIMEOUT="30"
APP_SCAN_TIMEOUT="300"
BOOT_TIMEOUT="600"
HIDEF="on"
Logs
Log file:
[09:49:00:571] [2:00000002] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Using /p is insecure
[09:49:00:571] [2:00000002] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Passing credentials or secrets via command line might expose these in the process list
[09:49:00:571] [2:00000002] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Consider using one of the following (more secure) alternatives:
[09:49:00:571] [2:00000002] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: - /args-from: pipe in arguments from stdin, file or file descriptor
[09:49:00:571] [2:00000002] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: - /from-stdin pass the credential via stdin
[09:49:00:571] [2:00000002] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: - set environment variable FREERDP_ASKPASS to have a gui tool query for credentials
[09:49:00:573] [2:00000004] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]: : keycode: 0x08 -> no RDP scancode found
[09:49:00:573] [2:00000004] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]: : keycode: 0x5d -> no RDP scancode found
[09:49:00:615] [2:00000004] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
[09:49:00:615] [2:00000004] [WARN][com.freerdp.crypto] - [verify_cb]: CN = UXWIN
[09:49:00:616] [2:00000004] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[09:49:00:616] [2:00000004] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[09:49:00:875] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:00:881] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:00:881] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[09:49:00:908] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:00:908] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[09:49:00:917] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:00:917] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[09:49:00:940] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:00:940] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[09:49:00:970] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:00:970] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[09:49:01:048] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[09:49:01:048] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[09:49:06:765] [2:00000007] [ERROR][TODO] - [xf_rail_server_system_param]: TODO: implement
[09:49:06:765] [2:00000007] [ERROR][TODO] - [xf_rail_server_system_param]: TODO: implement
[09:49:06:813] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ARC_BEGAN && WINDOW_ORDER_FIELD_DESKTOP_HOOKED
[09:49:06:815] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:816] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:818] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:818] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:820] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:820] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:821] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:821] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:823] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:823] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:839] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:839] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:842] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[09:49:06:842] [2:00000004] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[09:49:06:848] [2:00000004] [ERROR][com.freerdp.core] - [freerdp_abort_connect_context]: ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
[09:49:00:663] [2:00000004] [INFO][com.freerdp.gdi] - [gdi_init_ex]: Local framebuffer format PIXEL_FORMAT_BGRA32
[09:49:00:663] [2:00000004] [INFO][com.freerdp.gdi] - [gdi_init_ex]: Remote framebuffer format PIXEL_FORMAT_BGRA32
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [static] Loaded alsa backend for rdpsnd
[09:49:00:668] [2:00000006] [INFO][com.freerdp.channels.rdpdr.client] - [devman_load_device_service]: Loading device service drive [home] (static)
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel rdpsnd
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel audin
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.audin.client] - [audin_load_device_plugin]: Loaded alsa backend for audin
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel ainput
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel rdpgfx
[09:49:00:668] [2:00000004] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel disp
[09:49:00:791] [2:0000000b] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [dynamic] Loaded alsa backend for rdpsnd
[09:49:01:155] [2:00000004] [INFO][com.freerdp.client.x11] - [xf_logon_error_info]: Logon Error Info SESSION_ID [LOGON_MSG_BUMP_OPTIONS]
[09:49:01:192] [2:00000004] [INFO][com.freerdp.client.x11] - [xf_logon_error_info]: Logon Error Info LOGON_FAILED_OTHER [UNKNOWN]
[09:49:06:740] [2:0000000b] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [dynamic] Loaded alsa backend for rdpsnd
[09:49:06:823] [2:00000006] [INFO][com.freerdp.channels.rdpdr.client] - [device_announce]: registered [ drive] device #1: home (type= 8 id= 1)
Terms
What happened?
Hello, I've tried installing with both Docker and Podman. With both methods, an RDP connection opens when I run the installation script, but then the script aborts with the following message (in both cases, whether Docker or Podman, I have to set WAFLAVOR="manual", otherwise nothing works):
/Dokumente/winapps$ bash <(curl https://raw.githubusercontent.com/winapps-org/winapps/main/setup.sh)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 89623 100 89623 0 0 533k 0 --:--:-- --:--:-- --:--:-- 533k
################################################################################
WinApps Install Wizard
################################################################################
Q) Install or uninstall WinApps? --> Install
Q) Configure WinApps for the current user 'user' or the whole system? --> Current User
Q) Automatically install supported applications or choose manually? --> Manual (Default)
WinApps installation already present at /home/user/.local/bin/winapps-src. Updating...
Bereits aktuell.
Installing WinApps.
Checking for existing conflicting WinApps installations... Done!
Attempting to load WinApps configuration file... Done!
Checking whether dependencies are installed... Done!
Checking container status... Done!
Checking for an open RDP Port on Windows... Done!
Attempting to establish a Remote Desktop connection with Windows... Failed!
ERROR: REMOTE DESKTOP PROTOCOL FAILURE.
FreeRDP failed to establish a connection with Windows.
Please view the log at /home/user/.local/share/winapps/FreeRDP_Test_20260303_0949_447120971.log.
Troubleshooting Tips:
Exiting with status '14'.
If I run RDP only, the connection is established, regardless of whether it's xfreerdp directly or as a flatpak.
Your FreeRDP version and where you got it from
FreeRDP version 3.10.3 (n/a)
Your Linux distribution and version
Rocky Linux 10.1
Your
winapps.confLogs
Terms