Skip to content

bin/winapps.check runs fine but RDP connection still fails #977

Description

@aliceell

What happened?

Just set up winapps for the first time using NowSci's detailed guide.. I'm using Ubuntu 26.04 LTS. I set up the VM using NowSci's guide.

When I run bin/winapps check, I get the following output, and then Windows Explorer launches (in a really tiny poor-resolution window) and runs until I close it.

But then when I run ./installer.sh, I get the following error messages:

grep: /home/plover/.local/share/applications/*: No such file or directory
grep: /home/plover/.local/bin/*: No such file or directory
rm: cannot remove '/usr/local/share/winapps/apps': Permission denied
grep: /usr/local/bin/*: No such file or directory
Installing...
  Checking for installed apps in RDP machine (this may take a while)... Finished.

The RDP connection failed to connect or run. Please confirm FreeRDP can connect with:
  bin/winapps check

Your FreeRDP version and where you got it from

freerdp2-x11 (i think?)

Your Linux distribution and version

Ubuntu 26.04 LTS

Your winapps.conf

RDP_USER="plover-windows"
RDP_PASS=[my password]
VM_NAME="RDPWindows"
#RDP_DOMAIN="MYDOMAIN"
#RDP_IP=""
#RDP_SCALE=100
#RDP_FLAGS=""
#MULTIMON="true"
#DEBUG="true"

Logs

output of bin/winapps check:

[16:46:36:929] [13396:00003454] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Using /p is insecure
[16:46:36:929] [13396:00003454] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Passing credentials or secrets via command line might expose these in the process list
[16:46:36:929] [13396:00003454] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]: Consider using one of the following (more secure) alternatives:
[16:46:36:929] [13396:00003454] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]:   - /args-from: pipe in arguments from stdin, file, file descriptor or environment variable
[16:46:36:929] [13396:00003454] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]:   - /from-stdin pass the credential via stdin
[16:46:36:929] [13396:00003454] [WARN][com.freerdp.client.common.cmdline] - [warn_credential_args]:   - set environment variable FREERDP_ASKPASS to have a gui tool query for credentials
[16:46:36:930] [13396:00003456] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x08 -> no RDP scancode found
[16:46:36:930] [13396:00003456] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]: ZEHA: keycode: 0x5d -> no RDP scancode found
[16:46:37:006] [13396:00003456] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
[16:46:37:006] [13396:00003456] [WARN][com.freerdp.crypto] - [verify_cb]: CN = RDPWindows
[16:46:37:007] [13396:00003456] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Configuration file does not specify default realm [-1765328160])
[16:46:37:007] [13396:00003456] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Configuration file does not specify default realm [-1765328160])
[16:46:37:246] [13396:00003456] [INFO][com.freerdp.gdi] - [gdi_init_ex]: Local framebuffer format  PIXEL_FORMAT_BGRA32
[16:46:37:246] [13396:00003456] [INFO][com.freerdp.gdi] - [gdi_init_ex]: Remote framebuffer format PIXEL_FORMAT_BGRA32
[16:46:37:255] [13396:0000345a] [INFO][com.freerdp.channels.rdpdr.client] - [devman_load_device_service]: Loading device service drive [home] (static)
[16:46:37:255] [13396:00003456] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [static] Loaded fake backend for rdpsnd
[16:46:37:255] [13396:00003456] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel ainput
[16:46:37:255] [13396:00003456] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel rdpgfx
[16:46:37:255] [13396:00003456] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel disp
[16:46:37:255] [13396:00003456] [INFO][com.freerdp.channels.drdynvc.client] - [dvcman_load_addin]: Loading Dynamic Virtual Channel rdpsnd
[16:46:38:256] [13396:0000345f] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [dynamic] Loaded fake backend for rdpsnd
[16:46:38:422] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:38:442] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:38:442] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:46:39:698] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:39:698] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:46:39:749] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:39:749] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:46:39:768] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:39:768] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:46:41:315] [13396:00003456] [INFO][com.freerdp.client.common] - [client_common_save_session_info]: Logon Info V2 [RDPWINDOWS\plover-windows [2]]
[16:46:41:315] [13396:00003456] [INFO][com.freerdp.client.common] - [client_common_save_session_info]: Logon Extended Info [cookie: TRUE, LogonId: 2, errorInfo: FALSE, notifyType: 0, notifyData: 0]
[16:46:41:496] [13396:0000345f] [INFO][com.freerdp.channels.rdpsnd.client] - [rdpsnd_load_device_plugin]: [dynamic] Loaded fake backend for rdpsnd
[16:46:41:716] [13396:0000345a] [INFO][com.freerdp.channels.rdpdr.client] - [device_announce]: registered [    drive] device #1:  home (type= 8 id= 1)
[16:46:42:031] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:42:039] [13396:0000345b] [ERROR][com.freerdp.client.x11] - [xf_rail_server_system_param]: TODO: implement
[16:46:42:040] [13396:0000345b] [ERROR][com.freerdp.client.x11] - [xf_rail_server_system_param]: TODO: implement
[16:46:42:076] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:42:076] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:46:42:203] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ARC_BEGAN && WINDOW_ORDER_FIELD_DESKTOP_HOOKED
[16:46:42:203] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:42:203] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:204] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:332] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:344] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:380] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:382] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:383] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:385] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:42:453] [13396:0000345b] [ERROR][com.freerdp.client.x11] - [xf_rail_server_language_bar_info]: TODO: implement
[16:46:42:693] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:43:192] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:43:192] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:43:378] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:43:410] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:45:751] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:46:45:829] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:45:829] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:45:860] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:45:931] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:46:956] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:46:956] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:47:338] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:46:47:338] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:46:48:144] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:48:144] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:51:114] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:46:51:114] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:46:53:822] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:47:01:500] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow
[16:47:01:500] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_Set]: handle=0
[16:47:03:087] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:47:04:473] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:47:04:704] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:47:05:993] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ACTIVE_WND
[16:47:05:993] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:47:06:004] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
[16:47:06:040] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_rail_monitored_desktop]: TODO: implement WINDOW_ORDER_FIELD_DESKTOP_ZORDER
^C[16:47:07:984] [13396:00003454] [ERROR][com.freerdp.utils.signal] - [fsig_term_handler]: Caught signal 'Interrupt' [2]
[16:47:07:984] [13396:00003454] [INFO][com.freerdp.core] - [sig_abort_connect]: Signal Interrupt [2], terminating session 0x63dc04356ab0
[16:47:07:984] [13396:00003454] [ERROR][com.freerdp.core] - [freerdp_abort_connect_context]: ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
[16:47:07:984] [13396:00003454] [INFO][com.freerdp.client.common.cliprdr.file] - [fuse_abort]: signal Interrupt [2] aborting session
[16:47:07:984] [13396:00003456] [INFO][com.freerdp.client.common] - [client_auto_reconnect_ex]: Network disconnect!
[16:47:07:984] [13396:00003456] [WARN][com.freerdp.client.common] - [client_auto_reconnect_ex]: Connection aborted by user
[16:47:07:985] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:47:07:985] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:47:07:985] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:47:07:985] [13396:0000345f] [WARN][com.freerdp.client.x11] - [xf_UnmapWindowForSurface]: function not implemented
[16:47:07:995] [13396:00003456] [WARN][com.freerdp.client.common.cliprdr.file] - [cliprdr_file_session_terminate]: winpr_PathFileExists(/tmp/com.freerdp.client.cliprdr.13396) failed
[16:47:07:996] [13396:00003456] [WARN][com.freerdp.client.x11] - [xf_Pointer_get_window]: xf_Pointer: Invalid appWindow

Terms

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions