winapps icon indicating copy to clipboard operation
winapps copied to clipboard

Problem with freerdp connection but only from winapps

Open CrazyWolf13 opened this issue 2 months ago • 3 comments

What happened?

Hi,

I'm trying to set up winapps as I've done already many times, though always at the connection check where WinApps tries to set up a connection via RDP (to fetch installed apps, where normally CMD popps up) it just timeouts/fails, though rdp via freerdp works without issues when called manually like this:

xfreerdp3 /u:"MyWindowsUser" /p:"MyWindowsPassword" /v:127.0.0.1 /cert:tofu

after this test and also in the web-qemu, I ensurred that I was logged out. I use the default dockur Windows Container.

I also tried the suggested steps and removed the certs multiple times.

EDIT: to my below pick that it's not a freerdp issue, I picked this as normal RDP works with the command listed above.

Your FreeRDP version and where you got it from

3.15.0 Debian Trixie stable

Your Linux distribution and version

Debian Trixie

Your winapps.conf

##################################
#   WINAPPS CONFIGURATION FILE   #
##################################

# INSTRUCTIONS
# - Leading and trailing whitespace are ignored.
# - Empty lines are ignored.
# - Lines starting with '#' are ignored.
# - All characters following a '#' are ignored.

# [WINDOWS USERNAME]
RDP_USER="MyWindowsUser"

# [WINDOWS PASSWORD]
# NOTES:
# - If using FreeRDP v3.9.0 or greater, you *have* to set a password
RDP_PASS="MyWindowsPassword"

# [WINDOWS DOMAIN]
# DEFAULT VALUE: '' (BLANK)
RDP_DOMAIN=""

# [WINDOWS IPV4 ADDRESS]
# NOTES:
# - If using 'libvirt', 'RDP_IP' will be determined by WinApps at runtime if left unspecified.
# DEFAULT VALUE:
# - 'docker': '127.0.0.1'
# - 'podman': '127.0.0.1'
# - 'libvirt': '' (BLANK)
RDP_IP="127.0.0.1"

# [VM NAME]
# NOTES:
# - Only applicable when using 'libvirt'
# - The libvirt VM name must match so that WinApps can determine VM IP, start the VM, etc.
# DEFAULT VALUE: 'RDPWindows'
VM_NAME="RDPWindows"

# [WINAPPS BACKEND]
# DEFAULT VALUE: 'docker'
# VALID VALUES:
# - 'docker'
# - 'podman'
# - 'libvirt'
# - 'manual'
WAFLAVOR="docker"

# [DISPLAY SCALING FACTOR]
# NOTES:
# - If an unsupported value is specified, a warning will be displayed.
# - If an unsupported value is specified, WinApps will use the closest supported value.
# DEFAULT VALUE: '100'
# VALID VALUES:
# - '100'
# - '140'
# - '180'
RDP_SCALE="100"

# [MOUNTING REMOVABLE PATHS FOR FILES]
# NOTES:
# - By default, \`udisks\` (which you most likely have installed) uses /run/media for mounting removable devices.
#   This improves compatibility with most desktop environments (DEs).
# ATTENTION: The Filesystem Hierarchy Standard (FHS) recommends /media instead. Verify your system's configuration.
# - To manually mount devices, you may optionally use /mnt.
# REFERRENCE: https://wiki.archlinux.org/title/Udisks#Mount_to_/media
REMOVABLE_MEDIA="/run/media"

# [ADDITIONAL FREERDP FLAGS & ARGUMENTS]
# NOTES:
# - You can try adding /network:lan to these flags in order to increase performance, however, some users have faced issues with this.
# DEFAULT VALUE: '/cert:tofu /sound /microphone'
# VALID VALUES: See https://github.com/awakecoding/FreeRDP-Manuals/blob/master/User/FreeRDP-User-Manual.markdown
RDP_FLAGS="/cert:tofu /sound /microphone"

# [MULTIPLE MONITORS]
# NOTES:
# - If enabled, a FreeRDP bug *might* produce a black screen.
# DEFAULT VALUE: 'false'
# VALID VALUES:
# - 'true'
# - 'false'
MULTIMON="false"

# [DEBUG WINAPPS]
# NOTES:
# - Creates and appends to ~/.local/share/winapps/winapps.log when running WinApps.
# DEFAULT VALUE: 'true'
# VALID VALUES:
# - 'true'
# - 'false'
DEBUG="true"

# [AUTOMATICALLY PAUSE WINDOWS]
# NOTES:
# - This is currently INCOMPATIBLE with 'docker' and 'manual'.
# - See https://github.com/dockur/windows/issues/674
# DEFAULT VALUE: 'off'
# VALID VALUES:
# - 'on'
# - 'off'
AUTOPAUSE="off"

# [AUTOMATICALLY PAUSE WINDOWS TIMEOUT]
# NOTES:
# - This setting determines the duration of inactivity to tolerate before Windows is automatically paused.
# - This setting is ignored if 'AUTOPAUSE' is set to 'off'.
# - The value must be specified in seconds (to the nearest 10 seconds e.g., '30', '40', '50', etc.).
# - For RemoteApp RDP sessions, there is a mandatory 20-second delay, so the minimum value that can be specified here is '20'.
# - Source: https://techcommunity.microsoft.com/t5/security-compliance-and-identity/terminal-services-remoteapp-8482-session-termination-logic/ba-p/246566
# DEFAULT VALUE: '300'
# VALID VALUES: >=20
AUTOPAUSE_TIME="300"

# [FREERDP COMMAND]
# NOTES:
# - WinApps will attempt to automatically detect the correct command to use for your system.
# DEFAULT VALUE: '' (BLANK)
# VALID VALUES: The command required to run FreeRDPv3 on your system (e.g., 'xfreerdp', 'xfreerdp3', etc.).
FREERDP_COMMAND=""

Logs

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/tobias/.local/share/winapps/FreeRDP_Test_20250907_2021_936648979.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/tobias/.config/freerdp/server.
  - Try increasing the RDP_TIMEOUT in /home/tobias/.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'.


---->

cat /home/${user}/.local/share/winapps/FreeRDP_Test_20250907_2021_936648979.log
[20:21:36:983] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x08 -> no RDP scancode found
[20:21:36:983] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x5D -> no RDP scancode found
[20:21:37:078] [54217:0000d3cd] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
[20:21:37:078] [54217:0000d3cd] [WARN][com.freerdp.crypto] - [verify_cb]: CN = WIN-L3RD7LI5OOK
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [x509_utils_from_pem]: BIO_new failed for certificate
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: @           WARNING: CERTIFICATE NAME MISMATCH!           @
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: The hostname used for this connection (127.0.0.1:3389) 
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: does not match the name given in the certificate:
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: Common Name (CN):
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: 	WIN-L3RD7LI5OOK
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_certificate_name_mismatch_error]: A valid certificate for the wrong name should NOT be trusted!
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: The host key for 127.0.0.1:3389 has changed
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: It is also possible that a host key has just been changed.
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: The fingerprint for the host key sent by the remote host is 21:cf:de:68:f2:8a:61:31:70:1e:f4:dc:fe:a3:8a:0d:80:e6:1b:5d:b9:89:d6:ce:fe:0f:87:99:a0:32:b1:0b
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Please contact your system administrator.
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Add correct host key in /home/tobias/.config/freerdp/server/127.0.0.1_3389.pem to get rid of this message.
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Host key for 127.0.0.1 has changed and you have requested strict checking.
[20:21:37:079] [54217:0000d3cd] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Host key verification failed.
[20:21:37:079] [54217:0000d3cd] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[20:21:37:079] [54217:0000d3cd] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[20:21:37:101] [54217:0000d3cd] [WARN][com.freerdp.core.connection] - [rdp_client_connect_auto_detect]: expected messageChannelId=1009, got 1003
[20:21:37:101] [54217:0000d3cd] [WARN][com.freerdp.core.license] - [license_read_binary_blob_data]: license binary blob::type BB_ERROR_BLOB, length=0, skipping.
[20:21:37:183] [54217:0000d3cd] [WARN][com.freerdp.core.connection] - [rdp_client_connect_auto_detect]: expected messageChannelId=1009, got 1003
[20:21:37:579] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:37:585] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:37:585] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:37:600] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:37:600] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:37:645] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:37:645] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:37:818] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:37:818] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:450] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:450] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:733] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:733] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:747] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:747] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:763] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:764] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:804] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:804] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:821] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:821] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:887] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:887] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:38:894] [54217:0000d3e4] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::DisplayControl:11} OnOpen=(nil), OnClose=0x7fbd5ea8f220
[20:21:38:952] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:38:952] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:014] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:014] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:489] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:489] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:579] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:579] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:611] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:611] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:650] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:650] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:705] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:706] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:772] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:772] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:810] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:810] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:845] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:845] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:900] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:900] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:968] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:968] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:39:980] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:39:981] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:054] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:054] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:100] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:100] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:176] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:176] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:185] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:185] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:242] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:242] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:329] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:329] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:354] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:354] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:424] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:424] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:448] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:448] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:484] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:484] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:607] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:607] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:636] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:636] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:678] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:678] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:704] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:704] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:738] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:738] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:788] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:788] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:849] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:849] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:882] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:882] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:944] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:944] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:40:980] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:40:980] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:41:005] [54217:0000d3de] [ERROR][TODO] - [xf_rail_server_system_param]: TODO: implement
[20:21:41:005] [54217:0000d3de] [ERROR][TODO] - [xf_rail_server_system_param]: TODO: implement
[20:21:41:011] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:021] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:023] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:031] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:034] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:036] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:038] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:039] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:128] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:129] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:168] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:41:168] [54217:0000d3de] [ERROR][TODO] - [xf_rail_server_language_bar_info]: TODO: implement
[20:21:41:410] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[20:21:41:411] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[20:21:42:633] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:42:808] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_XSetTransientForHint]: XSetTransientForHint [1]{BadRequest (invalid request code or no such operation)}
[20:21:42:816] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:42:911] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:42:911] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:42:930] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[20:21:42:953] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:42:953] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:42:979] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:42:979] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:044] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:044] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:091] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:091] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:137] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:137] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:185] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:185] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:233] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:233] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:296] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:296] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:345] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:345] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:395] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:395] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:441] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:441] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:489] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:489] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:550] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:551] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:599] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:599] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:631] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:631] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:680] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:680] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:728] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:728] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:792] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:792] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:839] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:839] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:887] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:887] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:935] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:935] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:43:985] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:43:985] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:046] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:046] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:093] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:093] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:137] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:137] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:189] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:189] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:250] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:250] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:314] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:314] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:391] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:391] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:429] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:429] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:485] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:485] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:44:544] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:44:544] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:45:744] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:45:744] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:45:809] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:45:809] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:45:837] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:45:837] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:46:278] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[20:21:46:278] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[20:21:46:445] [54217:0000d3cd] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[20:21:48:130] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:48:130] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[20:21:48:143] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[20:21:48:143] [54217:0000d3cd] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0

Terms

  • [x] I am running the latest version.
  • [x] To the best of my knowledge, this is a bug and not a setup nor a FreeRDP problem.
  • [x] I have checked for duplicate issues.
  • [x] I agree to follow this project's Code of Conduct.

CrazyWolf13 avatar Sep 07 '25 18:09 CrazyWolf13

Seems like a freerdp issue. Your test is not using app mode.

oskardotglobal avatar Sep 07 '25 20:09 oskardotglobal

@oskardotglobal hmm I see good point didn't thought about that, apologies.

Any ideas on what else to try?

CrazyWolf13 avatar Sep 07 '25 20:09 CrazyWolf13

@CrazyWolf13 The log suggests an old certificate is causing FreeRDP to panic. This might not work, but try deleting any old/outdated RDP TLS certificates located at ~/.config/freerdp/server/. These usually have the file extension .pem.

KernelGhost avatar Sep 07 '25 22:09 KernelGhost

Thanks for the suggestions.

I tried all methods and combinations with removing all files from the server folder, though nothing worked.

This is a new log:

[21:50:51:385] [17227:0000434e] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x08 -> no RDP scancode found
[21:50:51:386] [17227:0000434e] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x5D -> no RDP scancode found
[21:50:51:428] [17227:0000434e] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
[21:50:51:428] [17227:0000434e] [WARN][com.freerdp.crypto] - [verify_cb]: CN = WIN-L3RD7LI5OOK
[21:50:51:429] [17227:0000434e] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[21:50:51:429] [17227:0000434e] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[21:50:51:436] [17227:0000434e] [WARN][com.freerdp.core.connection] - [rdp_client_connect_auto_detect]: expected messageChannelId=1009, got 1003
[21:50:51:436] [17227:0000434e] [WARN][com.freerdp.core.license] - [license_read_binary_blob_data]: license binary blob::type BB_ERROR_BLOB, length=0, skipping.
[21:50:51:496] [17227:0000434e] [WARN][com.freerdp.core.connection] - [rdp_client_connect_auto_detect]: expected messageChannelId=1009, got 1003
[21:50:51:838] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:860] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:860] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:51:862] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:862] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:51:884] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:884] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:51:908] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:908] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:51:942] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:942] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:51:959] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:51:959] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:52:115] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:52:115] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:52:118] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:52:118] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:52:799] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:52:800] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:52:842] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:52:848] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:52:848] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:52:855] [17227:00004365] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::DisplayControl:11} OnOpen=(nil), OnClose=0x7fdc981da220
[21:50:52:972] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:52:972] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:004] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:004] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:045] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:045] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:419] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:419] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:479] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:479] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:510] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:510] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:573] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:573] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:613] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:613] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:671] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:671] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:740] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:740] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:765] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:765] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:805] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:805] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:863] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:863] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:879] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:879] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:963] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:963] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:53:999] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:53:999] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:040] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:040] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:119] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:119] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:155] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:155] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:207] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:207] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:307] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:308] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:366] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:366] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:400] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:400] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:455] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:455] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:531] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:532] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:587] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:587] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:611] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:611] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:630] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:630] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:693] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:693] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:738] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:738] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:801] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:801] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:833] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:54:833] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:54:862] [17227:0000435f] [ERROR][TODO] - [xf_rail_server_system_param]: TODO: implement
[21:50:54:862] [17227:0000435f] [ERROR][TODO] - [xf_rail_server_system_param]: TODO: implement
[21:50:54:867] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:877] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:881] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:883] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:884] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:894] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:905] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:54:906] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:55:006] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:55:006] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:55:008] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:55:008] [17227:0000435f] [ERROR][TODO] - [xf_rail_server_language_bar_info]: TODO: implement
[21:50:55:255] [17227:0000434e] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[21:50:55:255] [17227:0000434e] [ERROR][TODO] - [xf_rail_notify_icon_common]: TODO: implement
[21:50:56:496] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:56:605] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_XSetTransientForHint]: XSetTransientForHint [1]{BadRequest (invalid request code or no such operation)}
[21:50:56:616] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:56:656] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:56:699] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:56:699] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:56:720] [17227:0000434e] [ERROR][TODO] - [xf_rail_monitored_desktop]: TODO: implement
[21:50:56:754] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:56:754] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:56:792] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:56:792] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:56:840] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:56:840] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:56:887] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:56:887] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:56:951] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:56:952] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:000] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:000] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:049] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:049] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:096] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:096] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:128] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:128] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:193] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:193] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:239] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:239] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:303] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:303] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:336] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:336] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:387] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:387] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:447] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:448] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:496] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:496] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:545] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:545] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:592] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:592] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:641] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:641] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:703] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:703] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:750] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:750] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:799] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:799] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:846] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:846] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:878] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:878] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:941] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:941] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:57:992] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:57:992] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:036] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:036] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:085] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:085] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:132] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:132] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:196] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:196] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:245] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:245] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:329] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:329] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:340] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:341] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:389] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:389] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:453] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:453] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:500] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:500] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:548] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:548] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:596] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:596] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:643] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:643] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:692] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:692] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:739] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:739] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:786] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:786] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[21:50:58:808] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[21:50:58:808] [17227:0000434e] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0

So is this a freerdp issue that needs to be reported on their github?

Weirdly enough when I was still on nixOS, the WinApps worked without issues on this device :/

CrazyWolf13 avatar Sep 08 '25 19:09 CrazyWolf13

@oskardotglobal @KernelGhost I just spoke with akallabeth (one of the devs of freerdp) on matrix and kinda looked into the situation.

Application streaming per-se seems to be working absolutely fine for me.

This command, as used by winapps does fail because of the type NUL, quoting the dev: "whenever you have some type NUL in there no window is opened in rails mode"

I extracted the freerdp command from: https://github.com/winapps-org/winapps/blob/main/setup.sh#L1039-L1047

xfreerdp3 /cert:tofu /d:"" /u:"MyWindowsUser" /p:"MyWindowsPassword" /scale:"100" +auto-reconnect /app:program:"C:\Windows\System32\cmd.exe",cmd:"/C type NUL > $TEST_PATH_WIN && tsdiscon" /v:"127.0.0.1" &>"/tmp/freerdp_test.log"

This command for example works perfectly fine with cmd opening, running dir and then closing again.

xfreerdp3 /cert:tofu /d:"" /u:"MyWindowsUser" /p:"MyWindowsPassword" /scale:"100" +auto-reconnect /app:program:"C:\Windows\System32\cmd.exe",cmd:"/C dir && tsdiscon" /v:"127.0.0.1" &>"/tmp/freerdp_test.log"

CrazyWolf13 avatar Sep 08 '25 20:09 CrazyWolf13

@CrazyWolf13 It is actually intended behaviour not to have a window open during that initial test.

I am wondering if the issue is that Windows cannot successfully create a file at \\tsclient\home\.local\share\winappsFreeRDP_Connection_Test (equivalent to ~/.local/share/winapps/FreeRDP_Connection_Test), causing the install script to fail.

Could you try to run the following and then check whether the file FreeRDP_Connection_Test is created?

USER_APPDATA_PATH_WIN='\\tsclient\home\.local\share\winapps'
TEST_PATH_WIN="${USER_APPDATA_PATH_WIN}\\FreeRDP_Connection_Test"
xfreerdp3 \
    /cert:tofu \
    /d:"" \
    /u:"MyWindowsUser" \
    /p:"MyWindowsPassword" \
    /scale:"100" \
    +auto-reconnect \
    /app:program:"C:\Windows\System32\cmd.exe",cmd:"/K type NUL > $TEST_PATH_WIN" \
    /v:"127.0.0.1" &>"/tmp/freerdp_test.log"

If the file is not created, can you try adding +home-drive to the above command and trying it again?

KernelGhost avatar Sep 10 '25 11:09 KernelGhost

@KernelGhost

The command opened a cmd with a error, no such network drive could be found (translated from german)

adding +home-drive opens a cmd and the test-file is being created successfully.

Also I noticed, the docker container seems to be doing autologin, even if I don't access the web-qemu, it started to work only when I accessed the webqemu and signed out?

CrazyWolf13 avatar Sep 10 '25 11:09 CrazyWolf13

@CrazyWolf13 That seems to confirm my suspicions. I wonder why +home-drive is not already in the test command, especially when the intention is to write to tsclient. My understanding is that automatic logins are disabled via a registry tweak in oem/RDPApps.reg, so I am not sure why that is happening on your end either :/

Edit: +home-drive is missing from RDP_FLAGS in your winapps.conf. Regardless, something like that should not break the install script. I am considering adding +home-drive by default.

KernelGhost avatar Sep 10 '25 11:09 KernelGhost

@KernelGhost Thanks a lot for the quick fix!

After adding the +home-drive it seems to be working.

Not sure about the commits but I still had to manually put it in my RDP_args for it to work (tested roughly at 12:25 UTC

For the OEM folder, no idea, though I manually applied the reg and install.bat so everything seems to be working now, thanks a lot!

CrazyWolf13 avatar Sep 10 '25 12:09 CrazyWolf13

@CrazyWolf13 No problem! It is possible the reason you still needed to add +home-drive to RDP_FLAGS is because it was also missing from the FreeRDP command in the waFindInstalled function. This was also addressed in the commit. Once the PR is merged, I think we might be able to close this issue.

KernelGhost avatar Sep 10 '25 22:09 KernelGhost

@KernelGhost Perfect, appreciate the fix!

CrazyWolf13 avatar Sep 11 '25 13:09 CrazyWolf13