FreeBSD: rework setsid code
Pull request #650 is not valid to avoid run session twice. It certainly stops running session twice but causes #1016. In FreeBSD, sesman process will run like this. The intermediate sesman is needed to detect session termination correctly. xrdp-sesman (daemon) | +- xrdp-sesman (FreeBSD specific intermediate sesman) | +- xrdp-sesman (bsd sesion leader & each session) | +- Xorg +- startwm.sh +- xrdp-chansrv To stop runninng session twice correctly, just exit before the intermediate sesman executes Xorg, WM and chansrv.master
parent
4cee6726f8
commit
c50015122c
Loading…
Reference in New Issue