Commit Graph

4341 Commits

Author SHA1 Message Date
matt335672
d83bf100fa Move auth into libsesman 2023-03-29 14:31:30 +01:00
matt335672
cf5c1494cf Rename auth.h as sesman_auth.h 2023-03-29 14:31:29 +01:00
matt335672
db1f4c95a6 Moved config into libsesman 2023-03-29 14:31:29 +01:00
matt335672
f24400f4f1 Renamed sesman/config module 2023-03-29 14:31:29 +01:00
matt335672
177707dcb9
Merge pull request #2608 from Hiero32/Support-to-set-parameters-for-#2519
Support to set parameters for #2519
2023-03-29 10:29:23 +01:00
Hiero32
9fe9ae3bc0 Support to set parameters from sesman.ini. 2023-03-28 21:20:54 +09:00
metalefty
7bf95fc1d2
Merge pull request #2587 from metalefty/keymap_load
[refactoring] xrdp: enable loading any keymap files
2023-03-28 14:49:51 +09:00
matt335672
3ee8eb9c9e
Merge pull request #2592 from matt335672/restructure_session_start
Restructure session start
2023-03-27 10:38:37 +01:00
Koichiro IWAO
f9573e9908 xrdp: add log when failed to open keymap file 2023-03-27 11:01:06 +09:00
Nexarian
a1cb7af524
Merge pull request #2609 from jsorg71/unwrap_mem_calls
common: change g_malloc, g_free, g_memset, g_memcpy, and g_memmove to…
2023-03-25 19:36:59 -07:00
Jay Sorg
2d8b52f744 common: change g_malloc, g_free, g_memset, g_memcpy, and g_memmove to macros 2023-03-25 12:22:19 -07:00
matt335672
0c32d391ea
Merge pull request #2607 from jsorg71/pcsc_stack_fix
chansrv: don't free item on stack
2023-03-25 17:11:08 +00:00
Jay Sorg
054c78d568 chansrv: don't free item on stack 2023-03-24 16:33:16 -07:00
matt335672
991770cc5d Refactored session.c to support X server validation 2023-03-24 10:58:42 +00:00
matt335672
34ad55faa6 xwait changes (breaks compile)
The wait_for_xserver() call is refactored so that it can
be called from root context to wait for an X server run by
a specific user.
2023-03-24 10:54:04 +00:00
matt335672
efd871b37d Add session create status code for failed X server 2023-03-24 10:54:04 +00:00
matt335672
6bf0aed8dd Make wait objects private to sesman.c 2023-03-24 10:54:04 +00:00
matt335672
5cb5542d91 Rename session_list module functions
Rename functions in the session_list module so it's clearer where
they are defined.
2023-03-24 10:53:23 +00:00
matt335672
fb25de0419 Split sesman/session.c into session.c and session_list.c 2023-03-23 18:12:06 +00:00
matt335672
84c19e05ce Duplicate session module to session_list module
This makes an exact copy of session.[ch] in session_list.[ch].
The intention is to be able to follow changes in git with
the --follow switch
2023-03-23 18:12:06 +00:00
matt335672
c0b9bf9a37 Remove clone_session_params()
This is a hangover from SCP V1 and is no longer required with
the move to libipm
2023-03-23 18:12:06 +00:00
matt335672
8b9f9b40c8 os_calls changes
- Add g_pipe()
- Add g_file_duplicate_on()
- Rework struct exit_status to make it easier to parse
- Add optional status return to g_waitchild()
2023-03-23 18:12:06 +00:00
matt335672
b53060e734
Merge pull request #2604 from matt335672/git_ignore_waitforx
Add waitforx to .gitignore
2023-03-23 18:11:20 +00:00
matt335672
1cdaf5c6c4 Add waitforx to .gitignore 2023-03-23 16:36:54 +00:00
Koichiro IWAO
520798a782 xrdp: enable loading any keymap files
by separating functions. This makes it easier to create unit tests.
2023-03-23 17:40:22 +09:00
matt335672
42be576287
Merge pull request #2586 from matt335672/move_xrdp_waitforx
waitforx logging improvements
2023-03-18 11:24:39 +00:00
matt335672
5c01729d6f waitforx logging improvements 2023-03-18 10:54:14 +00:00
matt335672
3681ecdf23 Moved bin/xrdp-waitforx to libexec/xrdp/waitforx 2023-03-18 10:54:14 +00:00
Nexarian
eeaa803948
Merge pull request #2595 from neutrinolabs/add_planar_compression
Add planar compression
2023-03-18 01:30:19 -04:00
Nexarian
edb8fa7946 Add planar compression
Used for the bitmaps transmitted for the login screen over the egfx
channels.
2023-03-15 22:17:05 -04:00
Nexarian
204a6e713b
Merge pull request #2593 from neutrinolabs/update-egfx-related-comments
Fixing some comments
2023-03-14 02:15:04 -04:00
Nexarian
5273624089 Fixing some comments 2023-03-14 02:02:09 -04:00
matt335672
545663494c
Merge pull request #2591 from matt335672/freebsd_waitforx_flags
Add AM_CPPFLAGS to makefile.am for waitforx
2023-03-13 21:03:05 +00:00
matt335672
56d99d8535 Add AM_CPPFLAGS to makefile.am for waitforx
Without this, the compilation of waitforx can fail on FreeBSD
with this error:-

waitforx.c:1:10: fatal error: 'X11/extensions/Xrandr.h' file not found

This PR makes the use of AM_CPPFLAGS and AM_CFLAGS the same as
that for (e.g.) chansrv which also depends on X includes
2023-03-13 20:52:00 +00:00
matt335672
45983b6c5e
Merge pull request #2568 from matt335672/poll_regression
Poll regression
2023-03-13 20:07:06 +00:00
matt335672
3bd1820407 Fix regression caused by move to poll() 2023-03-13 20:02:05 +00:00
matt335672
653a7a9bff
Merge pull request #2576 from matt335672/list_string_support
List string support
2023-03-10 11:07:59 +00:00
matt335672
c9940f6b0d
Merge pull request #2581 from metalefty/help-alignment
sesman: fix help message alignment
2023-03-08 10:42:13 +00:00
Koichiro IWAO
75f534b69f sesman: fix help message alignment 2023-03-08 10:24:08 +09:00
matt335672
621b3fc6dc Add g_execvp_list() to os_calls 2023-03-06 16:03:55 +00:00
matt335672
c3d697de16 Add list_add_strdup() etc 2023-03-06 15:58:13 +00:00
matt335672
a6995f5e58
Merge pull request #2575 from matt335672/fix_list_insert_bug
Fix regression in list module
2023-03-06 15:57:25 +00:00
matt335672
a317c3de5d Fix regression in list module 2023-03-06 15:47:49 +00:00
matt335672
1ae819668a
Merge pull request #2573 from ZhipengXue97/devel
chansrv: Fix potential null dereference
2023-03-06 10:28:19 +00:00
Nexarian
4f9b3055ab
Merge pull request #2553 from Nexarian/add-string-split-function
Add function to split string into list.
2023-03-05 10:11:53 -05:00
Zhipeng Xue
fbb3b9cef9 Fix potential null dereference 2023-03-05 13:38:43 +08:00
Nexarian
89e178e7c9 Add function to split string into list.
- With working unit tests.
2023-03-03 18:33:33 -05:00
Nexarian
39abe6fbfe
Merge pull request #2567 from matt335672/ci_fail_workaround
Fix CI build break
2023-03-03 18:33:06 -05:00
matt335672
eb3d159612 Fix CI build break 2023-02-27 11:30:07 +00:00
matt335672
420a7a429f
Merge pull request #2557 from Hiero32/improve_#2522
improve "#2522 use startup command from /usr/share/xsession ..."
2023-02-22 12:45:23 +00:00