Replies: 3 comments
-
Dag Johan, I'll explain the error first, and then ask for more information. xrdp has two ways to secure communications between the client and the server:-
Method 2 is far more secure, but to use it, xrdp needs access to an X509 certificate, and also the private key that goes with the certificate. However, if xrdp is unable to read the private key for the certificate, it should fall back to the less secure 'classic RDP' encryption. This may or may not be happening, but it's not obvious from the data above. I'm missing a lot of information to triage your problem effectively:-
Can you please supply the above? Fell free to add it to this discussion, and then we'll turn it into an issue. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi there! Sorry for the late reply! System info:
version:
My client is remmina 1.4.40 in flatpack on fedora. I'm logging in over RDP using ssh tunnel with tunnel via loopback address and custom address: PUBLICIP:3389 using pubkey authentication and ssh private key file. the port 3389 for my public ip is forwarded to my server at 192.168.2.250:22 in my router. When i log im getting 'cannot connect to the "127.0.0.1" RDP server.. This is my error log:
Thank you for trying to help me! This is really appreciated! |
Beta Was this translation helpful? Give feedback.
-
I'm going to close this discussion, as I've moved it to issue #3499 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
Something really weird happened. Yesterday morning i could easily connect to my sever over RDP. However when I tried yesturday night i got an permission denied error. The only difference between yesturday mornig and evening was that i turned off the server for two hours and rearranged my serverrack, so some disconenction of the cables and reconnecting them. Also, two weeks ago i did a complete refresh of my ssh keys, and also have a dedicated ssh key for my rdp access.
I've traced the error to the following:
I've found the following solution from [URL="https://c-nergy.be/blog/?p=13708"]here[/URL].
sudo adduser xrdp ssl-cert
It however does not work. Still the same error, even after rebooting and restarting systemctl xrdp.
I of course now as a moron can change permissions but I'm afraid that could cause security issues.
The permissions and group are root, which should be normal.
and
also i beleive xrdp runs under my username and since i can do sudo commands my username should also be part of the sudo. i also never made any changes here anyway.
and finally my xrdp.ini file:
I have tried to delete /etc/xrdp and purge the xrdp install and then adding the snakeoil certificates again. Still the same problem.
Can anyone help me with this problem ?
I've attached my error logs below the post.
Thank you in advance.
Johan
Beta Was this translation helpful? Give feedback.
All reactions