<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I installed Debian Server (Jessie) and proceeded to install XRDP for remote access to the Server from the instructions posted from <a href="https://scarygliders.net/x11rdp-o-matic-information/">https://scarygliders.net/x11rdp-o-matic-information/</a><br><br></div>Once completed, the service did not start and, upon verification, I discovered an error, which was corrected from instructions found here: <a href="http://c-nergy.be/blog/?p=8316">http://c-nergy.be/blog/?p=8316</a> . The error related to Environment from the XRDP.Service and XRDP-sessman.service from /lib/systemd/system.   I Rebooted the Server and upon completion, I tried to connect to it from my Windows 10 PC and was able to connect briefly with a black screen.  The connection lasted less than one minute and closed.  <br><br></div>I logged on to the Server locally and ran sudo systemctl status xrdp -l  from root.<br></div>The report is listed below.  Would you please let me know how to correct this issue?<br><div><div>-----------------------------------------------------<br>root@DB01:/home/js# sudo systemctl status xrdp -l<br>● xrdp.service - LSB: Start xrdp and sesman daemons<br>   Loaded: loaded (/etc/init.d/xrdp)<br>   Active: active (running) since Fri 2016-12-09 14:58:12 EST; 30min ago<br>  Process: 487 ExecStart=/etc/init.d/xrdp start (code=exited, status=0/SUCCESS)<br>   CGroup: /system.slice/xrdp.service<br>           ├─ 547 /usr/sbin/xrdp<br>           ├─ 549 /usr/sbin/xrdp-sesman<br>           ├─1893 /usr/sbin/xrdp-sessvc 1895 1894<br>           ├─1895 X11rdp :10 -geometry 800x600 -depth 24 -bs -ac -nolisten tcp -uds<br>           └─1926 xrdp-chansrv<br><br>Dec 09 15:27:07 DB01 XRDP-sesman[549]: (549)(140124678715136)[INFO ] ++ reconnected session: username js, display :10.0, session_pid 1893, ip <a href="http://127.0.0.1:33007">127.0.0.1:33007</a> - socket: 8<br>Dec 09 15:27:07 DB01 XRDP-sesman[549]: (549)(140124678715136)[INFO ] An established connection closed to endpoint: <a href="http://127.0.0.1:53825">127.0.0.1:53825</a> - socket: 8<br>Dec 09 15:27:07 DB01 XRDP[2031]: (2031)(140038328985344)[INFO ] lib_mod_log_peer: xrdp_pid=2031 connected to X11rdp_pid=1895 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=127.0.0.1 client_port=33007<br>Dec 09 15:27:07 DB01 XRDP[2031]: (2031)(140038328985344)[DEBUG] xrdp_mm_connect_chansrv: chansrvconnect successful<br>Dec 09 15:27:07 DB01 XRDP[2031]: (2031)(140038328985344)[INFO ] An established connection closed to endpoint: <a href="http://127.0.0.1:3350">127.0.0.1:3350</a> - socket: 11                                                       <br>Dec 09 15:27:19 DB01 XRDP[2031]: (2031)(140038328985344)[INFO ] An established connection closed to endpoint: <a href="http://127.0.0.1:33007">127.0.0.1:33007</a> - socket: 8                                                       <br>Dec 09 15:27:19 DB01 XRDP[2031]: (2031)(140038328985344)[DEBUG] xrdp_mm_module_cleanup                                                                                                          <br>Dec 09 15:27:19 DB01 XRDP[2031]: (2031)(140038328985344)[INFO ] An established connection closed to endpoint: <a href="http://109.112.47.46:12148">109.112.47.46:12148</a> - socket: 12                                                  <br>Dec 09 15:27:19 DB01 XRDP[2031]: (2031)(140038328985344)[INFO ] An established connection closed to endpoint: <a href="http://109.112.47.46:12148">109.112.47.46:12148</a> - socket: 13                                                  <br>Dec 09 15:27:19 DB01 XRDP[2031]: (2031)(140038328985344)[ERROR] Listening socket is in wrong state we terminate listener     <br>-------------------------------------------------------<br><br><br><br clear="all"><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Johnny Sandaire Photography</div><div>----------------------------------------------------------</div><div>Dr. Johnny Sandaire DCS, PMP</div><div><a target="_blank" href="http://www.webzest.com">http://www.webzest.com</a></div><div><a target="_blank" href="http://www.JohnnySandaire.com">h</a>ttp://<a target="_blank" href="http://www.johnnysandaire.com">www.johnnysandaire.com</a></div></div></div></div></div></div>
</div></div></div></div></div></div>