When using docker-compose up an anonymous volume is created. If a session is open and the container is terminated, the pidfile for xrdp-sesman is not removed. When the container is restarted, and the same volume is used, xrdp-sesman will fail to start because of the pidfile. This prevents connections to the xrdp server.
This patch will simply remove the pidfile if it exists prior to launching the xrdp-sesman
Super happy to contribute. Thank you so much for your work on this. Your project opened my eyes to this even being possible (docker/xrdp/wine) and catapulted me over a lot of the hard parts. Great stuff man!
When using
docker-compose up
an anonymous volume is created. If a session is open and the container is terminated, the pidfile forxrdp-sesman
is not removed. When the container is restarted, and the same volume is used,xrdp-sesman
will fail to start because of the pidfile. This prevents connections to the xrdp server.This patch will simply remove the pidfile if it exists prior to launching the xrdp-sesman