Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify pulseaudio module build instructions | Dominik George | 2017-12-26 | 1 | -33/+5 |
| | |||||
* | pulse: replace old pulse notes with bran-new README | Koichiro IWAO | 2017-12-26 | 3 | -156/+145 |
| | |||||
* | Fix memory corruption introduced by CVE-2017-16927 fix. | Dominik George | 2017-12-21 | 1 | -8/+8 |
| | |||||
* | sesman: bring Xorg at the top in sesman.ini | Koichiro IWAO | 2017-12-16 | 1 | -15/+19 |
| | | | | as Xorg prefered recommended backend now. Add more comments. | ||||
* | sesman: comment on non-suid Xorg in sesman.ini | Koichiro IWAO | 2017-12-16 | 1 | -0/+10 |
| | | | | Pointed out by: #923 | ||||
* | sesman: scpv0, accept variable length data fields | speidy | 2017-11-28 | 1 | -7/+25 |
| | |||||
* | chansrv: add LOG_LEVEL_TRACE here, too | Koichiro IWAO | 2017-11-12 | 1 | -1/+2 |
| | |||||
* | sound: g_bbuf_size should be determined after codec is determined | Koichiro IWAO | 2017-11-08 | 1 | -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 exits | Koichiro IWAO | 2017-09-13 | 2 | -0/+70 |
| | |||||
* | chansrv: sound, fdk-aac, avoid 1 item array items | Jay Sorg | 2017-08-04 | 1 | -29/+34 |
| | |||||
* | use pkg-config to configure with fdk-aac | Jay Sorg | 2017-08-04 | 1 | -2/+2 |
| | |||||
* | chansrv: sound, remove a do not know and a comment | Jay Sorg | 2017-08-04 | 1 | -1/+0 |
| | |||||
* | chansrv: sound, use WAVE_FORMAT_AAC not WAVE_FORMAT_AAC_MS | Jay Sorg | 2017-08-04 | 1 | -2/+2 |
| | |||||
* | chansrv: sound, add aac | Jay Sorg | 2017-08-04 | 2 | -2/+246 |
| | |||||
* | chansrv: sound, handle skips in audio acks | Jay Sorg | 2017-08-04 | 1 | -5/+30 |
| | |||||
* | xfuse_create_share() called before xfuse_init() | matt335672 | 2017-08-03 | 1 | -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.d | Koichiro IWAO | 2017-07-26 | 2 | -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 space | Koichiro IWAO | 2017-07-25 | 1 | -2/+2 |
| | |||||
* | chansrv: use switch-case to support more codecs | Koichiro IWAO | 2017-07-25 | 1 | -12/+13 |
| | |||||
* | chansrv: constify wFormatTag | Koichiro IWAO | 2017-07-25 | 1 | -15/+16 |
| | |||||
* | Use g_create_path instead of g_create_dir | Ian Geiser | 2017-07-14 | 2 | -3/+3 |
| | | | | Rename g_mk_temp_dir to g_mk_socket_path | ||||
* | fix typo | Koichiro IWAO | 2017-07-13 | 1 | -1/+1 |
| | |||||
* | sesman: make sure socket directory present | Koichiro IWAO | 2017-07-13 | 1 | -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 Sorg | 2017-07-12 | 1 | -3/+7 |
| | | | | process | ||||
* | xrdp-sesadmin: fix error when there are no sessions | Ben Cohen | 2017-07-06 | 2 | -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 filename | Koichiro IWAO | 2017-07-06 | 1 | -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 failed | Koichiro IWAO | 2017-06-20 | 1 | -3/+55 |
| | |||||
* | sesman: install empty reconnectwm.sh as a template | Koichiro IWAO | 2017-06-20 | 2 | -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 variable | Koichiro IWAO | 2017-05-16 | 3 | -6/+18 |
| | |||||
* | sesman: pass xrdp socket path to user session | Koichiro IWAO | 2017-05-16 | 1 | -0/+2 |
| | | | | via environment variable. | ||||
* | startwm.sh: do not call pseudo shell code for /etc/X11/xdm/Xsession | Fuminobu TAKEYAMA | 2017-05-09 | 1 | -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 Makefile | Koichiro IWAO | 2017-04-06 | 1 | -1/+4 |
| | |||||
* | sesman: LOGNAME should be set to username | Koichiro IWAO | 2017-04-06 | 1 | -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 it | Pavel Roskin | 2017-03-28 | 7 | -6/+6 |
| | | | | Include xrdp_sockets.h directly, not through headers. | ||||
* | pulse: refer correct path to file_loc.h | Koichiro IWAO | 2017-03-24 | 2 | -2/+2 |
| | |||||
* | pulse: use correct macro for audio in/out sockets | Koichiro IWAO | 2017-03-24 | 2 | -2/+2 |
| | |||||
* | sesman: move auth/pam calls to main process | Jay Sorg | 2017-03-21 | 3 | -9/+26 |
| | |||||
* | xrdp-chansrv: default to INFO log level rather than ERROR | Pavel Roskin | 2017-03-20 | 1 | -1/+1 |
| | |||||
* | sesman: remove sessvc, one less process to manage | Jay Sorg | 2017-03-19 | 7 | -334/+136 |
| | |||||
* | Make socket directory configurable, don't hardcode /tmp/.xrdp | Pavel Roskin | 2017-03-17 | 7 | -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 useful | Pavel Roskin | 2017-03-17 | 1 | -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 struct | speidy | 2017-03-16 | 1 | -2/+4 |
| | |||||
* | Eliminate APP_CC and DEFAULT_CC | Pavel Roskin | 2017-03-14 | 60 | -572/+572 |
| | |||||
* | Don't include config_ac.h from any header files | Pavel Roskin | 2017-03-04 | 2 | -7/+0 |
| | |||||
* | Include config_ac.h from all source files | Pavel Roskin | 2017-03-04 | 47 | -0/+188 |
| | |||||
* | Remove trailing whitespace | Pavel Roskin | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | chansrv: fix warnings in pulse module | Koichiro IWAO | 2017-02-02 | 1 | -4/+4 |
| | |||||
* | xrdp-sesadmin: show sessions in human readable format | Pavel Roskin | 2017-02-02 | 1 | -7/+15 |
| | |||||
* | xrdp-sesadmin: refactor array access | Pavel Roskin | 2017-02-02 | 1 | -4/+7 |
| | |||||
* | xrdp-sesadmin: fix crash on network or authentication error | Pavel Roskin | 2017-02-02 | 1 | -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. |