Comment 20 for bug 1817225

Revision history for this message
Ron Widell (r-widell) wrote :

It also affects Kubuntu 18.04.2

cat /etc/issue
Ubuntu 18.04.2 LTS \n \l

I moved /var/log/xrdp.log and /var/log/xrdp-sesman.log to a different location so they'd be smaller and easier to parse by booting a live system, then restarted this system.

Unfortunately, this time the xrdp daemon failed to start.

# systemctl status xrdp.service
● xrdp.service - xrdp daemon
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-03-20 23:00:28 CDT; 8min ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
  Process: 1668 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=1/FAILURE)
  Process: 1651 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)

Mar 20 23:00:28 birdie systemd[1]: Starting xrdp daemon...
Mar 20 23:00:28 birdie systemd[1]: xrdp.service: Control process exited, code=exited status=1
Mar 20 23:00:28 birdie systemd[1]: xrdp.service: Failed with result 'exit-code'.
Mar 20 23:00:28 birdie systemd[1]: Failed to start xrdp daemon.

No sense trying to make a connection, and no xrdp.log was created. xrdp-sesman.log is pretty sparse:

# cat /var/log/xrdp-sesman.log
[20190320-22:55:28] [DEBUG] libscp initialized
[20190320-22:55:28] [DEBUG] Testing if xrdp-sesman can listen on 127.0.0.1 port 3350.
[20190320-22:55:28] [INFO ] starting xrdp-sesman with pid 1476
[20190320-22:55:29] [DEBUG] Closed socket 5 (AF_INET6 ::1 port 3350)
[20190320-22:55:29] [INFO ] listening to port 3350 on 127.0.0.1
[20190320-22:55:30] [INFO ] shutting down sesman 1
[20190320-22:55:30] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20190320-23:00:27] [DEBUG] libscp initialized
[20190320-23:00:27] [DEBUG] Testing if xrdp-sesman can listen on 127.0.0.1 port 3350.
[20190320-23:00:27] [INFO ] starting xrdp-sesman with pid 1612
[20190320-23:00:27] [DEBUG] Closed socket 5 (AF_INET6 ::1 port 3350)
[20190320-23:00:28] [INFO ] listening to port 3350 on 127.0.0.1
[20190320-23:00:28] [INFO ] shutting down sesman 1
[20190320-23:00:28] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)

I'll also attach the logs from when the daemon would start but the attempted connections (from a Windows 7 machine and an openSUSE machine using Krdc) consistently failed.