Results 1 to 2 of 2

Thread: Fail to run xrdp, controlling a kali linux device from an ubuntu device

  1. #1
    Join Date
    2023-May
    Posts
    3

    Fail to run xrdp, controlling a kali linux device from an ubuntu device

    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)

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    780
    This;
    client_ip=::ffff:1

    tells me that XRDP is trying to use IPv6 have you an IPv6 set up on your network?

    I suspect your local machines are connected over IPv4 on your home network, so you need to set up XRDP to use this instead..
    Have a look at the command line manual as it suggested..

    man xrdp

Similar Threads

  1. Wsl2 Kali Linux Kex no mic device
    By Daniel_kaly in forum General Archive
    Replies: 0
    Last Post: 2021-04-17, 23:14
  2. Replies: 0
    Last Post: 2020-02-25, 17:38
  3. boot kali linux from usb device on pi 3
    By dlthompson in forum ARM Archive
    Replies: 0
    Last Post: 2017-06-18, 23:41

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •