Pavel Roskin
5de1d31a75
Change an unconditional #warning to a comment
...
Notes about software design should not be shown as warnings to everybody
who compiles the code. Warnings should be about unexpected conditions
detected at the compile time.
9 years ago
Pavel Roskin
f1ba2b2c9d
xcon: include sys/types.h for select() and related macros
9 years ago
Pavel Roskin
5b0dcfc8fe
rail: fix declaration of rail_desktop_resize()
...
Arguments without a type default to int. The caller passes a pointer to
XEvent, so use that type.
9 years ago
Pavel Roskin
986fa94733
clipboard: undefine previously defined log level
9 years ago
Pavel Roskin
02c981e796
More spelling fixes found by codespell and aspell
9 years ago
Pavel Roskin
00e70a5c54
Use standard autotools means to detect X11
...
Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add
X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS.
Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD.
With this patch, X Windows system is correctly detected on Mac OS X.
9 years ago
Pavel Roskin
334eeb970a
clipboard_file: include sys/time.h for struct timeval, needed on Mac OS X
9 years ago
Pavel Roskin
a452d8d36a
Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
...
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.
INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
9 years ago
Pavel Roskin
309fca35ac
Don't use a symlink where #include would suffice
...
Absolute symlinks break when the source is moved to another location. In
the best case, the symlink will be replaced with a copy, but that creates
code duplication. A user who got the packaged source may decide to change
one config.c without realizing that another config.c will get the same
changes.
Don't ignore config.c, it's a regular source file now, albeit very
short.
Testing done: compiled inside and outside build directory.
9 years ago
Pavel Roskin
964e860072
Run through codespell
9 years ago
Jay Sorg
ded462ab8e
chansrv: fix some warnings
9 years ago
Jay Sorg
8261459707
chansrv: fix a crash in fuse
9 years ago
Jay Sorg
4e0d0f3ba0
sesman: remove the thread
9 years ago
Jan Losinski
844f01b937
Simplify session match logic.
...
The session match logic had two versions - one for the
SESMAN_SESSION_TYPE_XRDP and SESMAN_SESSION_TYPE_XORG sessions and one
for every other type. The only difference was, that different display
sizes where ignored when searching for sessions to reconnect if the
policy does not have the SESMAN_CFG_SESS_POLICY_D flag set and the type
is SESMAN_SESSION_TYPE_XRDP or SESMAN_SESSION_TYPE_XORG.
The reason was that xvnc cannot resize and the others can do. This two
versions where not necessary because we set the
SESMAN_CFG_SESS_POLICY_D flag every time we have a xvnc session a few
lines above. So the two branches for the different types can be reduced
to one.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
9 years ago
Jay Sorg
6f90e27d80
tabs to spaces, no logic change
9 years ago
Jay Sorg
dcdb617e63
for Xvnc sesman session, use hash of password for vnc auth
9 years ago
Jay Sorg
7889ee638e
sesman: close sync and term sockets after fork
9 years ago
mirabilos
57a7f18cb3
add historic GPLv2+ to Simone’s files
...
this becomes GPLv3+ when combined with Apache v2 licenced files
9 years ago
Blindauer Emmanuel
12092e8098
Allow to reconnect with a different size while using the Xorg module
9 years ago
Jay Sorg
d91de3c1cc
sesman: remove rfbDes calls
9 years ago
Jay Sorg
870437ac42
sesman: don't use hard code path for Xorg
9 years ago
itamarjp
c5cac75593
add more missing files into extra_dist
10 years ago
itamarjp
960cc62a0e
add missing files into extra_dist,
...
this is required when using make dist to generate a tarball
10 years ago
Jay Sorg
6c23b85593
add timeout to trans_get_wait_objs_rw
10 years ago
Koichiro IWAO
67ff276d4d
sesman: add copyright noice for code from OpenSSH
10 years ago
Koichiro IWAO
481653e5f3
sesman: merge FreeBSD local patch for session.c
...
net/xrdp: effective login name is not set by xrdp-sesman
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157282
10 years ago
Koichiro IWAO
53ea01d51e
fuse: use EIO instead of EREMOTEIO for BSDs
...
FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
10 years ago
jsorg71
f9c848f3ca
Merge pull request #225 from metalefty/chansrv-explicit-include
...
chansrv: explicit include in chansrv_fuse.c
10 years ago
Jay Sorg
9e310fbe06
clipboard file paste, don't add new line to last line
10 years ago
Koichiro IWAO
647c72b75b
chansrv: explicit include in chansrv_fuse.c
...
chansrv_fuse.c includes chansrv_fuse.h even if XRDP_FUSE is not
defined. However, time_t is used in chansrv_fuse.h. This causes
build failure on FreeBSD.
10 years ago
jsorg71
4f60b58b17
Merge pull request #212 from robertalks/devel
...
fix possible segfault in chansrv if DISPLAY is not set
10 years ago
Koichiro IWAO
ac9ff52c1b
sesman: void function should not return a value
10 years ago
mancha
d432609c2a
sesman: fix so shadow accounts aren't incorrectly classified "inactive"
...
as might happen if sp_max/sp_inact fields are empty or sp_lstchg=0.
10 years ago
Jay Sorg
4dd78c1b8e
minor change in opus encoding
10 years ago
Robert Milasan
f59c925f8b
fix possible segfault in chansrv if DISPLAY is not set
10 years ago
Jay Sorg
9c5c0660b2
chansrv: reset opus support on init
10 years ago
Jay Sorg
2f5b84b712
chansrv: added opus audio compression for playback
10 years ago
Jay Sorg
bff2009147
chansrv: change to 44100 recording, disconnect / reconnect fixes
10 years ago
Jay Sorg
47de7a67f6
sesman: verify_user_bsd.c license change and indent
10 years ago
Thomas Goddard
22f1ff2f25
Merge pull request #188 from renaudallard/devel
...
Enable bsdauth authentication.
10 years ago
Jay Sorg
cb4f299899
sesman: fix for --enable-nopam
10 years ago
Renaud Allard
803af49a04
Some fixes to compile properly since this version has change a lot from 0.6.1
10 years ago
Renaud Allard
618ca587a5
Enable authenticate user using BSD password system
10 years ago
speidy
c159505980
chansrv: fix for segfault issue in chansrv_common
10 years ago
Jay Sorg
942cdf300e
sesman: avoid creation of .vnc directory if not vnc session
10 years ago
Jay Sorg
253f6ff555
sesman: only check vnc auth file if vnc session
10 years ago
Jay Sorg
f41a11d2c4
chansrv: some recording fixes
10 years ago
Jay Sorg
290bafe173
pulse: fix for recording delay
10 years ago
Jay Sorg
851c762ee7
sesman: check for null from crypt()
10 years ago
Jay Sorg
29ebab2ce5
sesman: hand merge #176 from v0.6 branch, indent changes
10 years ago
Laxmikant Rashinkar
a3e017cd58
restart listener when corresponding sound source/sink connections are closed
10 years ago
Laxmikant Rashinkar
122d8bc057
sound redirection: handle fragmented packets
10 years ago
Laxmikant Rashinkar
c0839cd6a5
when closing audio source, don't flush audio data if audio buffer is empty
10 years ago
BLINDAUER Emmanuel
b6eb6d9696
If auth fails, call pam_end so PAM backends can call _cleanup
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
748b48d870
sesman: more checks when looking for a free display
10 years ago
Jay Sorg
8397055e8b
move some hard code paths to defines in header
10 years ago
Jay Sorg
e4d054654f
pulse sink: check for partial sends
10 years ago
Jay Sorg
2e17b70fcd
chansrv: sound_send_wave_data changes
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
e4654b57ca
coverity: Resource leak (2nd round)
10 years ago
Laxmikant Rashinkar
a9d7c13147
coverity: read from pointer after free
10 years ago
Laxmikant Rashinkar
5e537ebdfe
coverity: explicit null dereferenced
10 years ago
Laxmikant Rashinkar
0311a82c0a
coverity: copy into fixed sized buffer
10 years ago
Laxmikant Rashinkar
1c423dadf4
coverity: copy into fixed sized buffer
10 years ago
Laxmikant Rashinkar
0915d33d70
coverity: dead code
10 years ago
Laxmikant Rashinkar
27055d5762
coverity: improper use of negative value
10 years ago
Laxmikant Rashinkar
fde7be5151
coverity: fixed issue argument cannot be negative
11 years ago
Laxmikant Rashinkar
0c63a8feb3
coverity: Dereference after null check
11 years ago
Laxmikant Rashinkar
a990287c46
coverity: fixed unchecked return value from library
11 years ago
Laxmikant Rashinkar
023c0b5bc1
coverity: fixed out of bounds read-write
11 years ago
Laxmikant Rashinkar
73578bc612
coverity: fixed unchecked return value
11 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
11 years ago
Jay Sorg
6d3af904d3
sesman: sound.c: no logic change, remove tabs and warning
11 years ago
speidy
cbc8317c6d
chansrv: sound: prevent an infinite loop when the connection with pulse audio is closed improperly
11 years ago
Jay Sorg
c8e61a8042
chansrv: more remove simple sound
11 years ago
Jay Sorg
17bbecabd3
chansrv: remove simple sound and load pulse modules
11 years ago
Jay Sorg
944be3afa3
chansrv: some rail fixes from A8
11 years ago
Jay Sorg
d1ca03c9fb
pcsc, add hexdump for debugging
11 years ago
Jay Sorg
d5ea23ed48
pcsc smartcard fixes form 64 bit from Ken
11 years ago
Jay Sorg
380c1f6b7d
sesman: change from using PULSE_CONFIG to PULSE_SCRIPT
11 years ago
Jay Sorg
49fcc23673
sesman: added SessionVariables to sesman.ini and some indent cleanup
11 years ago
Idan Freiberg
42de994741
Merge pull request #122 from speidy/devel
...
Compilation fix for pulse source module + Merge some fixes from master branch
11 years ago
speidy
eda3a2db65
chansrv: sound: zero out ack flags when sound_send_close called, to
...
avoid deadloop when chunk is sent and not acked back by the client.
11 years ago
speidy
d7b49762fa
pulseaudio: let module-xrdp-source compile on CentOS6 (PA 0.9.21)
11 years ago
speidy
e17d2375ea
Merge branch 'master' of https://github.com/neutrinolabs/xrdp into devel
11 years ago
Jay Sorg
e65c237503
pulse: fix for build with pulseaudio 4.0+
11 years ago
Jay Sorg
1934c9ea00
sesman: more options for session lookup from Fredy Paquet
11 years ago
Jay Sorg
03a5914609
chansrv: make fuse mount directory configurable
...
Conflicts:
sesman/sesman.ini
11 years ago
jsorg71
4f4a7a8c8c
Merge pull request #102 from bartw72/lock-on-add
...
Set lock when adding new displays to the chain
11 years ago
speidy
5f7a4b46fb
sesman: indentation fix
11 years ago
speidy
8566230442
sesman: do reconnect to an exisitng Xorg session
11 years ago
Jay Sorg
261d35eaac
misc fixes for Xorg and compile
11 years ago
Jay Sorg
c34ba69ad8
sesman: add -nolisten tcp to the ini file for Xorg
11 years ago
Laxmikant Rashinkar
6e85223a8a
xorg driver module: we now access xorg driver module from /usr/lib/xorg
11 years ago
Laxmikant Rashinkar
ac6717e32e
fixed some connection issues when using xorg driver mode
11 years ago
Laxmikant Rashinkar
883650700f
added support for using Xorg driver model
11 years ago
Laxmikant Rashinkar
47071be4d4
simplesound: fixed CHANSRV_PORT_STR undefined error
11 years ago
Laxmikant Rashinkar
e7445a2544
o default login limit is now 50 users (instead of 10)
...
o we now wait for 30 seconds for session connection (instead of 1)
o if AUTO_LOGON flag is set but username is null, we force login dialog to show up
11 years ago
Laxmikant Rashinkar
221b049ca5
clean up temp files in /tmp/.xrdp
11 years ago
Laxmikant Rashinkar
c8e36aa91e
Merge branch 'devel' of github.com:/neutrinolabs/xrdp into devel
11 years ago
Laxmikant Rashinkar
b205654e78
bringup RAIL only when we receive a RAIL command
11 years ago
Jay Sorg
f14986ec59
chansrv: fix for audio falling behind and growing memory
11 years ago
Laxmikant Rashinkar
33e6c7a834
pulseaudio: fixed some build issues
11 years ago
Laxmikant Rashinkar
82b7ccae96
we now load module-xrdp-sink/source automatically so user's dont have to mess around with configuring /etc/pulse/default.pa config file
11 years ago
Laxmikant Rashinkar
43b7b84182
missed some files for microphone redirection using rdesktop
11 years ago
Laxmikant Rashinkar
f0560e1467
added support for microphone redirection using rdesktop
11 years ago
Jay Sorg
9f8d369747
chansrv: smartcard, fix for SCardControl, SCardTransmit
11 years ago
Jay Sorg
2aa92fd6a8
chansrv: minor change in child_signal_handler
11 years ago
Jay Sorg
3e521a5298
chansrv: pcsc, fix for g_rgSCard* structs and added some debug logging
11 years ago
Jay Sorg
052153274b
chansrv: mstsc SCardConnect fixes
11 years ago
Jay Sorg
38eba8aac1
chansrv: work on smartcard, mstsc and 64 bit client
11 years ago
Jay Sorg
1483c75911
chansrv: work on smartcard stability, handle multi threaded calls, app crashes, etc
11 years ago
Jay Sorg
b34cbe8a3e
chansrv: got \?PnP?\Notification working, handle pcsc exit without cleanup
11 years ago
Jay Sorg
aec48211d5
chansrv: disable rail for now
11 years ago
Bart Warmerdam
6318d8ef0f
Set lock when adding new displays to the chain
11 years ago
Jay Sorg
cd2eca5573
chansrv: some minor smartcard changes
11 years ago
Jay Sorg
e118463ebc
chansrv: winscard.dll wrapper, fix missing GetProcAddress and added some more logging
11 years ago
Jay Sorg
3069922500
chansrv: work on smartcard
11 years ago
Jay Sorg
e85e4634c7
chansrv: added winscard.dll wrapper
11 years ago
Jay Sorg
ef51e44119
chansrv: handle smartcard session reconnect and some logging changes
11 years ago
Jay Sorg
16deb72678
chansrv: support drdynvc v3 along with v2
11 years ago
Jay Sorg
8d00fed35c
chansrv: added some dumps for reference only
11 years ago
Jay Sorg
de9fa3d5fa
chansrv: smartcard, more work on support for MSTSC
11 years ago
Jay Sorg
f265c14499
chansrv: smartcard, work on getting MSTSC working
11 years ago
Jay Sorg
50962fadcd
chansrv: fix some warning
11 years ago
Jay Sorg
97537587a8
chansrv: remove g_sent, not needed anymore
11 years ago
Jay Sorg
1955e59a02
chansrv: fix for getstatuschange
11 years ago
Jay Sorg
3d4fbb883a
chansrv: work on getting MSTSC smartcard working
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
a1d7479345
chansrv: smart card minor change
11 years ago
Jay Sorg
6c03868492
chansrv: fix for firefox smart card
11 years ago
Jay Sorg
2943650685
chansrv: reduce smart card debug logging
11 years ago
Jay Sorg
62bdacda9b
chansrv: work on smartcard
11 years ago
Jay Sorg
b69c144c7d
chansrv: work on smartcard
11 years ago
Jay Sorg
df8e6eea13
Merge remote-tracking branch 'fxrdp/master'
11 years ago
Jay Sorg
a695886f81
chansrv: work on smartcard
11 years ago
Jay Sorg
538763e144
sesman: Fedora bug 821569
11 years ago
Jay Sorg
c1b7cbd657
merges from authentic8
11 years ago
Laxmikant Rashinkar
5e005bf26c
Merge branch 'master' of github.com:neutrinolabs/xrdp
11 years ago
Laxmikant Rashinkar
52fb1f9854
scard: added more messages
11 years ago
Laxmikant Rashinkar
06f01f6c37
Merge branch 'master' of github.com:neutrinolabs/xrdp
11 years ago
Laxmikant Rashinkar
379685bfca
FUSE: we now process only one opendir command at a time
11 years ago
Jay Sorg
675e1b86c4
chansrv: work on smartcard
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
Laxmikant Rashinkar
db71bc5d8b
smartcard: added more messages
11 years ago
Jay Sorg
9263b22cb2
chansrv: work on smartcard
11 years ago
Jay Sorg
d926a5becd
chansrv: work on smartcard
11 years ago
Jay Sorg
b206de3314
pcsc: work on pcsclite lib
11 years ago
Laxmikant Rashinkar
0ef89c02ab
scard: changed the way we store and pass context
11 years ago
Laxmikant Rashinkar
a1352b62e3
scard: added more messages
11 years ago
Jay Sorg
68371ed361
chansrv: work on smartcard
11 years ago
Jay Sorg
edf483ecb6
chansrv: work on smartcard
11 years ago
Laxmikant Rashinkar
215956353f
scard: added support for connect call
11 years ago
Laxmikant Rashinkar
188ca68adb
scard: added GetStatusChange() msg
11 years ago
Jay Sorg
2d112bac8f
chansrv: work on smart card
11 years ago
Jay Sorg
a9f37229ac
chansrv: work on smartcard
11 years ago
Jay Sorg
d22b8b5ed0
chansrv: added timeout callback
11 years ago
Jay Sorg
5ef6aa20a4
pulse notes
11 years ago
Laxmikant Rashinkar
ece8f1fb47
gracefully handle segfaults in chansrv code
11 years ago
Jay Sorg
1a616a1b46
move text2bool to os_calls
11 years ago
Jay Sorg
6700eb18d7
kill disconencted, make work like man page and update man page
11 years ago
Jay Sorg
069838f355
hook up the kill disconnect timeout to the sesman config file
11 years ago
Jim Grandy
b3ee3cbd4b
Another merge error in sesman/chansrv/clipboar.c
11 years ago
Jim Grandy
72ec05d37e
fix merge error in sesman/chansrv/clipboard.c
11 years ago
Jim Grandy
a308d2e25c
Fix errors cause by previous merge ( 2361914
)
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
81d206ba68
Hand-apply patch (rail: send ShowState when window order changes) from Authentic8: c36a2d7
11 years ago
Jim Grandy
142a93829b
Hand-apply patches (chansrv/rail) from Authentic8: 516fd1d 6a4fb28 c038a99
11 years ago
Jim Grandy
9d4205ba7a
Hand-apply patch (chansrv: handle ReparentNotify) from Authentic8: 68cdc07
11 years ago
Jim Grandy
bd8083d7e2
Fix merge errors introduced in 3ae1b415
and 20ec9ee3
11 years ago
Jim Grandy
a32669f3ef
Hand-apply patches (rail) from Authentic8 branch: e94d059 c36dc61
11 years ago
Jim Grandy
173ed7056f
Hand-apply patches (rail) from Authentic8: b01207f b9807e9 42f0128 0f0750c aef2dce
11 years ago
Jim Grandy
af4e42a08d
Hand-apply patches (rail) from Authentic8: bc68076
11 years ago
Jim Grandy
2036010e0c
Hand-apply patches (rail improvements) from Authentic8 branch: 6d97878
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
Laxmikant Rashinkar
09dd58c5e1
clipboard: enabled module logging
11 years ago
Laxmikant Rashinkar
6381941c78
FUSE: changed architecture to use opendir/readdir instead of just readdir
11 years ago
Laxmikant Rashinkar
d2de1b703b
Merge branch 'master' of github.com:neutrinolabs/xrdp
11 years ago
Laxmikant Rashinkar
23433c9c7e
fuse: added support for detecting files/directories deleted locally
11 years ago
Jay Sorg
8b48e2274e
chansrv: work on smartcard
11 years ago
Jay Sorg
e427113fa8
chansrv: work on smartcard redir
11 years ago
Jay Sorg
2515caa66a
sesman: added a env var to know when xrdp session
12 years ago
Jay Sorg
17bf2abe30
xorg driver, include cleanup
12 years ago
Jay Sorg
45492057c5
Merge branch 'master' of github.com:neutrinolabs/xrdp
12 years ago
Jay Sorg
29420b3134
chansrv: no logic change, work on warning
12 years ago
speidy
aab0176867
chansrv: fix for pulse simple method, to get it work again.
12 years ago
Jay Sorg
0aa3dbe738
chansrv: no logic change, EOL and coding style cleanup
12 years ago
Lukas Vacek
1341e64062
Revert "Fix path to config.c in sesman/tools/Makefile.am"
...
This reverts commit a0f8afca50
.
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
Lukas Vacek
a0f8afca50
Fix path to config.c in sesman/tools/Makefile.am
12 years ago
Jay Sorg
c20b447f21
sesman: pid string match xrdp length
12 years ago
Jay Sorg
a6592ed690
sesman: fix for reading pid file
12 years ago
Laxmikant Rashinkar
78498f6682
Merge branch 'master' of github.com:neutrinolabs/xrdp
12 years ago