SUMMARY If I try to run krdp through the "Remote Desktop" settings on plasma after adding a username and password to the user list, trying to connect will just have the client constantly waiting for a connection. Running `krdp` directly through the terminal, setting a username and password through the -u and -p flags, doesn't have this issue. STEPS TO REPRODUCE 1. Go to "Remote Desktop" in settings 2. Add a username and password, then enable service 3. Try to log in with said username and password OBSERVED RESULT Client will be stuck waiting for connection forever, journalctl logs show error `requestPassword: Failed to read password of "USER" because of error: 1` EXPECTED RESULT Client would connect to remote desktop successfully, as does happen when running `krdp` directly from the terminal, setting username and password through the `-u` and `-p` flags SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.9-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 31.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 ADDITIONAL INFORMATION Journalctl logs: ``` Sep 15 13:06:30 diego-arch systemd[840]: Starting KRDP Server... Sep 15 13:06:30 diego-arch systemd[840]: Started KRDP Server. Sep 15 13:06:31 diego-arch krdpserver[2847]: org.kde.krdp: Initializing Freedesktop Portal Session Sep 15 13:06:31 diego-arch krdpserver[2847]: org.kde.krdp: Listening for connections on QHostAddress(QHostAddress::Any) 3389 Sep 15 13:06:31 diego-arch krdpserver[2847]: requestPassword: Failed to read password of "ammonium" because of error: 1 Sep 15 13:06:31 diego-arch krdpserver[2847]: org.kde.krdp: Started Freedesktop Portal session Sep 15 13:06:31 diego-arch krdpserver[2847]: kpipewire_vaapi_logging: VAAPI: VA-API NVDEC driver [direct backend] in use for device "/dev/dri/renderD128" Sep 15 13:06:34 diego-arch krdpserver[2847]: org.kde.krdp: Closing Freedesktop Portal Session Sep 15 13:11:02 diego-arch krdpserver[2847]: org.kde.krdp: Initializing Freedesktop Portal Session Sep 15 13:11:02 diego-arch krdpserver[2847]: org.kde.krdp: Session setup completed, start processing... Sep 15 13:11:02 diego-arch krdpserver[2847]: org.kde.krdp: Started Freedesktop Portal session Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:006] [2847:3566] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312] Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313] Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [ERROR][com.winpr.sspi.NTLM] - Error: Could not find user in SAM database Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [WARN][com.winpr.sspi] - CompleteAuthToken status SEC_E_INTERNAL_ERROR [0x80090304] Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [WARN][com.freerdp.core.nla] - CompleteAuthToken status SEC_E_INTERNAL_ERROR [0x80090304] Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [ERROR][com.freerdp.core.transport] - client authentication failure Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail Sep 15 13:11:08 diego-arch krdpserver[2847]: [13:11:08:016] [2847:3566] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1 Sep 15 13:11:08 diego-arch krdpserver[2847]: org.kde.krdp: Unable to check file descriptor Sep 15 13:11:08 diego-arch krdpserver[2847]: org.kde.krdp: Closing session Sep 15 13:11:08 diego-arch krdpserver[2847]: org.kde.krdp: Closing Freedesktop Portal Session ```