I’ve just installed Manjaro and also xrdp to be able to use my main machine to connect to it with xfreerdp. I followed a guide that I’m not allowed to post a link of (why???), which basically says “install xrdp, enable it and connect to it”.
lsof on the server shows that it listens and receives connections, but running xfreerdp fails:
$ /usr/bin/xfreerdp /v:10.0.0.102 /u:user /p:pwd
[17:27:44:788] [9800:9801] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0
[17:27:44:788] [9800:9801] [WARN][com.freerdp.crypto] - C = US, ST = CA, L = Sunnyvale, O = xrdp, CN = www.xrdp.org
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - @ WARNING: CERTIFICATE NAME MISMATCH! @
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - The hostname used for this connection (10.0.0.102:3389)
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - Common Name (CN):
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - www.xrdp.org
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.crypto] - certificate not trusted, aborting.
[17:27:44:788] [9800:9801] [ERROR][com.freerdp.core] - transport_connect_tls:freerdp_set_last_error_ex ERRCONNECT_TLS_CONNECT_FAILED [0x00020008]
So how do I set up such a thing? I mean I haven’t generated a certificate (how? where would I put it?) nor have I found a certificate that would check for the xrdp.org-host so I would circumvent it somehow.
I don’t know why it is working like this and not with the default line in this file. It seems that the argument is not well injected via a remote desktop session.
My latest issues :
I can’t add/remove program in a remote dekstop session or make an update. For exemple, in the “add/remore app”. It doesn’t ask me my password. Maybe I can control this in a config file ?
Oops, sorry that I wasn’t replying to you. This xrdp-thing wasn’t a high priority thing and I so I wasn’t really looking into it any more. In the meantime I also read about the xorgxrdp-package and wanted to try it today, but it requires xrdp 0.9.14 now and only 0.9.13 is listed in the repo. Oh, and yeah, xrdp is now outdated…
I guess I should rethink all of this and try VNC instead. I mean AUR is enough off the course for me and I surely don’t want to mess with git-releases of packages…
I’ll mark your answer as solution in good faith anyway