Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | docs: remove IdleTimeLimit until it is actually implemented | Koichiro IWAO | 2017-01-31 | 1 | -7/+0 |
| | | | | it gives users false hope and finally disappoints them. | ||||
* | change log message to long long | Jay Sorg | 2017-01-29 | 1 | -2/+2 |
| | |||||
* | sesman: fix warning for 32 bit / 64 bit log entry, trunc to 32 bit | Jay Sorg | 2017-01-29 | 1 | -2/+2 |
| | |||||
* | sesman: remove unnecessary fork for FreeBSD (#650) | metalefty | 2017-01-28 | 1 | -21/+12 |
| | | | it is not only unnecessary but causes another bug. | ||||
* | Add GNU/kFreeBSD support (#645) | mirabilos | 2017-01-26 | 1 | -1/+1 |
| | | | | | | * GNU/kFreeBSD is a FreeBSD variant, for code purposes. * GNU/kFreeBSD uses GNU/Linux-ish init scripts, however. | ||||
* | Constify string arguments in xrdp-chansrv sources | Pavel Roskin | 2017-01-22 | 6 | -28/+30 |
| | |||||
* | Merge pull request #630 from selu/devel | Idan Freiberg | 2017-01-23 | 1 | -1/+1 |
|\ | | | | | Fix calling XChangeProperty in clipboard provide | ||||
| * | Fix calling XChangeProperty in clipboard provide | Szabolcs Seláf | 2017-01-17 | 1 | -1/+1 |
| | | | | | | | | XChangeProperty's last parameter is number of elements, not number of bytes as it's in https://tronche.com/gui/x/xlib/window-information/XChangeProperty.html Because of this bug Paste did not work in any java applications. | ||||
* | | Improve xrdp-sesman help text | Pavel Roskin | 2017-01-17 | 1 | -16/+17 |
|/ | | | | Don't document "-ns", as "-n" and "--nodaemon" should be enough. Always refer to the program as xrdp-sesman, not sesman. | ||||
* | Don't log device_data_len in the code where it may be uninitialized | Pavel Roskin | 2017-01-11 | 1 | -3/+2 |
| | | | Log device_data_len only in the code that reads it. | ||||
* | Remove redundant function declarations | Pavel Roskin | 2017-01-11 | 2 | -11/+0 |
| | |||||
* | Remove send_channel_data() from devredir.h, it's declared in chansrv.h | Pavel Roskin | 2017-01-11 | 2 | -2/+1 |
| | | | | Include "chansrv.h" from devredir.c to have send_channel_data() declaration. | ||||
* | Merge pull request #618 from metalefty/max_disc_time | Idan Freiberg | 2017-01-12 | 1 | -1/+1 |
|\ | | | | | sesman: print max_disc_time as DisconnectedTimeLimit | ||||
| * | sesman: print max_disc_time as DisconnectedTimeLimit | Koichiro IWAO | 2017-01-10 | 1 | -1/+1 |
| | | | | | | | | not max_idle_time. | ||||
* | | rail: remove unneeded call to XGetWindowAttributes() | Pavel Roskin | 2017-01-06 | 1 | -3/+0 |
|/ | | | | It is already called above "if" with the same arguments. | ||||
* | Use "void" for empty argument list in declarations | Pavel Roskin | 2017-01-05 | 15 | -27/+27 |
| | | | | | | In C, an empty argument list in a declaration means that the function can accept any arguments. Use "void" instead, it means "no arguments". C++ treats void and empty list as "no arguments". | ||||
* | Merge pull request #612 from proski/includes | jsorg71 | 2017-01-05 | 2 | -3/+4 |
|\ | | | | | Use <> for system includes, move system includes above local ones | ||||
| * | Use <> for system includes, move system includes above local ones | Pavel Roskin | 2017-01-04 | 2 | -3/+4 |
| | | |||||
* | | fix build with --enable-xrdpdebug=yes | volth | 2017-01-04 | 4 | -8/+0 |
| | | |||||
* | | fix build with --enable-xrdpdebug=yes | volth | 2017-01-04 | 6 | -7/+31 |
|/ | |||||
* | Fix help text to match the manual and the actual behavior | Pavel Roskin | 2016-12-19 | 1 | -2/+2 |
| | | | | | The help text mentions "LIST" and "KILL" commands, but the manual says "list" and "kill", and the command line parser expects the later. | ||||
* | Merge pull request #545 from moobyfr/fix-xauth | Idan Freiberg | 2016-12-19 | 4 | -0/+129 |
|\ | | | | | Fix xauth | ||||
| * | Fix typo | BLINDAUER Emmanuel | 2016-12-17 | 1 | -1/+1 |
| | | |||||
| * | - Removed tailing space | BLINDAUER Emmanuel | 2016-12-16 | 2 | -6/+4 |
| | | | | | | | | - Fixed the copyright and year | ||||
| * | - Update copyright | BLINDAUER Emmanuel | 2016-12-15 | 2 | -18/+13 |
| | | | | | | | | | | | | | | - remove test on filename for xauth as we know what we send - better names for variables in xauth - if xauth fails, exit sesman - g_bytes_to_hexstr returns a null-teminated string, don't set it twice. |