I have similar issue.Installed xdg-desktop-portal xdg-desktop-portal-kde. Also installed freerdp package to make remmina work with rdp. Set up port and user in kde settings, enabled service.
On windows client set 32bit, disabled “Persistent bitmap caching“ and unchecked all the “beauty“ checkboxes. Also set UsePAM yes in sshd.conf.
journalctl -fe
ноя 24 17:23:10 ALIGN krdpserver[49081]: Session setup completed, start processing… ноя 24 17:23:10 ALIGN krdpserver[49081]: [17:23:10:405] [49081:0000bfd0] [ERROR][com.freerdp.core.rdp] - [tpkt_ensure_stream_consumed_][0x55ee8f972460]: [rdp_read_info_packet] Received invalid TPKT header length 600, 214 bytes too long! ноя 24 17:23:17 ALIGN krdpserver[49081]: Correcting invalid color depth from client: 16 ноя 24 17:23:17 ALIGN krdpserver[49081]: New client connected: Windows platform Windows NT ноя 24 17:23:17 ALIGN krdpserver[49081]: Attempting authenticating user with PAM ноя 24 17:23:17 ALIGN krdpserver[49081]: Unable to check file descriptor ноя 24 17:23:17 ALIGN krdpserver[49081]: [17:23:17:861] [49081:0000bfd0] [ERROR][com.freerdp.api] - [rdp_peer_handle_state_active]: PostConnect for peer 0x55ee8ed06090 failed ноя 24 17:23:17 ALIGN krdpserver[49081]: [17:23:17:861] [49081:0000bfd0] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1] ноя 24 17:23:17 ALIGN krdpserver[49081]: Closing session ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “/org/freedesktop/portal/desktop” interface “org.freedesktop.portal.RemoteDesktop” member “NotifyKeyboardKeycode”: Marshalling failed: Invalid object path passed in arguments ноя 24 17:23:17 ALIGN krdpserver[49081]: QDBusConnection: error: could not send message to service “org.freedesktop.portal.Desktop” path “” interface “org.freedesktop.portal.Session” member “Close”: Object path cannot be empty ноя 24 17:23:17 ALIGN krdpserver[49081]: Closing Freedesktop Portal Session
Next i tried to rollback to
sudo pacman -U https://archive.archlinux.org/packages/x/xdg-desktop-portal-kde/xdg-desktop-portal-kde-6.2.5-1-x86_64.pkg.tar.zst
But result the same.
Next i updated package to latest again and tried to connect from WindowsApp on Android and error now different. Also i see for a moment something like one-time screen blink on pc. Also i started to see KDE notification when trying to connect.
journalctl -fe
оя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:140] [62952:0000f5e8] [WARN][com.freerdp.core.rdp] - [log_build_warn][0x56165f5f5d00]: ************ *************************************
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:140] [62952:0000f5e8] [WARN][com.freerdp.core.rdp] - [log_build_warn][0x56165f5f5d00]: This build i s using [experimental] build options:
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:140] [62952:0000f5e8] [WARN][com.freerdp.core.rdp] - [log_build_warn][0x56165f5f5d00]: * ‘WITH_VAAP I=ON’
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:140] [62952:0000f5e8] [WARN][com.freerdp.core.rdp] - [log_build_warn][0x56165f5f5d00]: *
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:140] [62952:0000f5e8] [WARN][com.freerdp.core.rdp] - [log_build_warn][0x56165f5f5d00]: [experimenta l] build options might crash the application
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:140] [62952:0000f5e8] [WARN][com.freerdp.core.rdp] - [log_build_warn][0x56165f5f5d00]: ************ *************************************
ноя 24 21:09:00 ALIGN krdpserver[62952]: Session setup completed, start processing…
ноя 24 21:09:00 ALIGN krdpserver[62952]: New client connected: Android platform Unspecified version
ноя 24 21:09:00 ALIGN krdpserver[62952]: Attempting authenticating user with PAM
ноя 24 21:09:00 ALIGN krdpserver[62966]: pam_unix(login:account): setuid failed: Операция не позволена //I beleive on english this is: Operation not permitted
ноя 24 21:09:00 ALIGN krdpserver[62952]: PAM authentication succeeded for user “pavletto” ноя 24 21:09:00 ALIGN krdpserver[62952]: Video stream initialized
ноя 24 21:09:00 ALIGN krdpserver[62952]: Initializing Freedesktop Portal Session
ноя 24 21:09:00 ALIGN kded6[942]: Registering “:1.305/StatusNotifierItem” to system tray ноя 24 21:09:00 ALIGN krdpserver[62952]: Started Freedesktop Portal session
ноя 24 21:09:00 ALIGN krdpserver[62952]: Received caps: ноя 24 21:09:00 ALIGN krdpserver[62952]: RDPGFX_CAPVERSION_8 AVC: false YUV420: false
ноя 24 21:09:00 ALIGN krdpserver[62952]: RDPGFX_CAPVERSION_81 AVC: false YUV420: false
ноя 24 21:09:00 ALIGN krdpserver[62952]: RDPGFX_CAPVERSION_10 AVC: false YUV420: false
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:321] [62952:0000f5f8] [ERROR][com.freerdp.core.peer] - [rdp_set_error_info]: ERRINFO_GRAPHICS_SUBSY STEM_FAILED [0x0001112F]
ноя 24 21:09:00 ALIGN krdpserver[62952]: RDPGFX_CAPVERSION_102 AVC: false YUV420: false
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:321] [62952:0000f5f8] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_recv_caps_advertise_pdu ]: context->CapsAdvertise failed with error 20
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:321] [62952:0000f5f8] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_receive_pdu]: rd pgfx_recv_caps_advertise_pdu failed with error 20!
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:321] [62952:0000f5f8] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_receive_pdu]: Er ror while parsing GFX cmdId: RDPGFX_CMDID_CAPSADVERTISE (0x0012)
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:321] [62952:0000f5f8] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_handle_messages] : rdpgfx_server_receive_pdu failed with error 20!
ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:321] [62952:0000f5f8] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_thread_func]: rd pgfx_server_handle_messages failed with error 20
ноя 24 21:09:00 ALIGN krdpserver[62952]: RDPGFX_CAPVERSION_103 AVC: false YUV420: false
ноя 24 21:09:00 ALIGN krdpserver[62952]: RDPGFX_CAPVERSION_104 AVC: false YUV420: true
ноя 24 21:09:00 ALIGN krdpserver[62952]: UNKNOWN_VERSION AVC: false YUV420: false
ноя 24 21:09:00 ALIGN krdpserver[62952]: Client does not support H.264 in YUV420 mode! ноя 24 21:09:00 ALIGN krdpserver[62952]: [21:09:00:332] [62952:0000f5f3] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read retrie s exceeded
ноя 24 21:09:00 ALIGN krdpserver[62952]: Unable to check file descriptor
ноя 24 21:09:00 ALIGN krdpserver[62952]: Closing session
ноя 24 21:09:00 ALIGN xdg-desktop-portal-kde[39030]: Failed to notify “Created too many similar notifications in quick succession”
ноя 24 21:09:00 ALIGN krdpserver[62952]: VAAPI: VA-API NVDEC driver [direct backend] in use for device “/dev/dri/renderD128”
ноя 24 21:09:01 ALIGN krdpserver[62952]: Closing Freedesktop Portal Session
ноя 24 21:09:01 ALIGN kded6[942]: Service “:1.305” unregistered
I’ve tried to set:
\\\~/.config/krdprc
[Graphics]
H264CodecEnabled=false
AVC444ModeEnabled=false
HardwareEncodingEnabled=false
journalctl -fe
ноя 24 21:16:10 ALIGN krdpserver[63265]: Session setup completed, start processing…
ноя 24 21:16:10 ALIGN krdpserver[63265]: New client connected: Android platform Unspecified version
ноя 24 21:16:10 ALIGN krdpserver[63265]: Attempting authenticating user with PAM
ноя 24 21:16:10 ALIGN krdpserver[63355]: pam_unix(login:account): setuid failed: Операция не позволена //Operation not permitted
ноя 24 21:16:10 ALIGN krdpserver[63265]: PAM authentication succeeded for user “pavletto” ноя 24 21:16:10 ALIGN krdpserver[63265]: Video stream initialized
ноя 24 21:16:10 ALIGN krdpserver[63265]: Initializing Freedesktop Portal Session
ноя 24 21:16:10 ALIGN kded6[942]: Registering “:1.313/StatusNotifierItem” to system tray
ноя 24 21:16:10 ALIGN krdpserver[63265]: Started Freedesktop Portal session
ноя 24 21:16:10 ALIGN krdpserver[63265]: Received caps:
ноя 24 21:16:10 ALIGN krdpserver[63265]: RDPGFX_CAPVERSION_8 AVC: false YUV420: false
ноя 24 21:16:10 ALIGN krdpserver[63265]: RDPGFX_CAPVERSION_81 AVC: false YUV420: false
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:620] [63265:0000f77d] [ERROR][com.freerdp.core.peer] - [rdp_set_error_info]: ERRINFO_GRAPHICS_SUBSYSTEM_FAILED [0x0001112F]
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:620] [63265:0000f77d] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_recv_caps_advertise_pdu]: context->CapsAdvertise failed with error 20
ноя 24 21:16:10 ALIGN krdpserver[63265]: RDPGFX_CAPVERSION_10 AVC: false YUV420: false
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:620] [63265:0000f77d] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_receive_pdu]: rdpgfx_recv_caps_advertise_pdu failed with error 20!
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:620] [63265:0000f77d] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_receive_pdu]: Error while parsing GFX cmdId: RDPGFX_CMDID_CAPSADVERTISE (0x0012)
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:620] [63265:0000f77d] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_handle_messages]: rdpgfx_server_receive_pdu failed with error 20!
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:620] [63265:0000f77d] [ERROR][com.freerdp.channels.rdpgfx.server] - [rdpgfx_server_thread_func]: rdpgfx_server_handle_messages failed with error 20
ноя 24 21:16:10 ALIGN krdpserver[63265]: RDPGFX_CAPVERSION_102 AVC: false YUV420: false
ноя 24 21:16:10 ALIGN krdpserver[63265]: RDPGFX_CAPVERSION_103 AVC: false YUV420: false
ноя 24 21:16:10 ALIGN krdpserver[63265]: RDPGFX_CAPVERSION_104 AVC: false YUV420: true
ноя 24 21:16:10 ALIGN krdpserver[63265]: UNKNOWN_VERSION AVC: false YUV420: false
ноя 24 21:16:10 ALIGN krdpserver[63265]: Client does not support H.264 in YUV420 mode! ноя 24 21:16:10 ALIGN krdpserver[63265]: Hardware encoding is not supported on this device.
ноя 24 21:16:10 ALIGN krdpserver[63265]: [libx264 @ 0x7f4c1c054e00] -qscale is ignored, -crf is recommended.
ноя 24 21:16:10 ALIGN krdpserver[63265]: [libx264 @ 0x7f4c1c054e00] MB rate (18000000) > level limit (16711680)
ноя 24 21:16:10 ALIGN krdpserver[63265]: [libx264 @ 0x7f4c1c054e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
ноя 24 21:16:10 ALIGN krdpserver[63265]: [21:16:10:628] [63265:0000f778] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read retries exceeded
ноя 24 21:16:10 ALIGN krdpserver[63265]: Unable to check file descriptor
ноя 24 21:16:10 ALIGN krdpserver[63265]: Closing session ноя 24 21:16:10 ALIGN krdpserver[63265]: [libx264 @ 0x7f4c1c054e00] profile Constrained Baseline, level 6.2, 4:2:0, 8-bit
ноя 24 21:16:10 ALIGN krdpserver[63265]: Closing Freedesktop Portal Session ноя 24 21:16:10 ALIGN kded6[942]: Service “:1.313” unregistered
ноя 24 21:16:10 ALIGN xdg-desktop-portal-kde[39030]: Failed to notify “Created too many similar notifications in quick succession”
Next tried with options like:
Environment="FREERDP_GRAPHICS_DEFAULT_CODEC=RAW"
Environment="FREERDP_H264_ENABLED=0"
in different places but result always the same -(