Public bug reported:

This concerns xrdp 0.9.17-2ubuntu2 in Ubuntu jammy.

I want to have xrdp listen on a localhost port. When I configure the
server to use

    [Globals]
    ...
    port=tcp://.:3389

in /etc/xrdp/xrdp.ini, and I attempt to start the server, I get an
error:

    # /etc/init.d/xrdp start
    Starting xrdp (via systemctl): xrdp.serviceJob for xrdp.service failed 
because the control 
    process exited with error code.
    See "systemctl status xrdp.service" and "journalctl -xeu xrdp.service" for 
details.
     failed!

In /var/log/xrdp.log, I see

    [20220323-05:02:00] [INFO ] address [127.0.0.1] port [3389] mode 4
    [20220323-05:02:00] [INFO ] listening to port 3389 on 127.0.0.1
    [20220323-05:02:00] [ERROR] trans_listen_address failed
    [20220323-05:02:00] [ERROR] Failed to start xrdp daemon, possibly address 
already in use.

The port is free. Nothing is using it:

    $ telnet localhost 3389
    Trying ::1...
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused

I tried building the latest upstream release of xrdp (v0.9.19 as of this
writing) with the same build configuration as the Ubuntu package. It
starts without error.

Please update the package to v0.9.19.

** Affects: xrdp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966048

Title:
  xrdp fails to bind to localhost

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xrdp/+bug/1966048/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to