Commit Graph

357 Commits

Author SHA1 Message Date
Nicola Ruggero
d797b2cf49 Implemented client IP logging 2010-11-04 12:14:03 +01:00
Nicola Ruggero
4cf06dbbcb Major code cleanup:
- Initialized and zeroed out local variables
- Check for some null pointers
- Fixed some typos
- Other minor changes (beautify, etc.)
2010-11-03 16:59:26 +01:00
Nicola Ruggero
36ef046e3c Improved logging. Patch by aaron 2010-10-26 12:24:57 +02:00
Jay Sorg
a8e68b0d46 limit X server to localhost and set dpi 2010-10-22 20:03:04 -07:00
jsorg71
b37ea27144 unsigned output log 2010-08-16 04:05:03 +00:00
jsorg71
befb33c893 remove some tabs 2010-08-09 23:06:51 +00:00
jsorg71
d83ebaa97a use do ... while (0) style for parse.h 2010-08-09 23:02:06 +00:00
jsorg71
7e36a89921 update copyright year 2010-07-26 03:48:58 +00:00
jsorg71
fb7e652d65 Fix sesman logging disruption after SIGHUP 2010-07-26 03:46:36 +00:00
jsorg71
aefd3808a1 don't use -l 2010-07-26 01:52:12 +00:00
jsorg71
4e024ccb4c update copyright year 2010-07-26 01:36:09 +00:00
jsorg71
c7a5643690 use -l for startwm.sh 2010-07-08 03:50:50 +00:00
jsorg71
8490a2b24b update copyright year 2010-07-04 07:36:06 +00:00
jsorg71
d70d80a33d update copyright year 2010-07-04 07:20:56 +00:00
jsorg71
e83b4c43f5 added X11DisplayOffset sesman option 2010-04-24 06:41:55 +00:00
jsorg71
abba73f9bc fix for session persistence 2010-03-15 20:27:41 +00:00
jsorg71
00ec87700b remove some dead code 2009-12-26 23:05:17 +00:00
jsorg71
28fe9bfde8 remove some dead code 2009-12-26 22:30:18 +00:00
jsorg71
7136d457e9 remove some dead code 2009-12-26 22:18:53 +00:00
jsorg71
f02566c7c5 remove some dead code 2009-12-26 22:08:54 +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
d9b86cc2ff added some more comments on environment setup 2009-09-20 19:07:20 +00:00
jsorg71
8e7b8396cc add commented suggestions for .bash_profile and /etc/environment 2009-09-20 17:51:08 +00:00
jsorg71
dc26b98025 read config file 2009-09-06 05:58:26 +00:00
jsorg71
52af655800 use type when looking for a session 2009-09-06 01:57:05 +00:00
jsorg71
9a12982a69 improvements for when a session is disconnected 2009-09-05 19:11:03 +00:00
jsorg71
90ce47855c use unix socket for chansrv 2009-09-05 03:42:50 +00:00
jsorg71
8a8b57153d added chansrv_cleanup 2009-09-04 19:34:24 +00:00
jsorg71
727012a56f added chansrv_cleanup 2009-09-04 19:20:40 +00:00
jsorg71
e11dce79dc don't set error handlers for now 2009-09-04 18:31:39 +00:00
jsorg71
4d80c52387 add '-nolisten tcp' to X11rdp and Xvnc params 2009-09-04 03:57:43 +00:00
jsorg71
5a47736ec8 add lib path for old X server install 2009-09-04 01:34:29 +00:00
jsorg71
278d65282e clipboard work 2009-09-02 02:52:30 +00:00
jsorg71
e0dec1eb02 clipboard work 2009-09-01 20:39:06 +00:00
jsorg71
2293410d7e clipboard work 2009-09-01 06:42:40 +00:00
jsorg71
b26da5af83 fix crash with large clipboards 2009-09-01 01:42:34 +00:00
jsorg71
0dee85d982 clipboard work 2009-08-31 21:25:06 +00:00
jsorg71
9fd0ddc722 function names 2009-08-31 18:47:46 +00:00
jsorg71
30f87388bb clipboard 2009-08-29 21:40:15 +00:00
jsorg71
64fde0e24f clipboard work 2009-08-29 21:20:27 +00:00
jsorg71
185414584d change the way chansrv is started 2009-08-29 21:19:28 +00:00
jsorg71
32292b5353 wait for xserver to start 2009-08-27 02:16:34 +00:00
jsorg71
23068b5fa1 work on clipboard 2009-08-27 02:15:49 +00:00
jsorg71
acd9f3d82d fix a crash when freeing struct SCP_SESSION 2009-08-24 18:09:19 +00:00
jsorg71
9fc138380b work on clipboard 2009-08-23 00:48:20 +00:00
jsorg71
db32048d81 use _ not - in name 2009-08-21 17:31:40 +00:00
jsorg71
c7838641cf handle X server crash better 2009-08-21 17:30:14 +00:00
jsorg71
359a190850 stop channel server, then xserver 2009-08-21 17:23:49 +00:00
jsorg71
df8527b251 pass domain, program, and directory to sesman and use directory and program 2009-08-19 07:27:35 +00:00
jsorg71
3fd42d808a added SECONDARY 2009-08-19 07:24:20 +00:00
jsorg71
fa91c84668 first clipboard checkin 2009-08-15 02:47:51 +00:00
jsorg71
e71b3012d5 make startwm.sh simpler and added comments 2009-08-09 00:04:11 +00:00
jsorg71
9922d2aef6 added x_server_running_check_ports 2009-08-06 19:01:09 +00:00
jsorg71
c85e32446c login changes when looking for available display 2009-08-06 06:13:52 +00:00
jsorg71
eeac7c938a add extended log output 2009-08-05 06:16:05 +00:00
jsorg71
3cfea6a959 patch from Christoph Brill - Don't always assume 3350 as the sesman port 2009-08-05 03:33:19 +00:00
jsorg71
e2c4dbf1af don't mark never expired accounts as disabled - patch from Christoph Brill 2009-07-23 19:59:01 +00:00
jsorg71
2750bd3c92 delete the pid file on exit 2009-07-23 19:46:44 +00:00
jsorg71
2f27bcef10 signal improvements to sessvc 2009-05-29 02:05:22 +00:00
jsorg71
d486e1dd91 change pam file name 2009-05-22 01:47:27 +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
jsorg71
23ffdb0c5f autotools fix and file_loc.h simplified 2009-05-19 04:23:49 +00:00
jsorg71
e1eb8bfcbc added device redir start files 2009-04-22 04:34:45 +00:00
jsorg71
c6b9952fa2 work on chansrv 2009-04-20 04:31:24 +00:00
jsorg71
631a7c16e1 added chansrv 2009-04-19 17:16:46 +00:00
jsorg71
3417482d10 update copyright year 2009-04-17 06:52:02 +00:00
jsorg71
67911e9fb9 added 15bpp support 2009-02-23 08:45:41 +00:00
jsorg71
b5c0a07657 use the thread_calls in common the mutexes and semaphores 2009-01-15 07:59:47 +00:00
jsorg71
a71ca6bc1f only the main thread forks 2009-01-12 06:43:58 +00:00
jsorg71
d241e02422 change to the g_signal_* functions 2008-12-30 08:32:22 +00:00
jsorg71
6f169002ed improve the wait for the x server to start 2008-12-29 04:24:51 +00:00
jsorg71
13ac4186c6 quiet them main loop of sesman 2008-12-28 08:15:40 +00:00
jsorg71
18600b093e move to using the signal functions instead of sigaddset since we removed unset signals 2008-12-28 06:11:14 +00:00
jsorg71
23fe2e2259 added g_ to globals, added SIGINT, SIGKILL to shutdown signals, other minor changes 2008-12-26 02:20:03 +00:00
jsorg71
af83cb7cae remove old makefiles 2008-12-16 02:47:45 +00:00
jsorg71
ffee44d518 autotools for sessvc 2008-11-25 04:14:37 +00:00
jsorg71
a6bc488678 move sessvc to a sub-directory 2008-11-25 04:00:53 +00:00
jsorg71
b768e8fb5d remove unset_signals 2008-11-10 01:50:04 +00:00
jsorg71
c3c6b39e3d fix for older auto tools 2008-11-02 21:27:42 +00:00
ilsimo
1cae42594b forgotten files 2008-09-11 20:57:55 +00:00
ilsimo
7c79298612 added first management code
added a rough management tool
fixes in session.c
2008-09-11 20:23:15 +00:00
jsorg71
f1ebdf189e added post install hook 2008-08-17 23:08:17 +00:00
jsorg71
f77934a58e remove lib version 2008-08-15 02:49:41 +00:00
jsorg71
e5cebc97f5 bin to sbin, common and install changes 2008-08-12 07:15:16 +00:00
jsorg71
29dbf2f7bf added HAVE_CONFIG_H 2008-08-12 07:13:43 +00:00
jsorg71
8c68a7d7f5 common and version changes 2008-08-12 07:12:06 +00:00
jsorg71
edf6d54b55 added define check for ipv6 structs 2008-08-12 07:11:05 +00:00
jsorg71
fa30584146 common change 2008-08-12 06:56:19 +00:00
jsorg71
4ae9c90a50 add tools subdir 2008-08-10 18:01:51 +00:00
jsorg71
e2ddf85628 adding autotools 2008-08-10 17:59:36 +00:00
jsorg71
5e94ef3174 change config.h to config_ac.h 2008-08-10 06:46:18 +00:00
jsorg71
e5796ac8a0 added sesman auth options 2008-08-09 08:35:05 +00:00
jsorg71
59a2d1dea6 build common as a library 2008-08-06 05:06:03 +00:00
jsorg71
c5fceb31ec autotools 2008-08-03 07:48:32 +00:00
ilsimo
d14b076a70 still more work on logging
libscp makefile fix
2008-07-30 10:58:30 +00:00
jsorg71
84c94f1c22 sesman.pid has a prefix 2008-05-07 03:24:06 +00:00
jsorg71
696b10b5ab sesman.ini does not have a prefix 2008-05-07 03:22:52 +00:00
jsorg71
ef69b94717 align and use XRDP_SBIN_PATH 2008-05-06 10:41:22 +00:00
jsorg71
673aaa36b1 full path for xrdp-sesman.log file 2008-05-06 09:45:25 +00:00
jsorg71
61ca96af62 include file_loc.h 2008-05-06 09:42:31 +00:00
jsorg71
f6825d1365 align 2008-05-06 07:16:42 +00:00
jsorg71
44231c602e tools needs _ at end cause there is a directory called tools 2008-05-06 06:57:54 +00:00
jsorg71
c81817ca16 renaming and moving install files 2008-05-04 05:19:34 +00:00
jsorg71
3ee71a2759 need tabs 2008-03-17 18:05:05 +00:00
jsorg71
6385d06f9b need tabs 2008-03-16 23:57:20 +00:00
jsorg71
2668c0f8b4 change log message from Xrdp to X11rdp 2008-03-11 04:55:25 +00:00
ilsimo
57484bd701 more work on logging 2008-02-21 15:50:31 +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
ilsimo
a3202aea6a fix for sesman not checking username when returning disconnected session list 2007-11-12 12:40:41 +00:00
jsorg71
5bec95f123 added mac makefiles 2007-09-27 18:09:29 +00:00
ilsimo
f06f9591bc fixing sessvc starting code and removing SESMAN_SESSVC_FILE definition 2007-09-17 15:28:51 +00:00
ilsimo
8c3d20c3d5 adding SCP_SESSION and SCP_CONNECTION handling code 2007-09-17 15:26:23 +00:00
jsorg71
930160ea50 patch from 'Hug Me' 2007-08-31 04:09:20 +00:00
jsorg71
1141afb3e0 align 2007-07-18 06:31:11 +00:00
jsorg71
2a1b60a173 added -f parameter to ln 2007-07-03 04:18:23 +00:00
jsorg71
bfda7f0985 update from branch, don't install libscp in /usr/lib 2007-06-29 03:39:44 +00:00
jsorg71
63b3893dd5 added vars so tools don't install in root dir 2007-05-23 05:53:03 +00:00
jsorg71
5c42176fbd removed name conflict 2007-05-14 04:56:10 +00:00
ilsimo
b97a2d2631 adding forgotten files 2007-05-06 21:14:09 +00:00
ilsimo
8234ebcf70 remove unused files 2007-05-06 21:11:18 +00:00
ilsimo
a53a1b72b8 removing unused files 2007-05-06 21:08:45 +00:00
ilsimo
f22b5b42a7 making libscp a real library
some fixes in configuration options
2007-05-06 21:02:25 +00:00
jsorg71
9393b94a2e added -f to make clean rm command 2007-04-26 06:08:31 +00:00
ilsimo
7dcf60f8a0 some style fixes 2007-04-15 21:03:05 +00:00
ilsimo
4175d2d8be adding more logging after various exec() 2007-04-15 20:40:12 +00:00
ilsimo
d31a19b2ff moving sesrun to tools/ 2007-04-13 12:30:39 +00:00
ilsimo
3320fe907f portability fix: changed uintXX_t in xrdp defined datatypes 2007-04-13 12:00:19 +00:00
ilsimo
9c4b9f8390 added sessvc as session supervisor
first code for password changing
2007-04-07 16:20:08 +00:00
ilsimo
6cbc09be53 added ListenAddress configuration option 2007-03-25 21:20:20 +00:00
ilsimo
5d29a7127b fixes bug #1595324 in sf.net bugtracker 2007-03-25 14:57:08 +00:00
ilsimo
831ef476b7 some fixes for scp v0 2007-03-24 16:30:43 +00:00
ilsimo
ae9faad218 more work on scp v1 2007-03-17 16:41:21 +00:00
ilsimo
5260d224dc fixing sone really stupid deadlocks occurring if there is some network error 2007-02-17 19:54:30 +00:00
jsorg71
96fd0b8a00 indent 2007-02-01 06:43:06 +00:00
jsorg71
2183c539cc indent 2007-02-01 06:12:14 +00:00
jsorg71
c0f0fec1d6 indent 2007-02-01 06:03:46 +00:00
jsorg71
6886ba4556 copyright year update 2007-01-12 05:07:07 +00:00
ilsimo
078b4d3f41 adding scp v1 first code, fixed passwd auth for disabled password 2006-11-24 20:46:45 +00:00
ilsimo
dd76b40a35 some fixes for libscp 2006-11-05 13:11:20 +00:00
ilsimo
ef1605e647 Fix for an error which blocks X11rdp session to be started 2006-10-28 15:04:51 +00:00
jsorg71
cf00c1707d g_chmod to g_chmod_hex 2006-10-28 03:28:59 +00:00
jsorg71
fe292cec20 make sure /tmp/.X11-unix directoy exist 2006-10-27 04:22:29 +00:00
ilsimo
2637efd4ee Adding MaxLoginRetry configuration option 2006-10-25 19:18:36 +00:00
ilsimo
3719200baa adding missing license notes 2006-10-16 15:08:08 +00:00
ilsimo
7698f5f441 fixed missink break in switch 2006-10-16 11:25:47 +00:00
ilsimo
71e7fc734d first try for a scp protocol layer (aka libscp) 2006-10-15 13:08:08 +00:00
jsorg71
7cdd7191a4 added ability to put extra Xserver parameters in sesman.ini 2006-09-18 04:40:43 +00:00
jsorg71
68e30a5e19 change Xrdp to X11rdp to avoid confusion 2006-08-25 05:25:57 +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
jsorg71
2b054f9757 added -ac to Xserver start params 2006-08-14 05:09:58 +00:00
jsorg71
7cbeb4f30d debian package build fixes 2006-08-14 04:57:43 +00:00
jsorg71
8e72d684c6 changed deb install location 2006-08-09 04:02:51 +00:00
ilsimo
fda836169e making sesman multithread 2006-07-13 20:15:21 +00:00
ilsimo
5a6f8dfea5 adding initgroups() to support multiple user groups 2006-07-01 14:25:12 +00:00
jsorg71
0cf185520d gnome starts with gnome-session 2006-06-07 16:26:04 +00:00
jsorg71
e9400d44e9 include stdio.h for newer gcc 2006-05-31 17:47:43 +00:00
ilsimo
343f9361f2 preparing sources to add new sesman control protocol 2006-05-26 13:10:14 +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
jsorg71
05178d0733 added installdeb to makefiles 2006-03-04 01:02:09 +00:00
jsorg71
d7e7beae5e added kde path if needed 2006-02-20 04:20:54 +00:00
jsorg71
192446c47e documentation and script file changes 2006-02-18 05:42:59 +00:00
jsorg71
37c764bdbb opps, its 60xx, not 61xx for Xserver tcp ports 2006-02-12 00:34:19 +00:00
jsorg71
cdba972be2 more checking to see if the Xserver display is available 2006-02-12 00:17:56 +00:00
ilsimo
ec7498b5f9 added nicer support for Xrdp
fixed some errors in Makefiles when installing
2006-02-09 18:01:41 +00:00
jsorg71
285a1139c1 check for lock file too when checking for X server running 2006-02-05 19:09:44 +00:00
jsorg71
59fc01e215 temp hack for starting Xrdp 2006-02-05 05:46:48 +00:00
ilsimo
153b59ad84 new session list code
added support for new [sessions] configuration options
2006-01-13 15:51:23 +00:00
ilsimo
377181c943 added missing config directives 2005-12-21 20:34:32 +00:00
ilsimo
721ca9efae adding some access control features 2005-12-15 20:41:03 +00:00
jsorg71
7e4f18f748 os_calls.c, d2des.c, list.c, file.c, and log.c make check 2005-12-10 01:38:46 +00:00
jsorg71
19314ec055 Makefile and file location changes 2005-12-02 04:57:51 +00:00
jsorg71
58976ccc97 Makefile changes 2005-12-02 03:24:41 +00:00
jsorg71
754efcabb1 <lf><cr> should be <cr><lf> 2005-11-26 01:38:08 +00:00
jsorg71
7c69e43493 win32 fixes 2005-11-19 01:37:49 +00:00
ilsimo
c401d58c74 fixed check for pid file and delete of pid file on exit 2005-11-16 12:27:08 +00:00
jsorg71
dd96a1aa04 added kerberos auth 2005-11-16 04:32:21 +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
jsorg71
180859a1ef makefile fix 2005-10-11 04:17:06 +00:00
ilsimo
b2e120e688 fixing some typos in Makefiles 2005-10-09 19:57:16 +00:00
ilsimo
2fa674469f Making sesman running as a daemon in the background and placing session starting code in a separate util (sesrun) 2005-10-09 19:53:51 +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
ilsimo
534b2691cd Adding sig.* 2005-10-06 19:25:29 +00:00
ilsimo
a0507a3381 Splitted sesman.c in more files.
Added sig.*, session.*, env.*, auth.h, tcp.*
2005-10-06 19:21:18 +00:00
jsorg71
19d37b565c added user specific window manager startup script and SIGUP to reload sesman configuration 2005-09-25 03:30:09 +00:00
jsorg71
27abee98ce make pam the default and install the pam.d file 2005-09-20 01:34:53 +00:00
jsorg71
c3ff1bcebb changed pam session and env 2005-08-14 02:22:11 +00:00
jsorg71
756f4316cc don't set data to zero of found session 2005-08-11 02:15:42 +00:00
jsorg71
6468e760d2 added pam session 2005-07-19 02:22:33 +00:00
jsorg71
666b5dd175 SIGCHLD can differ 2005-07-11 00:41:07 +00:00
jsorg71
7ffee77e6d use os_call in sesman 2005-07-10 00:25:31 +00:00
jsorg71
ef1be2c6d3 pam changes 2005-07-07 03:08:03 +00:00
jsorg71
992dbfa7b3 moved a bunch of files around 2005-06-28 03:11:35 +00:00
jsorg71
74a67d2d3f added non pam authentication 2005-06-04 23:51:51 +00:00
jsorg71
10e7a9789b gota set shell enviroment var 2005-04-27 01:34:21 +00:00
jsorg71
6b9be46dd2 respond to shutdown signals 2005-03-13 01:33:59 +00:00