Can Someone be kind and help me getting xrdp to work?

Version of Manjaro Linux I am using
cat /etc/os-release

NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux

Here is the status and clearly there is something I am missing and I have no clue as to how to come up with a fix.

systemctl status xrdp
  xrdp.service - xrdp daemon
     Loaded: loaded (/usr/lib/systemd/system/xrdp.service; disabled; preset: disabled)
     Active: active (running) since Tue 2025-02-11 11:34:53 EST; 10min ago
 Invocation: 2bc45e9540754e5dbccb7ef5368923a9
       Docs: man:xrdp(8)
             man:xrdp.ini(5)
   Main PID: 231281 (xrdp)
      Tasks: 1 (limit: 19023)
     Memory: 1.3M (peak: 36.9M)
        CPU: 346ms
     CGroup: /system.slice/xrdp.service
             └─231281 /usr/bin/xrdp --nodaemon

Feb 11 11:45:13 XXXX-XXXX xrdp[239589]: x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
Feb 11 11:45:13 XXXX=XXXX xrdp[239589]: x264 [info]: profile Constrained Baseline, level 4.2, 4:2:0, 8-bit
Feb 11 11:45:13 XXXX=XXXX xrdp[239589]: [INFO ] xrdp_encoder_x264_encode: x264_encoder_open rv 0x7a1aa0307640 for width 1920 height 1080
Feb 11 11:45:13 XXXX=XXXX xrdp[239589]: [ERROR] Xorg server closed connection
Feb 11 11:45:13 XXXX=XXXX xrdp[239589]: x264 [info]: frame I:1     Avg QP:20.00  size:  6841
Feb 11 11:45:13 XXXX-XXXX xrdp[239589]: x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
Feb 11 11:45:13 XXXX-XXXX xrdp[239589]: x264 [info]: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
Feb 11 11:45:13 XXXX-XXXX xrdp[239589]: x264 [info]: i16 v,h,dc,p: 99%  0%  1%  0%
Feb 11 11:45:13 XXXX-XXXX xrdp[239589]: x264 [info]: i8c dc,h,v,p: 99%  1%  0%  0%
Feb 11 11:45:13 XXXX-XXXX xrdp[239589]: x264 [info]: kb/s:3283.68

I would really appreciated if someone can help me stop Xorg from closing the connection when I try to connect from windows using remote desktop client.
thanks in advance

What seems to be the problem?

You did not post anything that you have done so far, nor anything about your machine or desktop environment.

Xrdp - ArchWiki

… no, I cannot help beyond what is in the Wiki



a few minutes later …:

What you are missing is on the third line - the service is not running, it is not started, it is still disabled, it is not enabled.

In future, please write after the Support template so that others can actually see your content. :wink:

Additionally, the Manjaro forum has certain presentational guidelines for code or command output. The links in the following paragraphs will lead to that information and more.

I have corrected your formatting this time. In future you are expected to do this yourself.

Regards


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit:

Update Announcements

The Update Announcements contain update related information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

Output of this command (formatted according to forum requirements) may be useful for those wishing to help:

inxi --filter --verbosity 8

or the short form:

inxi -zv8

Be prepared to provide more information and outputs from other commands when asked.

Required Reading
Resources

Please see → Remote Desktop between 2 Manjaro Machines - #12 by linux-aarhus

ok Mr.