How to Configure xrdp/xfreerdp?

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: /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 =
[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 (
[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] -
[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 so I would circumvent it somehow.

If I ignore the certificate like so:

$ /usr/bin/xfreerdp /v: /u:user /p:pwd /cert:ignore

I get this pop-up inside the window (why can’t I post images???):

connecting to sesman ip port 3350
sesman connect ok
sending login info to session manager, please wait...
login failed for display 0

What now?

Both machines have the latest stable Manjaro installed with XFCE.

Guide: wiki-dot-archlinux-dot-org/index.php/Xrdp