xrdp/sesman
Koichiro IWAO c50015122c
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.
2018-02-06 16:03:10 +09:00
..
chansrv devredir: fix xinode leak 2018-01-12 09:24:03 +09:00
libscp fix leak of SCP_DISCONNECTED_SESSION 2018-01-23 11:16:26 +09:00
tools Rename file_loc.h to xrdp_sockets.h, install it 2017-03-28 00:59:16 -07:00
access.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
access.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
auth.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
config.c sesman: refactor, change variable names 2018-01-11 10:57:47 +09:00
config.h sesman: refactor, change variable names 2018-01-11 10:57:47 +09:00
Doxyfile preparing sources to add new sesman control protocol 2006-05-26 13:10:14 +00:00
env.c Use g_create_path instead of g_create_dir 2017-07-14 20:52:38 +09:00
env.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Makefile.am sesman: search pam files also in ${sysconfdir}/pam.d 2017-07-26 11:34:01 +09:00
reconnectwm.sh sesman: install empty reconnectwm.sh as a template 2017-06-20 13:40:05 +09:00
scp_v0.c sesman: move auth/pam calls to main process 2017-03-21 21:56:28 -07:00
scp_v0.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
scp_v1_mng.c xrdp-sesadmin: fix error when there are no sessions 2017-07-06 13:40:25 +09:00
scp_v1_mng.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
scp_v1.c sesman: move auth/pam calls to main process 2017-03-21 21:56:28 -07:00
scp_v1.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
scp.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
scp.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
sesman.c fix indent 2018-01-09 14:09:13 +09:00
sesman.h Rename file_loc.h to xrdp_sockets.h, install it 2017-03-28 00:59:16 -07:00
sesman.ini sesman: bring Xorg at the top in sesman.ini 2017-12-16 00:27:06 +09:00
session.c FreeBSD: rework setsid code 2018-02-06 16:03:10 +09:00
session.h sesman: delete socket files when session exits 2017-09-13 09:04:58 +09:00
sig.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
sig.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
startwm.sh startwm.sh: do not call pseudo shell code for /etc/X11/xdm/Xsession 2017-05-09 16:26:38 +09:00
verify_user_bsd.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
verify_user_kerberos.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
verify_user_pam_userpass.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
verify_user_pam.c sesman: search pam files also in ${sysconfdir}/pam.d 2017-07-26 11:34:01 +09:00
verify_user.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
xauth.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
xauth.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00