Package: xrdp Version: 0.9.0~20160601+git703fedd-2 richard@deodand:~$ really apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: gnome-icon-theme-symbolic libgtkglext1 libjasper1 libkadm5clnt-mit9 libkadm5srv-mit9 libopenjpeg5 libsodium18 libunique-1.0-0 Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up xrdp (0.9.0~20160601+git703fedd-2) ... Job for xrdp.service failed because the control process exited with error code. See "systemctl status xrdp.service" and "journalctl -xe" for details. invoke-rc.d: initscript xrdp, action "start" failed. dpkg: error processing package xrdp (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.22-13) ... Errors were encountered while processing: xrdp E: Sub-process /usr/bin/dpkg returned an error code (1) richard@deodand:~$ systemctl status xrdp.service|cat ● xrdp.service - xrdp (X Remote Desktop Protocol) protocol server Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2016-06-28 18:11:48 BST; 20s ago Docs: man:xrdp(8) man:xrdp.ini(5) Process: 2466 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=1/FAILURE)
Jun 28 18:11:48 deodand systemd[1]: Starting xrdp (X Remote Desktop Protocol) protocol server... Jun 28 18:11:48 deodand systemd[1]: xrdp.service: Control process exited, code=exited status=1 Jun 28 18:11:48 deodand systemd[1]: Failed to start xrdp (X Remote Desktop Protocol) protocol server. Jun 28 18:11:48 deodand systemd[1]: xrdp.service: Unit entered failed state. Jun 28 18:11:48 deodand systemd[1]: xrdp.service: Failed with result 'exit-code'. richard@deodand:~$ journalctl -xe|cat [...] Jun 28 18:11:48 deodand systemd[1]: Starting xrdp (X Remote Desktop Protocol) protocol server... -- Subject: Unit xrdp.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit xrdp.service has begun starting up. Jun 28 18:11:48 deodand sh[2466]: E: /var/run/xrdp has wrong permissions Jun 28 18:11:48 deodand systemd[1]: xrdp.service: Control process exited, code=exited status=1 Jun 28 18:11:48 deodand systemd[1]: Failed to start xrdp (X Remote Desktop Protocol) protocol server. -- Subject: Unit xrdp.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit xrdp.service has failed. -- -- The result is failed. Jun 28 18:11:48 deodand systemd[1]: xrdp.service: Unit entered failed state. Jun 28 18:11:48 deodand systemd[1]: xrdp.service: Failed with result 'exit-code'. richard@deodand:~$ ls -ld /var/run/xrdp/ drwxr-xr-x 2 xrdp xrdp 40 Jun 6 19:28 /var/run/xrdp/ ttfn/rjk