Commit Graph

50 Commits

Author SHA1 Message Date
Koichiro IWAO
d6992cf62d
sesman: add XRDP_ prefix to xrdp related environment variable
and remove CHANSRV, use the shorter name
2018-09-04 16:01:40 +09:00
Koichiro IWAO
59f3a79fe4
sesman: pass pulse socket name via environment variable 2018-09-04 16:01:40 +09:00
Koichiro IWAO
a63c411772
sesman: rename vnc password file, just a cosmetic change 2018-03-23 19:16:10 +09:00
Jay Sorg
e40f0dc7e2 sesman: add hostname to vnc password file 2018-03-23 15:48:25 +09:00
Ian Geiser
4b87548b71 Use g_create_path instead of g_create_dir
Rename g_mk_temp_dir to g_mk_socket_path
2017-07-14 20:52:38 +09:00
Koichiro IWAO
1acef2567c sesman: pass xrdp socket path to user session
via environment variable.
2017-05-16 10:41:06 +09:00
Koichiro IWAO
06ce0d7ee3 sesman: LOGNAME should be set to username
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
2017-04-06 09:25:02 +09:00
Pavel Roskin
6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Pavel Roskin
b2d3dcf169 Include config_ac.h from all source files 2017-03-04 00:52:34 -08:00
Pavel Roskin
7ba3610787 Use <> for system includes, move system includes above local ones 2017-01-04 13:13:20 -08:00
Pavel Roskin
b1db87ea21 Use per-display VNC password files, remove old style password if found
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.
2016-12-18 09:24:11 -08:00
Pavel Roskin
e9d064e390 Don't try to create .vnc directory if it exists
Report system error if it cannot be created.
2016-11-15 22:39:22 -08:00
Pavel Roskin
60029514a6 Report system error if the VNC password file cannot be created 2016-11-15 22:39:22 -08:00
Pavel Roskin
6fef1e4eb5 Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
jsorg71
81fe939dd3 Merge pull request #388 from metalefty/freebsd/fuse
sesman: Add /sbin to PATH for FreeBSD
2016-08-05 14:22:50 -07:00
speidy
c9b55e3691 sesman: env_set_user, fix potential bof issues 2016-07-22 04:48:37 -04:00
Koichiro IWAO
c0ac8251f7 sesman: Add /sbin to PATH for FreeBSD
to enable to execute FUSE mount program.

The place of FUSE mount programs are:

FreeBSD   : /sbin/mount_fusefs
GNU/Linux : /bin/fusermount

See also #387.
2016-06-20 09:47:37 +09:00
Pavel Roskin
92a6833e9b Fix typos 2016-02-13 20:41:07 -08:00
Pavel Roskin
5575197eaa sesman: don't set LANG, let initialization scripts take care of it
Setting LANG to en_US.UTF-8 suppresses language settings from
/etc/locale.conf

See https://bugzilla.redhat.com/show_bug.cgi?id=1290820
2016-02-07 22:50:14 -08:00
Jay Sorg
dcdb617e63 for Xvnc sesman session, use hash of password for vnc auth 2015-10-10 15:44:31 -07:00
Jay Sorg
d91de3c1cc sesman: remove rfbDes calls 2015-08-18 17:33:13 -07:00
Laxmikant Rashinkar
a990287c46 coverity: fixed unchecked return value from library 2014-07-20 13:14:09 -07:00
Jay Sorg
49fcc23673 sesman: added SessionVariables to sesman.ini and some indent cleanup 2014-05-09 16:02:19 -07:00
Jay Sorg
2515caa66a sesman: added a env var to know when xrdp session 2013-07-30 15:03:34 -07:00
Laxmikant Rashinkar
78498f6682 Merge branch 'master' of github.com:neutrinolabs/xrdp 2013-06-08 18:44:34 -07:00
Laxmikant Rashinkar
6ad1d7f78d folder redirection: fixed language issues 2013-06-08 18:44:21 -07:00
Jay Sorg
c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
Laxmikant Rashinkar
1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
norrarvid
4d4ebbf363 Initial syslog support in XRDP 2012-05-27 17:17:39 +02:00
Jay Sorg
cadad6e181 /tmp cleanup 2012-02-14 13:45:24 -08:00
jsorg71
befb33c893 remove some tabs 2010-08-09 23:06:51 +00:00
jsorg71
7e36a89921 update copyright year 2010-07-26 03:48:58 +00:00
jsorg71
328649af9b g_thread_sck set outside of lock fix and g_cfg should always be a pointer to a struct 2009-09-28 01:16:07 +00:00
jsorg71
d9ba6c30ca remove g_set_file_rights since g_file_open sets the bits right 2009-05-19 05:04:24 +00:00
ilsimo
d14b076a70 still more work on logging
libscp makefile fix
2008-07-30 10:58:30 +00:00
jsorg71
f6825d1365 align 2008-05-06 07:16:42 +00:00
ilsimo
4c9d3862e5 updating logging subsystem 2008-02-20 22:02:24 +00:00
jsorg71
cd57d1b689 update copyright year 2008-01-30 07:53:57 +00:00
jsorg71
930160ea50 patch from 'Hug Me' 2007-08-31 04:09:20 +00:00
ilsimo
f22b5b42a7 making libscp a real library
some fixes in configuration options
2007-05-06 21:02:25 +00:00
jsorg71
6886ba4556 copyright year update 2007-01-12 05:07:07 +00:00
jsorg71
8c73bc31cb minor fixes and indent 2006-08-24 05:58:10 +00:00
jsorg71
5603962061 fix warning and some comments 2006-08-23 03:48:03 +00:00
jsorg71
1a00bf6b85 check return value of g_initgroups 2006-08-22 06:27:04 +00:00
ilsimo
5a6f8dfea5 adding initgroups() to support multiple user groups 2006-07-01 14:25:12 +00:00
ilsimo
013ab3c61f updated code documentation 2006-05-25 20:34:32 +00:00
jsorg71
b1b3ff9e7d year update and moved some stuff to os_calls.c 2006-04-23 21:54:12 +00:00
ilsimo
9ac351a4cb added --nodaemon and --kill options
added pid file generation
improved some code documentation
2005-11-13 22:06:49 +00:00
ilsimo
e7dbdea767 Adding logging functions and adding log options in config files 2005-10-23 21:47:17 +00:00
ilsimo
c2fda67a1c Adding auth.h env.c env.h session.c session.h tcp.c tcp.h 2005-10-06 19:27:38 +00:00