summaryrefslogtreecommitdiffstats
path: root/sesman
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #326 from metalefty/pulseaudio-6.0jsorg712016-02-232-1/+10
|\ | | | | pulse: fix build pulseaudio 6.0 or higher
| * pulse: fix build pulseaudio 6.0 or higherKoichiro IWAO2016-02-182-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | Discovered in #321. The number of argument for pa_rtpoll_run have been changed since 6.0. >=6.0 : int pa_rtpoll_run(pa_rtpoll *f); <6.0 : int pa_rtpoll_run(pa_rtpoll *f, bool wait); Check pulseaudio version by PA_CHECK_VERSION macro introduced since pulseaudio 0.9.16. In case PA_CHECK_VERSION is not defined, pa_rtpoll_run takes 2 arguments.
* | Move headers from EXTRA_DIST to sources, sort alphabeticallyPavel Roskin2016-02-214-38/+58
|/ | | | There should be no functional difference.
* xrdp-sesadmin: show help and exit if mandatory arguments are not givenPavel Roskin2016-02-141-2/+9
| | | | Don't mark password as mandatory, it's asked if not provided on the command line.
* Fix typosPavel Roskin2016-02-1323-43/+43
|
* Fix connection month display in xrdp-sesadminPavel Roskin2016-02-131-1/+1
| | | | | | | tm_mon in `struct tm` uses 0 for January. `struct session_data` and `struct SCP_DISCONNECTED_SESSION` don't specify how dates are stored. But considering the code in sestest and sesadmin, all date components are stored as displayed.
* Use lowercase program names for syslogPavel Roskin2016-02-133-3/+3
| | | Other programs typically use the same case as their execulables.
* Stop redefining libdir, use moduledir for ${libdir}/xrdpPavel Roskin2016-02-121-1/+1
| | | | | | | libdir is for shared and static libraries. Some xrdp libraries are loaded dynamically from a non-standard directory, so they are used like modules. Having separate libdir and moduledir would eventually allow to separate dynamically loaded modules from shared libraries.
* Don't ignore files known to gitPavel Roskin2016-02-122-0/+2
| | | | | | | | | | | | | That can cause unexpected behavior, especially with third party tools. The ignored files will be lost if the source tree is re-imported to another git repository, unless special care is taken. Whitelist all non-generated makefiles. To whitelist instfiles/pam.d/xrdp-sesman, add path to all generated executables listed in the top-level .gitignore, sort .gitignore alphabetically. Add mkinstalldir, it's used by Automake on some systems.
* Add missing spaces in the strings that are split for line wrappingPavel Roskin2016-02-123-3/+3
|
* xcon: include unistd.h, it's needed for select() on MacOSPavel Roskin2016-02-121-0/+1
|
* startwm.sh: make sure sourced scripts are readablePavel Roskin2016-02-121-29/+26
| | | | | | | | | Strictly speaking, both existence and readability should be checked. However, chances of ~/.profile being a directory or a FIFO are very small compared to its chances of being non-readable due to some misconfiguration. Put "if" and "then" on the same line for consistency with other checks. Improve comment and pseudocode formatting.
* sesman: add missing breakJay Sorg2016-02-111-1/+1
|
* remove duplicated call to scp_session_set_bppItamar Reis Peixoto2016-02-111-1/+0
|
* Allow sessions with 32 bppPavel Roskin2016-02-101-0/+1
|
* Check return value of scp_session_set_bpp()Pavel Roskin2016-02-102-1/+16
|
* Merge pull request #309 from proski/develItamar Reis Peixoto2016-02-0813-30/+34
|\ | | | | Fixes for autotools, compile warnings and MacOS compatibility
| * Change an unconditional #warning to a commentPavel Roskin2016-01-311-2/+5
| | | | | | | | | | Notes about software design should not be shown as warnings to everybody who compiles the code. Warnings should be about unexpected conditions detected at the compile time.
| * xcon: include sys/types.h for select() and related macrosPavel Roskin2016-01-311-0/+1
| |
| * rail: fix declaration of rail_desktop_resize()Pavel Roskin2016-01-311-1/+1
| | | | | | | | Arguments without a type default to int. The caller passes a pointer to XEvent, so use that type.
| * clipboard: undefine previously defined log levelPavel Roskin2016-01-301-0/+2
| |
| * More spelling fixes found by codespell and aspellPavel Roskin2016-01-302-3/+3
| |
| * Use standard autotools means to detect X11Pavel Roskin2016-01-302-4/+10
| | | | | | | | | | | | | | | | Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS. Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD. With this patch, X Windows system is correctly detected on Mac OS X.
| * clipboard_file: include sys/time.h for struct timeval, needed on Mac OS XPavel Roskin2016-01-301-0/+1
| |
| * Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGSPavel Roskin2016-01-295-20/+10
| | | | | | | | | | | | | | | | | | AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and includes. AM_CFLAGS is for flags affecting the compiler, such as debug and optimization settings. INCLUDES is an obsolete name. Users can pass INCLUDES and break compilation. AM_CPPFLAGS is more explicit that the flags come from Automake and should not be overridden.
| * Don't use a symlink where #include would sufficePavel Roskin2016-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Absolute symlinks break when the source is moved to another location. In the best case, the symlink will be replaced with a copy, but that creates code duplication. A user who got the packaged source may decide to change one config.c without realizing that another config.c will get the same changes. Don't ignore config.c, it's a regular source file now, albeit very short. Testing done: compiled inside and outside build directory.
* | sesman: don't set LANG, let initialization scripts take care of itPavel Roskin2016-02-071-1/+0
|/ | | | | | Setting LANG to en_US.UTF-8 suppresses language settings from /etc/locale.conf See https://bugzilla.redhat.com/show_bug.cgi?id=1290820
* Run through codespellPavel Roskin2016-01-145-7/+7
|
* chansrv: fix some warningsJay Sorg2015-12-291-7/+7
|
* chansrv: fix a crash in fuseJay Sorg2015-12-261-0/+5
|
* sesman: remove the threadJay Sorg2015-12-1113-679/+63
|
* Simplify session match logic.Jan Losinski2015-10-251-20/+2
| | | | | | | | | | | | | | | | | The session match logic had two versions - one for the SESMAN_SESSION_TYPE_XRDP and SESMAN_SESSION_TYPE_XORG sessions and one for every other type. The only difference was, that different display sizes where ignored when searching for sessions to reconnect if the policy does not have the SESMAN_CFG_SESS_POLICY_D flag set and the type is SESMAN_SESSION_TYPE_XRDP or SESMAN_SESSION_TYPE_XORG. The reason was that xvnc cannot resize and the others can do. This two versions where not necessary because we set the SESMAN_CFG_SESS_POLICY_D flag every time we have a xvnc session a few lines above. So the two branches for the different types can be reduced to one. Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* tabs to spaces, no logic changeJay Sorg2015-10-101-5/+5
|
* for Xvnc sesman session, use hash of password for vnc authJay Sorg2015-10-101-5/+24
|
* sesman: close sync and term sockets after forkJay Sorg2015-09-271-0/+5
|
* add historic GPLv2+ to Simone’s filesmirabilos2015-08-262-0/+26
| | | | this becomes GPLv3+ when combined with Apache v2 licenced files
* Allow to reconnect with a different size while using the Xorg moduleBlindauer Emmanuel2015-08-191-1/+1
|
* sesman: remove rfbDes callsJay Sorg2015-08-182-10/+9
|
* sesman: don't use hard code path for XorgJay Sorg2015-08-031-2/+2
|
* add more missing files into extra_distitamarjp2015-07-141-1/+2
|
* add missing files into extra_dist,itamarjp2015-07-141-1/+4
| | | | this is required when using make dist to generate a tarball
* add timeout to trans_get_wait_objs_rwJay Sorg2015-07-131-1/+1
|
* sesman: add copyright noice for code from OpenSSHKoichiro IWAO2015-06-161-0/+5
|
* sesman: merge FreeBSD local patch for session.cKoichiro IWAO2015-06-161-0/+36
| | | | | net/xrdp: effective login name is not set by xrdp-sesman https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157282
* fuse: use EIO instead of EREMOTEIO for BSDsKoichiro IWAO2015-03-181-0/+4
| | | | FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
* Merge pull request #225 from metalefty/chansrv-explicit-includejsorg712015-03-151-0/+1
|\ | | | | chansrv: explicit include in chansrv_fuse.c
| * chansrv: explicit include in chansrv_fuse.cKoichiro IWAO2015-03-131-0/+1
| | | | | | | | | | | | chansrv_fuse.c includes chansrv_fuse.h even if XRDP_FUSE is not defined. However, time_t is used in chansrv_fuse.h. This causes build failure on FreeBSD.
* | clipboard file paste, don't add new line to last lineJay Sorg2015-03-131-3/+9
|/
* Merge pull request #212 from robertalks/develjsorg712015-03-121-1/+3
|\ | | | | fix possible segfault in chansrv if DISPLAY is not set
| * fix possible segfault in chansrv if DISPLAY is not setRobert Milasan2015-01-201-1/+3
| |