Comment 5 for bug 2029912

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

I've just tried the changes outlined at https://pimylifeup.com/ubuntu-xrdp/

After stopping the xrdp service & starting the service again it failed to start properly, its status is:
× xrdp.service - xrdp daemon
     Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-08-25 11:43:52 BST; 16s ago
       Docs: man:xrdp(8)
             man:xrdp.ini(5)
    Process: 1601088 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
    Process: 1601096 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=1/FAILURE)
        CPU: 17ms

Aug 25 11:43:52 Demonstrator systemd[1]: Starting xrdp daemon...
Aug 25 11:43:52 Demonstrator xrdp[1601096]: [INFO ] address [0.0.0.0] port [3389] mode 1
Aug 25 11:43:52 Demonstrator xrdp[1601096]: [INFO ] listening to port 3389 on 0.0.0.0
Aug 25 11:43:52 Demonstrator xrdp[1601096]: [ERROR] g_tcp_bind(7, 3389) failed bind IPv6 (errno=98) an>
Aug 25 11:43:52 Demonstrator xrdp[1601096]: [ERROR] trans_listen_address failed
Aug 25 11:43:52 Demonstrator xrdp[1601096]: [ERROR] Failed to start xrdp daemon, possibly address alre>
Aug 25 11:43:52 Demonstrator systemd[1]: xrdp.service: Control process exited, code=exited, status=1/F>
Aug 25 11:43:52 Demonstrator systemd[1]: xrdp.service: Failed with result 'exit-code'.
Aug 25 11:43:52 Demonstrator systemd[1]: Failed to start xrdp daemon.