Comment 3 for bug 2031538

Revision history for this message
John Rose (johnaaronrose) wrote :

Used the webpage at https://orcacore.com/install-configure-xrdp-ubuntu-22-04/. xrdp got further but it fails with:
john@Demonstrator:~$ sudo systemctl restart xrdp
Job for xrdp.service failed because the control process exited with error code.
See "systemctl status xrdp.service" and "journalctl -xeu xrdp.service" for details.
john@Demonstrator:~$ sudo systemctl status xrdp
× xrdp.service - xrdp daemon
     Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2023-08-23 12:25:56 BST; 7s ago
       Docs: man:xrdp(8)
             man:xrdp.ini(5)
    Process: 1334827 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
    Process: 1334835 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=1/FAILURE)
        CPU: 17ms

Aug 23 12:25:56 Demonstrator systemd[1]: Starting xrdp daemon...
Aug 23 12:25:56 Demonstrator xrdp[1334835]: [INFO ] address [0.0.0.0] port [3389] mode 1
Aug 23 12:25:56 Demonstrator xrdp[1334835]: [INFO ] listening to port 3389 on 0.0.0.0
Aug 23 12:25:56 Demonstrator xrdp[1334835]: [ERROR] g_tcp_bind(7, 3389) failed bind IPv6 (errno=98) and IPv4 (err>
Aug 23 12:25:56 Demonstrator xrdp[1334835]: [ERROR] trans_listen_address failed
Aug 23 12:25:56 Demonstrator xrdp[1334835]: [ERROR] Failed to start xrdp daemon, possibly address already in use.
Aug 23 12:25:56 Demonstrator systemd[1]: xrdp.service: Control process exited, code=exited, status=1/FAILURE
Aug 23 12:25:56 Demonstrator systemd[1]: xrdp.service: Failed with result 'exit-code'.
Aug 23 12:25:56 Demonstrator systemd[1]: Failed to start xrdp daemon.
lines 1-18/18 (END)