summaryrefslogtreecommitdiffstats
path: root/sesman
Commit message (Collapse)AuthorAgeFilesLines
* Use "void" for empty argument list in declarationsPavel Roskin2017-01-0515-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/includesjsorg712017-01-052-3/+4
|\ | | | | Use <> for system includes, move system includes above local ones
| * Use <> for system includes, move system includes above local onesPavel Roskin2017-01-042-3/+4
| |
* | fix build with --enable-xrdpdebug=yesvolth2017-01-044-8/+0
| |
* | fix build with --enable-xrdpdebug=yesvolth2017-01-046-7/+31
|/
* Fix help text to match the manual and the actual behaviorPavel Roskin2016-12-191-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-xauthIdan Freiberg2016-12-194-0/+129
|\ | | | | Fix xauth
| * Fix typoBLINDAUER Emmanuel2016-12-171-1/+1
| |
| * - Removed tailing spaceBLINDAUER Emmanuel2016-12-162-6/+4
| | | | | | | | - Fixed the copyright and year
| * - Update copyrightBLINDAUER Emmanuel2016-12-152-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.
| * use correct includeBLINDAUER Emmanuel2016-12-151-3/+1
| |
| * remove unused includeBLINDAUER Emmanuel2016-12-151-1/+0
| |
| * - move function related to xauth in own fileBLINDAUER Emmanuel2016-12-157-69/+121
| | | | | | | | | | | | - use of g_bytes_to_hexstr() - correct typos and coding syntax - don't create auth file, xauth can do that if needed
| * xauth: use the authfile if not using default valueBLINDAUER Emmanuel2016-12-141-1/+1
| |
| * Cosmetic change: follow coding standardBLINDAUER Emmanuel2016-12-142-6/+6
| |
| * use the correct size for snprintfBLINDAUER Emmanuel2016-12-141-2/+2
| |
| * Xauth: use snprintf for setting the filename and adjust the value of ↵BLINDAUER Emmanuel2016-12-141-8/+18
| | | | | | | | computed cookie
| * use functions from os_call.hBLINDAUER Emmanuel2016-12-131-9/+12
| |
| * Add xauth support to get more security for all backendsBLINDAUER Emmanuel2016-12-134-0/+74
| |
* | Use per-display VNC password files, remove old style password if foundPavel Roskin2016-12-181-3/+15
| | | | | | | | | | | | Every session uses its own VNC password, so keep then in separate files. The old style password file uses the user's password encrypted with a known key. Since we are not replacing it anymore, we should remove it.
* | Distribute all files except git and github specific dataPavel Roskin2016-12-182-0/+9
|/ | | | | It is better to distribute a few useless file than not to distribute needed files.
* sesman: unbreak FreeBSD build after #523Koichiro IWAO2016-12-091-2/+2
|
* Merge pull request #521 from proski/xorg-logmetalefty2016-12-091-1/+1
|\ | | | | Change default Xorg logfile to .xorgxrdp.%s.log
| * Change default Xorg logfile to .xorgxrdp.%s.logPavel Roskin2016-12-061-1/+1
| | | | | | | | | | | | | | | | The log file is created in the home directory, %s is replaced with the display number (e.g. 10). If Xorg is run setuid root, it can refuse to run if the log path is absolute.
* | Disable privilege elevation by setuid for the X serverPavel Roskin2016-12-061-0/+28
|/
* sesman: must save guid in session dataJay Sorg2016-12-043-1/+3
|
* vnc: code cleanupJay Sorg2016-12-041-14/+3
|
* vnc: change password file to use guid hashJay Sorg2016-12-039-63/+86
|
* Fix C++ errors and warnings in FUSE codePavel Roskin2016-11-261-29/+44
|
* Use fuse_ino_t for FUSE inodes, not tui32 or intPavel Roskin2016-11-261-27/+27
|
* Remove write-only FileId variablePavel Roskin2016-11-261-2/+0
|
* Cast pointer to uint64_t through tintptr to avoid warningsPavel Roskin2016-11-261-4/+4
| | | Cast to long would damage a pointer on Win64.
* Use constant strings to fix warningsPavel Roskin2016-11-263-13/+15
|
* Call devredir_cvt_slash() on the path copy, it changes the argumentPavel Roskin2016-11-261-5/+6
|
* Disable or remove dead code to prevent it from throwing warningsPavel Roskin2016-11-261-11/+12
|
* Include needed files in chansrv_fuse.c, remove duplicate declarationsPavel Roskin2016-11-262-18/+10
|
* Fix misuse of NULL for arithmetic typePavel Roskin2016-11-261-1/+1
|
* Use FUSE_CFLAGS and FUSE_LIBS from pkg-configPavel Roskin2016-11-262-4/+3
| | | | | | | Include <fuse_lowlevel.h>, not <fuse/fuse_lowlevel.h>, the include path should be set up for that. Don't define _FILE_OFFSET_BITS in one file, FUSE_CFLAGS would enable it for the whole xrdp-chansrv build if needed.
* Remove "-ac" from X server parameters, it's insecure and unnecessaryPavel Roskin2016-11-211-3/+0
| | | | | Fedora patches sesman.ini to remove "-ac", and that doesn't cause any ill effects.
* Fix format warnings if FUSE is enabledPavel Roskin2016-11-211-74/+75
|
* chansrv: some fixes to log file pathJay Sorg2016-11-191-34/+32
|
* Merge pull request #488 from metalefty/docsItamar Reis Peixoto2016-11-171-36/+35
|\ | | | | Update man pages and config files
| * config: use semicolon to comment out descriptions in config filesKoichiro IWAO2016-11-161-31/+31
| | | | | | | | | | | | | | | | and use number sign to comment out actual configurations. For example: ; if set to true, enables foobar #foobar=true
| * config: unify all boolean values in config to true/falseKoichiro IWAO2016-11-161-7/+6
| |
* | Merge pull request #477 from proski/vnc-strerrormetalefty2016-11-161-5/+9
|\ \ | | | | | | Improve error messages about VNC password file
| * | Don't try to create .vnc directory if it existsPavel Roskin2016-11-151-3/+7
| | | | | | | | | | | | Report system error if it cannot be created.
| * | Report system error if the VNC password file cannot be createdPavel Roskin2016-11-151-2/+2
| | |
* | | Merge pull request #476 from proski/authmetalefty2016-11-164-13/+13
|\ \ \ | | | | | | | | Fix compile warnings for non-default authentication methods
| * | | Fix compile warnings for non-default authentication methodsPavel Roskin2016-11-154-13/+13
| |/ / | | | | | | | | | | | | | | | Include string.h for strcmp(). Don't define _XOPEN_SOURCE, it conflicts with libc headers and hides putpwent(). Make input strings constant. Fix functions to match their declarations.
* | | Merge pull request #485 from proski/code-standardsmetalefty2016-11-162-8/+8
|\ \ \ | | | | | | | | Code standards