summaryrefslogtreecommitdiffstats
path: root/sesman
Commit message (Collapse)AuthorAgeFilesLines
* Simplify pulseaudio module build instructionsDominik George2017-12-261-33/+5
|
* pulse: replace old pulse notes with bran-new READMEKoichiro IWAO2017-12-263-156/+145
|
* Fix memory corruption introduced by CVE-2017-16927 fix.Dominik George2017-12-211-8/+8
|
* sesman: bring Xorg at the top in sesman.iniKoichiro IWAO2017-12-161-15/+19
| | | | as Xorg prefered recommended backend now. Add more comments.
* sesman: comment on non-suid Xorg in sesman.iniKoichiro IWAO2017-12-161-0/+10
| | | | Pointed out by: #923
* sesman: scpv0, accept variable length data fieldsspeidy2017-11-281-7/+25
|
* chansrv: add LOG_LEVEL_TRACE here, tooKoichiro IWAO2017-11-121-1/+2
|
* sound: g_bbuf_size should be determined after codec is determinedKoichiro IWAO2017-11-081-3/+3
| | | | | Fixes #910, if both client and server support more than one codecs, g_bbuf_size might be set to wrong value.
* sesman: delete socket files when session exitsKoichiro IWAO2017-09-132-0/+70
|
* chansrv: sound, fdk-aac, avoid 1 item array itemsJay Sorg2017-08-041-29/+34
|
* use pkg-config to configure with fdk-aacJay Sorg2017-08-041-2/+2
|
* chansrv: sound, remove a do not know and a commentJay Sorg2017-08-041-1/+0
|
* chansrv: sound, use WAVE_FORMAT_AAC not WAVE_FORMAT_AAC_MSJay Sorg2017-08-041-2/+2
|
* chansrv: sound, add aacJay Sorg2017-08-042-2/+246
|
* chansrv: sound, handle skips in audio acksJay Sorg2017-08-041-5/+30
|
* xfuse_create_share() called before xfuse_init()matt3356722017-08-031-0/+12
| | | | | * Initialise inode table in `xfuse_create_share()` if necessary * Add guard to `xfuse_init_xrdp_fs()` to prevent double initialisation of the inode table
* sesman: search pam files also in ${sysconfdir}/pam.dKoichiro IWAO2017-07-262-1/+3
| | | | | | | as some operating system such as FreeBSD searches not only `/etc/pam.d` but also `/usr/local/etc/pam.d` [1]. [1] https://www.freebsd.org/cgi/man.cgi?query=pam.d&sektion=5
* chansrv: remove trailing spaceKoichiro IWAO2017-07-251-2/+2
|
* chansrv: use switch-case to support more codecsKoichiro IWAO2017-07-251-12/+13
|
* chansrv: constify wFormatTagKoichiro IWAO2017-07-251-15/+16
|
* Use g_create_path instead of g_create_dirIan Geiser2017-07-142-3/+3
| | | | Rename g_mk_temp_dir to g_mk_socket_path
* fix typoKoichiro IWAO2017-07-131-1/+1
|
* sesman: make sure socket directory presentKoichiro IWAO2017-07-131-0/+3
| | | | | before try to create a domain socket. Originally proposed by Ian Geiser (geiseri).
* sesman: move auth_start_session, auth_stop_session, and auth_end to child ↵Jay Sorg2017-07-121-3/+7
| | | | process
* xrdp-sesadmin: fix error when there are no sessionsBen Cohen2017-07-062-12/+13
| | | | | | | | | | | | | | | | | | Test case: On a system running xrdp with no sessions running run: xrdp-sesadmin -u=<user> -p=<password> -c=list Expected result: "No sessions." (ignoring debug output) Observed result: "Error getting session list." In the SCP_SERVER_STATE_MNG_LISTREQ case in scp_v1_mng_process() if there are no sessions it ends the scp session, which causes an error in the client. In commit 0017081d the client was changed to report errors, giving the result above. Fix by calling scp_v1s_mng_list_sessions() from scp_v1_mng_process() even when there are no sessions, and if so sending a packet with a count of zero so that the client gets what it expects.
* chansrv: include display number in chansrv log filenameKoichiro IWAO2017-07-061-5/+5
| | | | | since xrdp-chansrv may be run multiple instances per user. For example, Xvnc backend creates one session per screen geometry.
* sesman: exit with failure status if listen failedKoichiro IWAO2017-06-201-3/+55
|
* sesman: install empty reconnectwm.sh as a templateKoichiro IWAO2017-06-202-1/+5
| | | | | | as it was undocumented and few people know reconnectwm.sh is executed on client reconnect. The behaviour of startwm.sh / reconnectwm.sh should be documented. This is a first step of documenting them.
* pulse: respect XRDP_SOCKET_PATH environment variableKoichiro IWAO2017-05-163-6/+18
|
* sesman: pass xrdp socket path to user sessionKoichiro IWAO2017-05-161-0/+2
| | | | via environment variable.
* startwm.sh: do not call pseudo shell code for /etc/X11/xdm/XsessionFuminobu TAKEYAMA2017-05-091-31/+37
| | | | | | Since /etc/X11/xdm/Xsession calls user's login shell, startwm.sh should not execute the pseudo code; It causes to execute ~/.profile twice.
* pulse: define default socket directory in MakefileKoichiro IWAO2017-04-061-1/+4
|
* sesman: LOGNAME should be set to usernameKoichiro IWAO2017-04-061-0/+1
| | | | | | | | | | | which is used to store login name. The login name shall be the string that would be returned by the getlogin() function [1]. Some applications only refers LOGNAME environment variable and don't fallback to other variables such as USER. Fixes #725. Reported by @seidler2547. [1] The Single UNIX Specification, Issue 7
* Rename file_loc.h to xrdp_sockets.h, install itPavel Roskin2017-03-287-6/+6
| | | | Include xrdp_sockets.h directly, not through headers.
* pulse: refer correct path to file_loc.hKoichiro IWAO2017-03-242-2/+2
|
* pulse: use correct macro for audio in/out socketsKoichiro IWAO2017-03-242-2/+2
|
* sesman: move auth/pam calls to main processJay Sorg2017-03-213-9/+26
|
* xrdp-chansrv: default to INFO log level rather than ERRORPavel Roskin2017-03-201-1/+1
|
* sesman: remove sessvc, one less process to manageJay Sorg2017-03-197-334/+136
|
* Make socket directory configurable, don't hardcode /tmp/.xrdpPavel Roskin2017-03-177-3/+9
| | | | | | | | | | Use XRDP_SOCKET_PATH in file_loc.h Don't define any non-socket paths in file_loc.h, they should come from the makefiles. Define all paths unconditionally, they should not be defined elsewhere. Pass XRDP_SOCKET_PATH as environment variable to the backends.
* Remove chansrv_cleanup(), it doesn't do anything usefulPavel Roskin2017-03-171-25/+0
| | | | | | | | | | | | | xrdp_chansrv_%8.8x_main_term and xrdp_chansrv_%8.8x_thread_done are both wait objects, not sockets. They are created and cleaned up in chansrv.c Wait objects are pairs of file descriptors on POSIX. They are closed automatically when the process exits. On Windows, wait objects are handles that are closed by CloseHandle(). Those handles should also be closed on the process exit. In any case, there is no way for a parent process to clean up file handles of the child process.
* chansrv: dvc, check channel exists on get/remove api structspeidy2017-03-161-2/+4
|
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-1460-572/+572
|
* Don't include config_ac.h from any header filesPavel Roskin2017-03-042-7/+0
|
* Include config_ac.h from all source filesPavel Roskin2017-03-0447-0/+188
|
* Remove trailing whitespacePavel Roskin2017-02-081-1/+1
|
* chansrv: fix warnings in pulse moduleKoichiro IWAO2017-02-021-4/+4
|
* xrdp-sesadmin: show sessions in human readable formatPavel Roskin2017-02-021-7/+15
|
* xrdp-sesadmin: refactor array accessPavel Roskin2017-02-021-4/+7
|
* xrdp-sesadmin: fix crash on network or authentication errorPavel Roskin2017-02-021-5/+8
| | | | | | | | If scp_v1c_mng_get_session_list() returns an error, report it to the user and exit. Session list is not initialized in that case and should not be freed. g_free() already checks its argument for being to NULL, remove an extra check.