Pavel Roskin
9057ad0bba
Remove unused variables in get_display_num_from_display()
9 years ago
Pavel Roskin
1403652c72
Remove unused variable in devredir_cvt_from_unicode_len()
9 years ago
Pavel Roskin
f2d326cbed
Remove unused variables from dev_redir_proc_query_dir_response()
9 years ago
Pavel Roskin
0dd0426e6f
Check XGetWindowProperty() return code in clipboard_event_property_notify()
9 years ago
Pavel Roskin
e7e4d61265
Return correct error code from process_server_paint_rect_shmem_ex()
9 years ago
Itamar Reis Peixoto
0a6a55b547
Merge pull request #370 from proski/typos
...
Typo fixes and more
9 years ago
jsorg71
8249091183
Merge pull request #332 from metalefty/freebsd/ipv6
...
common: add log for g_tcp_connect
9 years ago
Pavel Roskin
b95dc9e12f
Remove extraneous color initialization
9 years ago
Pavel Roskin
72019d3611
Use better symbols to protect include files
9 years ago
Pavel Roskin
c3f6e1f58a
Use uniform comments for GUIDs
9 years ago
Pavel Roskin
d33bc07005
Capitalize language and country names
9 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
jsorg71
fdb146740f
Merge pull request #360 from proski/format-warnings
...
Warning fixes
9 years ago
Jay Sorg
fac0907a3c
trans: set non blocking socket after accept
9 years ago
jsorg71
b0e1e21305
Merge pull request #366 from proski/macos-sem
...
Add unnamed semaphore support on Mac OS
9 years ago
Pavel Roskin
f93074a430
Add unnamed semaphore support on Mac OS
...
sem_init() is not functional on Mac OS. Use the Grand Central Dispatch
implementation.
Make libscp_lock.c use semaphores through the thread_calls wrapper.
9 years ago
Pavel Roskin
70f3d4c5e2
Fix warnings for unused variables read from byte streams
9 years ago
Pavel Roskin
95e1603f9d
Fix recently introduced warnings in session.c
...
Use of tabs is fixed as well.
9 years ago
Pavel Roskin
0629b25d5f
Fix warnings about unused variables and functions
9 years ago
Pavel Roskin
e65bd6b7d7
Fix more format warnings
9 years ago
Pavel Roskin
bd0b1acf79
Fix format warnings caused by g_writeln("")
9 years ago
Pavel Roskin
55e12a09d8
Include config_ac.h from common/os_calls.h to enable all format warnings
9 years ago
Jay Sorg
b3273a3bfc
X11rdp: Mesa link fix
9 years ago
Jay Sorg
5e398e0c91
multimon fix
9 years ago
Jay Sorg
473f3dcd0c
X11rdp: merge multimon from Xorg driver
9 years ago
jsorg71
00a11f77ce
Merge pull request #359 from metalefty/sesman/configurable-xserver-path
...
sesman: do not hardcode Xorg/X11rdp/Xvnc executables
9 years ago
jsorg71
6c21aca50b
Merge pull request #361 from metalefty/do-not-attempt-to-trap-sigkill
...
Do not attempt to trap SIGKILL part 2
9 years ago
Koichiro IWAO
f7858e964d
Remove trailing whitespace, no logic change
9 years ago
Koichiro IWAO
cfdce461c3
Do not attempt to trap SIGKILL part 2
...
it doesn't work on any OS.
9 years ago
Jay Sorg
87208db090
fix warnings
9 years ago
Jay Sorg
dbf6bcc8be
remove some warnings
9 years ago
Jay Sorg
6a692c96cf
remove some warnings
9 years ago
Koichiro IWAO
cf2b629462
sesman: do not hardcode Xorg/X11rdp/Xvnc executables
...
In RHEL and its clones, /usr/bin/Xorg is set suid-root. To execute
Xorg with user privileges, /etc/pam.d/xserver needs be edited [1],
or suid bit of Xorg binary needs to be dropped.
In order to keep Xorg and /etc/pam.d/xserver untouched, preparing
non-suid version of Xorg as /usr/bin/Xorg.non-suid for example is
the simplest solution. However, Xorg.non-suid cannot be executed
since it is hardcoded to execute Xorg in sesman.
This change makes more flexible to execute Xorg with non-standard
name or not in PATH environment variable.
[1] https://www.centos.org/forums/viewtopic.php?t=21185
9 years ago
Koichiro IWAO
fb08623b66
sesman: brief xorg_params, no logic change
9 years ago
Jay Sorg
0655272b9c
common: call recv/send before can_recv/can_send
9 years ago
Jay Sorg
bd6c38af4d
common: fix warnings
9 years ago
jsorg71
75d79e0e3c
Merge pull request #353 from nerdknight/devel
...
Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
9 years ago
NerdKnight
99ebe1340f
Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
9 years ago
jsorg71
034ee36f9c
Merge pull request #341 from proski/sanity-checks
...
Sanity checks
9 years ago
Itamar Reis Peixoto
6b3fc5a373
Merge pull request #347 from metalefty/typo
...
fix typo xrdp-sessman -> xrdp-sessvc
9 years ago
Jay Sorg
a6cba63a89
fix a warning
9 years ago
Jay Sorg
689ffe79d9
fix warnings, move some calls to os_calls
9 years ago
Koichiro IWAO
ff4ec98412
fix typo xrdp-sessman -> xrdp-sessvc
9 years ago
Jay Sorg
38241f2a0b
Fix all format warnings and some unused variable warnings
9 years ago
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
9 years ago
Pavel Roskin
9091c3eef2
Annotate printf-like functions if supported by the compiler
...
Both GCC and Clang support it. Add a macro from Autoconf archive to check
for format attribute support.
9 years ago
Pavel Roskin
4da6f8a538
Enable -Wall flag for compilers that support it
...
Add Autoconf archive macros to check for -Wall and its dependencies.
Adjust m4/.gitignore to only ignore libtool macros.
Require Autoconf 2.65 for compatibility with Autoconf archive macros.
9 years ago
Pavel Roskin
e0a9c769e0
Be more specific in error messages about PID file location
9 years ago
Pavel Roskin
3eb495f425
Check if rsakeys.ini exists on startup, exit if it's missing
9 years ago
Pavel Roskin
86ec50789c
Move all sanity checks to a separate function xrdp_sanity_check()
9 years ago