Remote desktop connection does not work

I see these errors in the client

Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:071\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.rdpsnd.client\] - \[rdpsnd_load_device_plugin\]: \[static\] Loaded pulse backend for rdpsnd 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:071\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: Loading Dynamic Virtual Channel ainput 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:072\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: Loading Dynamic Virtual Channel audin 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:075\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.audin.client\] - \[audin_load_device_plugin\]: Loaded pulse backend for audin 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:075\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: Loading Dynamic Virtual Channel rdpsnd 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:075\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: Loading Dynamic Virtual Channel rdpgfx 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:077\] \[11575:00003332\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: Loading Dynamic Virtual Channel disp 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:11:077\] \[11575:00003332\] \[INFO\]\[com.freerdp.core\] - \[rdp_print_errinfo\]: ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off th
eir session on the server. 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:122\] \[11575:0000333f\] \[INFO\]\[com.freerdp.gdi\] - \[gdi_init_ex\]: Local framebuffer format  PIXEL_FORMAT_RGBX32 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:122\] \[11575:0000333f\] \[INFO\]\[com.freerdp.gdi\] - \[gdi_init_ex\]: Remote framebuffer format PIXEL_FORMAT_BGRA32 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:123\] \[11575:00003341\] \[INFO\]\[com.freerdp.channels.rdpdr.client\] - \[devman_load_device_service\]: Loading device service drive \[\_media\] (static) 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:129\] \[11575:0000333f\] \[INFO\]\[com.freerdp.channels.rdpsnd.client\] - \[rdpsnd_load_device_plugin\]: \[static\] Loaded pulse backend for rdpsnd 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:130\] \[11575:0000333f\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: Loading Dynamic Virtual Channel ainput 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:130\] \[11575:0000333f\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - \[dvcman_load_addin\]: \[19:32:26:146\] \[11575:0000333f\] \[ERROR\]\[com.freerdp.core\] - \[rdp_set_error\_
info\]: ERRINFO_LOGOFF_BY_USER \[0x0001000C\] 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:146\] \[11575:0000333f\] \[ERROR\]\[com.freerdp.core.rdp\] - \[rdp_recv_callback_int\]\[0x564e87f98e20\]: CONNECTION_STATE_CAPABILITIES_EXCHANGE_DEMAND_ACTIVE status STATE_RUN
\_QUIT_SESSION \[-2\] 
Aug 25 19:32:26 ws-living krdc\[11575\]: \[19:32:26:146\] \[11575:0000333f\] \[ERROR\]\[com.freerdp.core.transport\] - \[transport_check_fds\]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_QUIT_SESSION \[-2\] 
Aug 25 19:32:42 ws-living krdc\[11575\]: \[19:32:42:112\] \[11575:00003378\] \[WARN\]\[com.freerdp.crypto\] - \[verify_cb\]: Certificate verification failure 'self-signed certificate (18)' at stack position 0 
Aug 25 19:32:42 ws-living krdc\[11575\]: \[19:32:42:112\] \[11575:00003378\] \[WARN\]\[com.freerdp.crypto\] - \[verify_cb\]: C = XX, L = Default City, O = Default Company Ltd 
Aug 25 19:32:42 ws-living krdc\[11575\]: \[19:32:42:127\] \[11575:00003378\] \[ERROR\]\[com.freerdp.core\] - \[rdp_set_error_info\]: ERRINFO_LOGOFF_BY_USER \[0x0001000C\] 
Aug 25 19:32:42 ws-living krdc\[11575\]: \[19:32:42:127\] \[11575:00003378\] \[ERROR\]\[com.freerdp.core.rdp\] - \[rdp_recv_callback_int\]\[0x564e87fd3ba0\]: CONNECTION_STATE_CAPABILITIES_EXCHANGE_DEMAND_ACTIVE status STATE_RUN
\_QUIT_SESSION \[-2\] 
Aug 25 19:32:42 ws-living krdc\[11575\]: \[19:32:42:127\] \[11575:00003378\] \[ERROR\]\[com.freerdp.core.transport\] - \[transport_check_fds\]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_QUIT_SESSION \[-2\]

I did create a new user on the target

If both the machine you are on and the Target are running KDE,
On the Target:
Go to Settings > Remote Desktop and in the Top Right Corner, turn Enable RDP Server to ON.
Make sure Log in with your system password is Checked under 'System Users (and that the name of that system is correct)

In my case I also have my user name under ‘Other users’.

take note of the ‘Listening Port’. It should be 3389, but check and change in next bit if it is different.

On the Main Machine where you want to View the other machine from:
Open KRDC.
On the Top line there’s a little drop down selection thingy.
Choose RDP - (NOT! VNC)
Type in the IP address of the Target,and include :3389 (or whatever port your Target said to use).
Something like:
192.168.0.xxx:3389 where xxx will be different on yours.

When you press Enter, if you are lucky you will be asked for your normal username and root password for the Target machine.

***
I had a cow of a job trying to get ‘anything’ to connect to ‘anything else’ because I was used to using Nomachine’s FREE version for years. So I’d got lazy.
Then I decided to test KDE-Linux, which because it is Immutable won’t allow me to install anything else, like Vinaigre Server to work with TigerVNC.
So I tried all sorts of combinations and accidentally discovered the Remote Desktop Server Built-In to KDE !!!

I used to be a computer tech and programmer since the 1970s and a Linux specialist since 1998 (before some brain injuries took all that away from me.
So I can’t believe it tool me a week to discover this solution.

Now I did a lot of messing around - so there might be something I’ve missed. But I hope this helps at least one person to look in what might be the ‘right place’.
And there’s somethign else that needs to be done that I forgot to mention - like a UFW rule to allow Port 3389 (I do NOT recall doing that), please rewrite my steps with the changes.

And if it doesn’t work for anyone - just let me know I wrote garbage . .