matt335672
c467ba6b04
Add handler for fatal X server conditions
...
Unless X server failures are caught, these can cause a premature
exit of chansrv, giving it no chance to clean up. This is currently a
particular problem for fuser mounts.
6 years ago
Koichiro IWAO
929a7c359d
chansrv: add LOG_LEVEL_TRACE here, too
7 years ago
Koichiro IWAO
9065964bd9
chansrv: include display number in chansrv log filename
...
since xrdp-chansrv may be run multiple instances per user. For example,
Xvnc backend creates one session per screen geometry.
7 years ago
Pavel Roskin
148afd1170
Rename file_loc.h to xrdp_sockets.h, install it
...
Include xrdp_sockets.h directly, not through headers.
8 years ago
Pavel Roskin
b0c2f18521
xrdp-chansrv: default to INFO log level rather than ERROR
8 years ago
speidy
cfdbc2b4db
chansrv: dvc, check channel exists on get/remove api struct
8 years ago
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
8 years ago
Pavel Roskin
b2d3dcf169
Include config_ac.h from all source files
8 years ago
Pavel Roskin
6664aac00f
Use "void" for empty argument list in declarations
...
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".
8 years ago
Jay Sorg
25fd585d55
chansrv: some fixes to log file path
8 years ago
Pavel Roskin
35b336272b
Fix compilation with C++
8 years ago
Pavel Roskin
16c3bbdb8d
Remove all tabs in sources
8 years ago
Koichiro IWAO
7d017482f6
chansrv: change chansrv log path to ${XDG_DATA_HOME}/xrdp
...
like Xorg's logfile is written to ${XDG_DATA_HOME}/xorg/Xorg.n.log.
If XDG_DATA_HOME is not defined, the log path will be
${HOME}/.local/share/xrdp.
8 years ago
Pavel Roskin
2c13ef5c6d
Use enum logLevels consistently for log levels
8 years ago
Pavel Roskin
d1efb0d5ba
Fix signed to unsigned comparisons reported by g++ 6.1.0
8 years ago
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
8 years ago
Pavel Roskin
aaa89ad4e6
Use const unsigned for hex arrays
...
Some constants are too big for the signed type.
8 years ago
Pavel Roskin
77b380c0b5
Fix format warnings in log_message() calls
9 years ago
Pavel Roskin
70f3d4c5e2
Fix warnings for unused variables read from byte streams
9 years ago
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
9 years ago
Pavel Roskin
81779ddb01
Use lowercase program names for syslog
...
Other programs typically use the same case as their execulables.
9 years ago
Jay Sorg
6c23b85593
add timeout to trans_get_wait_objs_rw
9 years ago
Robert Milasan
f59c925f8b
fix possible segfault in chansrv if DISPLAY is not set
10 years ago
Jay Sorg
d17c4a78fb
chansrv: check for nil
10 years ago
Jay Sorg
9597e90b31
chansrv: allow multiple xrdpapi connections
10 years ago
Jay Sorg
8397055e8b
move some hard code paths to defines in header
10 years ago
Laxmikant Rashinkar
2363bf8af3
coverity: fixed miscellaneous issues
10 years ago
Laxmikant Rashinkar
162becfe55
coverity: fixed unsigned compare against 0
10 years ago
Laxmikant Rashinkar
73578bc612
coverity: fixed unchecked return value
10 years ago
Laxmikant Rashinkar
b205654e78
bringup RAIL only when we receive a RAIL command
11 years ago
Jay Sorg
2aa92fd6a8
chansrv: minor change in child_signal_handler
11 years ago
Jay Sorg
aec48211d5
chansrv: disable rail for now
11 years ago
Jay Sorg
97537587a8
chansrv: remove g_sent, not needed anymore
11 years ago
Jay Sorg
ad0532b1bf
vrplayer: work on client timing
11 years ago
Jay Sorg
2570319869
chansrv: use trans_force_write for xrdapi uds
11 years ago
Jay Sorg
c1b7cbd657
merges from authentic8
11 years ago
Jay Sorg
3b743f64eb
chansrv: deadlock, add trans copy func
11 years ago
Jay Sorg
dfd78c722b
chansrv: fix for deadlock
11 years ago
Jay Sorg
d22b8b5ed0
chansrv: added timeout callback
11 years ago
Laxmikant Rashinkar
ece8f1fb47
gracefully handle segfaults in chansrv code
11 years ago
Jim Grandy
b7b3d9ef28
Hand-apply patches (misc) from Authentic8: b18667d 6d22ada 95d93a3 433b49c b96f85f 8c32c46 f87f6b3 c93cce0 26ce9ce
11 years ago
Jim Grandy
142a93829b
Hand-apply patches (chansrv/rail) from Authentic8: 516fd1d 6a4fb28 c038a99
11 years ago
Jim Grandy
53311f2b25
Hand-apply patches (rail improvements) from Authentic8 branch: 6e15b4a 2c99e69 3f30429 aad2aaa 4f8481e 5117ac2 f3dcf1a
11 years ago
Jim Grandy
dfe5911b55
Hand-apply patches (rail improvements) from Authentic8 branch: 507694d, 0e21d45, 44447d5, e452e4f, 3d05576, dd69d8f
11 years ago
Jay Sorg
e602a28d5c
common: transport aware when app is terminating
11 years ago
Jay Sorg
29420b3134
chansrv: no logic change, work on warning
12 years ago
Jay Sorg
0aa3dbe738
chansrv: no logic change, EOL and coding style cleanup
12 years ago
Lukas Vacek
e7fe39a65b
Fix sound and clipboard crashes
...
- In case clipboard is not initialized, clipboard_data_in returns
(fixes a segfault)
- If less than 4 bytes are sent to sound_send_wave_data_chunk, it
returns
(fixes a segfault)
- When sending sound initiliazation messages set g_chan in chansrv to 0,
so the server waits for client to reply (this makes sound work afte
reconnecting)
- In process_message_channel_setup, clear any leftover data in
chan_items
12 years ago
Jay Sorg
73b074d602
chansrv: work on pulse sink
12 years ago
Laxmikant Rashinkar
78d4e19258
o early checkin for drive redirection
...
o basic drive redirection is working
o functions currently supported: open:
read, write, create, get/set attribute
o requires latest NeutrinoRDP to work
o note: clipboard is broken because of the move from
linked lists to inodes in the FUSE code
12 years ago