KRDP/Remote Desktop not functioning correctly...

I am trying to connect to my system remotely through the krdp server. I get different results depending on which RDP client I use on my phone. Microsoft’s RD Client prompts Plasma to show the request. I accept the request and enter my credentials, but once I finish that it just errors back out to the RDP connection screen. aFreeRDP allows me to connect, but once connected shows a black display. The mouse input, however, does work. I’ve tried adjusting all available graphical settings present, but to no avail. The app is using H.264 encoding. I found another post mentioning an almost identical issue, but I don’t know what the OP means by “I didn’t have all media Codecs installed for H.264”. I have the x264 package installed from pacman. I’m not exactly sure what else I would need, assuming this is the issue I am facing.

Below I will attach my garuda-inxi output which should show some useful relative system info if needed. Thank you for reading/responding :)!

System:
Kernel: 6.14.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=56e3fd53-f92b-4141-a479-2e241f5e021a rw rootflags=subvol=@
quiet rd.luks.uuid=fccf5494-1112-403b-991a-7b39bba5a7aa loglevel=3
ibt=off
Desktop: KDE Plasma v: 6.3.5 tk: Qt v: N/A info: frameworks v: 6.14.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: B650 GAMING X AX V2 v: N/A
serial: <superuser required>
Mobo: Gigabyte model: B650 GAMING X AX V2 v: x.x
serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: F31 date: 08/14/2024
Battery:
ID-1: hidpp_battery_0 charge: 46% condition: N/A volts: 3.8 min: N/A
model: Logitech G Pro Wireless Gaming Mouse type: N/A serial: <filter>
status: discharging
CPU:
Info: model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4 gen: 4
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601209
Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
desc: 8x1024 KiB L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 3765 min/max: 545/5575 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 3765 2: 3765 3: 3765
4: 3765 5: 3765 6: 3765 7: 3765 8: 3765 9: 3765 10: 3765 11: 3765 12: 3765
13: 3765 14: 3765 15: 3765 16: 3765 bogomips: 143723
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070] vendor: ZOTAC driver: nvidia
v: 570.144 alternate: nouveau,nvidia_drm non-free: 550-570.xx+
status: current (as of 2025-04) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: none off: DP-2 empty: DP-1,DP-3,HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:2786 class-ID: 0300
Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Gigabyte
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
empty: Writeback-1 bus-ID: 10:00.0 chip-ID: 1002:164e class-ID: 0300
temp: 36.0 C
Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: nvidia,nvidia-nvswitch display-ID: 0
Monitor-1: DP-2 model: MSI MAG301CR2 built: 2021 res: mode: 2560x1080
hz: 200 scale: 100% (1) dpi: 93 gamma: 1.2 size: 690x291mm (27.17x11.46")
diag: 762mm (30") modes: max: 2560x1080 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia drv: amd radeonsi
platforms: device: 0 drv: nvidia device: 1 drv: radeonsi device: 2
drv: nouveau device: 3 drv: swrast gbm: drv: radeonsi surfaceless:
drv: nvidia wayland: drv: nvidia x11: drv: nvidia
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 570.144
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4070/PCIe/SSE2
memory: 11.71 GiB display-ID: :1.0
API: Vulkan v: 1.4.313 layers: 12 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 4070 driver: nvidia v: 570.144 device-ID: 10de:2786
surfaces: N/A device: 1 type: integrated-gpu name: AMD Radeon Graphics
(RADV RAPHAEL_MENDOCINO) driver: mesa radv v: 25.0.5-arch1.1
device-ID: 1002:164e surfaces: N/A device: 2 type: cpu name: llvmpipe
(LLVM 19.1.7 256 bits) driver: mesa llvmpipe v: 25.0.5-arch1.1 (LLVM
19.1.7) device-ID: 10005:0000 surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: NVIDIA AD104 High Definition Audio vendor: ZOTAC
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:22bc class-ID: 0403
Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
Definition Audio driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 10:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: Focusrite-Novation Scarlett 2i2 3rd Gen driver: snd-usb-audio
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 7-1.3:5
chip-ID: 1235:8210 class-ID: 0102 serial: <filter>
API: ALSA v: k6.14.6-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8852CE PCIe 802.11ax Wireless Network vendor: AzureWave
driver: rtw89_8852ce v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
port: d000 bus-ID: 07:00.0 chip-ID: 10ec:c852 class-ID: 0280
IF: wlp7s0 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: c000 bus-ID: 08:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
rev: 1.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:5 chip-ID: 13d3:3586
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 4.35 TiB used: 1.18 TiB (27.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 EVO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 126 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 0B2QKXJ7 temp: 36.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 0102 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD10EZEX-00BN5A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A01 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Silicon Power
model: SPCC Solid State Disk size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 61.3
scheme: GPT
ID-5: /dev/sdd maj-min: 8:48 vendor: Crucial model: Micron X8 SSD
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 10 Gb/s lanes: 1 mode: 3.2 gen-2x1 tech: SSD
serial: <filter> scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-6: /dev/sde maj-min: 8:64 vendor: SanDisk model: USB 3.2Gen1
size: 28.67 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
fw-rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 126.48 GiB (6.8%)
fs: btrfs dev: /dev/dm-0 maj-min: 253:0
mapped: luks-fccf5494-1112-403b-991a-7b39bba5a7aa
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 776 KiB (0.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 126.48 GiB (6.8%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
mapped: luks-fccf5494-1112-403b-991a-7b39bba5a7aa
ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 126.48 GiB (6.8%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
mapped: luks-fccf5494-1112-403b-991a-7b39bba5a7aa
ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 126.48 GiB (6.8%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
mapped: luks-fccf5494-1112-403b-991a-7b39bba5a7aa
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 30.46 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 42.2 C mobo: 34.0 C gpu: amdgpu temp: 37.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB note: est. available: 30.46 GiB used: 4.31 GiB (14.1%)
Processes: 406 Power: uptime: 59m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.11 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Packages: 1775 pm: pacman pkgs: 1766 libs: 455 tools: octopi,paru
pm: flatpak pkgs: 9 Compilers: clang: 19.1.7 gcc: 15.1.1 Shell: garuda-inxi
default: fish v: 4.0.2 running-in: konsole inxi: 3.3.38
Garuda (2.7.2-1):
System install date:     2025-05-08
Last full system update: 2025-05-16
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

Here to add some pertinent information I’ve gathered. When running a krdpserver from terminal using this command krdpserver -u user -p test I can see terminal output showing me that kpipewire_record_logging: Hardware encoding is not supported on this device. It also shows that it appears to be defaulting to CPU encoding, which is not giving me video out using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 . Below I will attach the full output log.

org.kde.krdp: Listening for connections on QHostAddress(QHostAddress::Any) 3389
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[20:28:11:466] [93376:93381] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
[20:28:11:466] [93376:93381] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
[20:28:11:466] [93376:93381] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
[20:28:11:474] [93376:93381] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[20:28:11:477] [93376:93381] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.connection] - Accepted client: aFreeRDP-c897ca
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.connection] - Accepted channels:
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.connection] -  rdpdr
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.connection] -  rdpsnd
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.connection] -  cliprdr
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.connection] -  drdynvc
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
[20:28:11:480] [93376:93381] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
org.kde.krdp: Correcting invalid color depth from client: 8
org.kde.krdp: New client connected:  Unspecified platform Unspecified version
org.kde.krdp: Video stream initialized
org.kde.krdp: Started Freedesktop Portal session
kpipewire_vaapi_logging: VAAPI: Failed to initialize display
kpipewire_vaapi_logging: DRM device not found
org.kde.krdp: Received caps:
org.kde.krdp:   RDPGFX_CAPVERSION_8 AVC: false YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_81 AVC: false YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_10 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_101 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_102 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_103 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_104 AVC: true YUV420: true
org.kde.krdp:   RDPGFX_CAPVERSION_105 AVC: true YUV420: true
org.kde.krdp:   RDPGFX_CAPVERSION_106 AVC: true YUV420: true
org.kde.krdp:   UNKNOWN_VERSION AVC: false YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_107 AVC: true YUV420: true
org.kde.krdp: Selected caps: RDPGFX_CAPVERSION_107
kpipewire_record_logging: Hardware encoding is not supported on this device.
[libx264 @ 0x705cd0911e40] -qscale is ignored, -crf is recommended.
[libx264 @ 0x705cd0911e40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x705cd0911e40] profile Constrained Baseline, level 6.2, 4:2:0, 8-bit
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
[20:28:11:656] [93376:93383] [ERROR][com.freerdp.channels.rdpgfx.server] - WTSVirtualChannelRead failed!
[20:28:11:656] [93376:93383] [ERROR][com.freerdp.channels.rdpgfx.server] - rdpgfx_server_handle_messages failed with error 1359
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
[20:28:15:432] [93376:93381] [ERROR][com.freerdp.core.peer] - Incorrect RDP header.
[20:28:15:432] [93376:93381] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_ACTIVE - peer_recv_pdu() fail
[20:28:15:432] [93376:93381] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
QObject::~QObject: Timers cannot be stopped from another thread
[libx264 @ 0x705cd0911e40] frame I:2     Avg QP:17.50  size:265054
[libx264 @ 0x705cd0911e40] frame P:102   Avg QP:18.85  size: 10972
[libx264 @ 0x705cd0911e40] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x705cd0911e40] mb P  I16..4:  1.3%  0.0%  0.0%  P16..4:  7.6%  0.0%  0.0%  0.0%  0.0%    skip:91.1%
[libx264 @ 0x705cd0911e40] coded y,uvDC,uvAC intra: 28.0% 8.6% 5.9% inter: 2.6% 3.3% 0.4%
[libx264 @ 0x705cd0911e40] i16 v,h,dc,p: 42% 46% 10%  2%
[libx264 @ 0x705cd0911e40] i8c dc,h,v,p: 69% 26%  5%  1%
[libx264 @ 0x705cd0911e40] kb/s:126865.84
org.kde.krdp: Closing Freedesktop Portal Session