https://bugs.kde.org/show_bug.cgi?id=512439

Le Minh Tai <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #5 from Le Minh Tai <[email protected]> ---
I can reproduce this bug.
On freshly-installed system (you may run `dnf upgrade`), open `System
Settings`.
Go to `Remote Desktop`, tick the checkbox next to the only user under section
`System Users` (whose label is `Login with your system password`).
By doing that, you can toggle on the switch "Enable RDP server".
Open a terminal and run `journalctl --user -u app-org.kde.krdpserver.service
-f`, this allow us to watch krdp's logs live while we attempt the connection
later.
On other (Fedora 44 KDE) machine, try to connect to the host above using `KRDC`
app or `xfreerdp` command (or anything you like to use).
The terminal above will show logs similar to this:

Jul 07 16:46:02 my-test-vm krdpserver[2767]: New client connected:  UNIX
platform Native X Server
Jul 07 16:46:03 my-test-vm unix_chkpwd[3312]: check pass; user unknown
Jul 07 16:46:03 my-test-vm unix_chkpwd[3312]: password check failed for user
(user1)
Jul 07 16:46:03 my-test-vm krdpserver[2767]: pam_unix(login:auth):
authentication failure; logname=user1 uid=1000 euid=1000 tty= ruser= rhost= 
user=user1
Jul 07 16:46:04 my-test-vm krdpserver[2767]: pam_authenticate failure:
Authentication failure
Jul 07 16:46:04 my-test-vm krdpserver[2767]: [16:46:04:845] [2767:00000ce2]
[ERROR][com.freerdp.api] - [rdp_peer_handle_state_active]: PostConnect for peer
0x5601b0d78560 failed
Jul 07 16:46:04 my-test-vm krdpserver[2767]: [16:46:04:845] [2767:00000ce2]
[ERROR][com.freerdp.core.transport] - [transport_check_fds]:
transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1]

The problem is, the checkbox above doesn't work (this may come from the initial
Plasma Setup after installing the system, it may didn't register some necessary
things).
We can solve this by hit the `Add New...` button to add new user in the same
`Remote Desktop` setting page above. We can use the same username as the system
user above.
This time, toggle off and toggle on `Enable RDP server` to restart the server,
and you may connect successfully.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to