I'm trying to control my Kali Linux laptop via an Ubuntu machine using xrdp, but I'm getting the following error:
└─$ sudo service xrdp status
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-01-09 23:58:32 EAT; 2min 11s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 317865 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
Process: 317874 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 317883 (xrdp)
Tasks: 3 (limit: 9302)
Memory: 10.4M
CPU: 956ms
CGroup: /system.slice/xrdp.service
├─317883 /usr/sbin/xrdp
└─317910 /usr/sbin/xrdp
Jan 09 23:59:49 0000 xrdp[317910]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
Jan 09 23:59:49 0000 xrdp[317910]: [INFO ] started connecting
Jan 09 23:59:49 0000 xrdp[317910]: [INFO ] lib_mod_connect: connecting via UNIX socket
Jan 10 00:00:10 0000 xrdp[317910]: [INFO ] lib_mod_log_peer: xrdp_pid=317910 connected to X11rdp_pid=318580 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:1>
Jan 10 00:00:10 0000 xrdp[317910]: [INFO ] connected ok
Jan 10 00:00:14 0000 xrdp[317910]: [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
Jan 10 00:00:18 0000 xrdp[317910]: [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
Jan 10 00:00:22 0000 xrdp[317910]: [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
Jan 10 00:00:26 0000 xrdp[317910]: [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
Jan 10 00:00:26 0000 xrdp[317910]: [ERROR] xrdp_mm_chansrv_connect: error in trans_connect chan
lines 1-25/25 (END)