summaryrefslogtreecommitdiffstats
path: root/sesman
Commit message (Collapse)AuthorAgeFilesLines
* Enhance logging for remote host checkHEADmasterTimothy Pearson2019-03-031-0/+2
|
* Don't try connecting to remote node if preliminary node allocation has ↵Timothy Pearson2019-03-031-10/+21
| | | | failed for any reason
* Fix non-root-user display server startup failureTimothy Pearson2019-03-021-1/+1
|
* Work around crash in clipboardTimothy Pearson2019-03-021-0/+6
|
* Disable chanserv logging by defaultTimothy Pearson2019-03-021-2/+5
|
* Add master node session recovery supportTimothy Pearson2019-03-023-9/+32
|
* Second batch of initial commits:Timothy Pearson2019-03-024-11/+182
| | | | | | | * Add server/group pamming * Partially fix immediate exit after login Still will not compile due to libraptorsmiface being too new
* Add preliminary Raptor session managementTimothy Pearson2019-03-025-5/+86
| | | | | Raptorsmiface pulled from latest old master, changelog merged down to single commit Due to the latest raptorsmiface code being used, this will not compile (yet)
* Fix build with FDK AAC v2Koichiro IWAO2018-11-281-0/+11
| | | | | Original fix provided by takefu. See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233556
* Remove x11rdp from configKoichiro IWAO2018-10-181-7/+0
| | | | | | | | | | as it is already deprecated. x11rdp is complicated to build and very few people using it actually. However, some people still select "X11rdp" session and get stuck despite not installing x11rdp. https://github.com/neutrinolabs/xrdp/issues/962#issuecomment-430545526 People who really want to use x11rdp should revert this commit.
* Merge pull request #1225 from savisko/develmetalefty2018-10-181-3/+12
|\ | | | | Fix crash of xrdp-chansrv process, issue #1202.
| * Fixed compilation warning in previous commit.Michael Savisko2018-10-111-3/+3
| |
| * Fix crash of xrdp-chansrv process, issue #1202.Michael Savisko2018-10-111-0/+9
| | | | | | | | In xfuse_create_file_in_xrdp_fs insure that xfuse_fs is properly initialized.
* | Merge pull request #1227 from metalefty/idle-discmetalefty2018-10-181-0/+6
|\ \ | | | | | | Ressurect IdleTimeLimit
| * | Sort & reword description of IdleTimeLimitKoichiro IWAO2018-10-161-7/+6
| | |
| * | docs: ressurect IdleTimeLimitKoichiro IWAO2018-10-101-0/+7
| |/ | | | | | | This reverts commit 513f7679966dc8bc1d86f328dce6372c763e2d93.
* / dynamic virtual channel improvementsjsorg712018-10-115-1153/+747
|/ | | | | | | | | remove not used chansrv <-> xrdp messages move static channel disable control into libxrdp remove some blocking read, write chansrv calls add drdynvc calls to libxrdp add drdynvc calls to chansrv channel cleanup
* show more helpful message if xrdp-dis failedKoichiro IWAO2018-09-111-0/+5
|
* sesman: add XRDP_ prefix to xrdp related environment variableKoichiro IWAO2018-09-041-2/+2
| | | | and remove CHANSRV, use the shorter name
* sesman: pass pulse socket name via environment variableKoichiro IWAO2018-09-041-0/+7
|
* chansrv: remove pulseaudio modules from xrdp source treeIdan Freiberg2018-08-038-1355/+0
| | | | | | | its actually an independent code which is not part of xrdp moved to its own repoistory: https://github.com/neutrinolabs/pulseaudio-modules Signed-off-by: Idan Freiberg <speidy@gmail.com>
* Merge branch 'wfix-pulsechansrv-makefile' into develKoichiro IWAO2018-08-031-1/+1
|\
| * Corrected spacing between arguments to `cc` for Pulseaudio chanserv MakefileBrandon Wooldridge2018-08-021-1/+1
| |
* | Add handler for fatal X server conditionsmatt3356722018-07-193-5/+37
|/ | | | | | Unless X server failures are caught, these can cause a premature exit of chansrv, giving it no chance to clean up. This is currently a particular problem for fuser mounts.
* sesman: add comments, no logic changeKoichiro IWAO2018-06-191-0/+2
|
* sesman: fix potential buffer over flowKoichiro IWAO2018-06-161-5/+7
|
* sesman: fix logging after default_wm changeKoichiro IWAO2018-06-161-1/+1
|
* docs: document configurable reconnect script pathKoichiro IWAO2018-06-161-0/+5
|
* sesman: make the path of reconnect script configurableKoichiro IWAO2018-06-164-4/+35
|
* sesman: accept full path for DefaultWindowManagerKoichiro IWAO2018-06-163-7/+22
| | | | | | | | | | Solves: #1143 Also, this idea is inspired by Fedora's patch [1]. Some distro wants to put all scripts in libexec directory due to SELinux. This enables distros to put such scripts anywhere. [1] https://src.fedoraproject.org/cgit/rpms/xrdp.git/tree/xrdp-0.9.6-scripts-libexec.patch?id=02f845c1b8cea781313cf3e9efcd6d7d50341824
* Merge pull request #1146 from metalefty/sesman-leakIdan Freiberg2018-06-141-0/+1
|\ | | | | sesman: fix leak in struct config_sesman
| * sesman: fix leak in struct config_sesmanKoichiro IWAO2018-06-131-0/+1
| |
* | Merge pull request #1120 from matt335672/set-env-on-reconnectmetalefty2018-06-143-5/+6
|\ \ | | | | | | Copy the PAM session environment for the reconnect script
| * | Copy the PAM session environment for the reconnect scriptmatt3356722018-05-313-5/+6
| |/ | | | | | | | | This provides access to variables set at login which may be required by the script (e.g. KRB5CCNAME)
* | sesman: close stdout/stderr earlierKoichiro IWAO2018-06-051-4/+9
| | | | | | | | not to spit on the console
* | sesman: don't spit on the console when startingKoichiro IWAO2018-06-051-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | As the Debian patch[1] expresses, spitting messages on the console when a process starts in background is a bad idea. Everything should be written to log file and daemon should start silently. This is a first step to shut up daemons. Got some idea from Debian Remote Maintainers and Thorsten Glaser, thanks! [1] https://salsa.debian.org/debian-remote-team/xrdp/blob/2751ad4d62b1f63dbc2e4b8fa1580fa54b0f5460/debian/patches/shutup-daemon.diff
* | sesman: don't print config in reader functionKoichiro IWAO2018-06-052-74/+112
| | | | | | | | | | reader function should just read. Add config_dump function to print read config.
* | sesman: s/XOrg/Xorg/g, no logic changeKoichiro IWAO2018-06-052-4/+4
| | | | | | | | X.Org is usually spelled X.Org or Xorg.
* | sesman: config_read_logging function no longer existsKoichiro IWAO2018-06-052-17/+0
|/
* Merge pull request #1108 from aiden0z/develmetalefty2018-04-221-3/+6
|\ | | | | sesrun support start other session based on session_code argument
| * sesrun support start other session based on session_code argumentAiden Luo2018-04-201-3/+6
| |
* | sesman: Update Xorg help comment for Arch LinuxKoichiro IWAO2018-04-191-1/+1
|/ | | | As reported in #1106, Arch Linux looks to me like using Xorg wrapper now.
* sesman: rename vnc password file, just a cosmetic changeKoichiro IWAO2018-03-231-5/+5
|
* sesman: add hostname to vnc password fileJay Sorg2018-03-231-8/+17
|
* Revert "devredir: fix xinode leak"Koichiro IWAO2018-03-231-2/+0
| | | | | | | | | | | | | | | | | This reverts commit 5daa09171e1e6e65a1a3ab969775fdf8affffc37. Causes "double free". Fix #990 was not correct. ``` [1271363627]: DEV_REDIR dev_redir_proc_device_iocompletion: 738 : entered: IoStatus=0x0 CompletionId=1 [1271363627]: DEV_REDIR dev_redir_proc_device_iocompletion: 839 : got CID_DIRECTORY_CONTROL [1271363627]: DEV_REDIR dev_redir_proc_query_dir_response: 933 : processing FILE_DIRECTORY_INFORMATION structs [1271363627]: DEV_REDIR dev_redir_proc_query_dir_response: 968 : FileName: . [1271363627]: DEV_REDIR devredir_fuse_data_peek: 1335 : returning 0x7f2a9c013410 *** Error in `/usr/sbin/xrdp-chansrv': double free or corruption (out): 0x00007f2a9c13a330 *** ``` Closes: #1025
* sesman: default startwm.sh should use bashKoichiro IWAO2018-03-091-1/+8
| | | | | as it sources bash_profile. And add comments. Closes #1009.
* Make sesman.ini dynamic for the location of the configuration fileVraiment2018-02-192-1/+12
|
* FreeBSD: rework setsid codeKoichiro IWAO2018-02-061-11/+29
| | | | | | | | | | | | | | | | | | | | | 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.
* fix leak of SCP_DISCONNECTED_SESSIONKoichiro IWAO2018-01-232-0/+12
| | | | Pointed out by: #919
* devredir: fix xinode leakKoichiro IWAO2018-01-121-0/+2
| | | | Pointed out by: #919