Jay Sorg
689ffe79d9
fix warnings, move some calls to os_calls
9 years ago
Pavel Roskin
92a6833e9b
Fix typos
9 years ago
Pavel Roskin
fe055e989a
Fix connection month display in xrdp-sesadmin
...
tm_mon in `struct tm` uses 0 for January.
`struct session_data` and `struct SCP_DISCONNECTED_SESSION` don't specify
how dates are stored. But considering the code in sestest and sesadmin,
all date components are stored as displayed.
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
7889ee638e
sesman: close sync and term sockets after fork
9 years ago
Blindauer Emmanuel
12092e8098
Allow to reconnect with a different size while using the Xorg module
9 years ago
Jay Sorg
870437ac42
sesman: don't use hard code path for Xorg
9 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
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
748b48d870
sesman: more checks when looking for a free display
10 years ago
Laxmikant Rashinkar
27055d5762
coverity: improper use of negative value
11 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
11 years ago
Jay Sorg
49fcc23673
sesman: added SessionVariables to sesman.ini and some indent cleanup
11 years ago
speidy
e17d2375ea
Merge branch 'master' of https://github.com/neutrinolabs/xrdp into devel
11 years ago
Jay Sorg
1934c9ea00
sesman: more options for session lookup from Fredy Paquet
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
Laxmikant Rashinkar
883650700f
added support for using Xorg driver model
11 years ago
Laxmikant Rashinkar
221b049ca5
clean up temp files in /tmp/.xrdp
11 years ago
Bart Warmerdam
6318d8ef0f
Set lock when adding new displays to the chain
11 years ago
Jay Sorg
538763e144
sesman: Fedora bug 821569
11 years ago
Jay Sorg
069838f355
hook up the kill disconnect timeout to the sesman config file
11 years ago
Jay Sorg
c6fa03102f
copyright year update
12 years ago
Jay Sorg
62a4403dd4
sesman: cleanup, close xrdp to sesman socket listener when starting a session / forking
12 years ago
Jay Sorg
75f4c3ca58
sesman: cleanup, close xrdp to sesman socket when starting a session / forking
12 years ago
Laxmikant Rashinkar
1123323fda
o moved from GNU General Public License to Apache License, Version 2.0
...
o applied new coding standards to all .c files
o moved some files around
12 years ago
Jay Sorg
10e283ed16
sesman: run sessvc and chansrv as user, not root
13 years ago
Jay Sorg
d8b8ca93b0
sesman: exit after fork if reconnectwm.sh does not exist
13 years ago
Jay Sorg
a246fd582d
sesman: added option to run reconnectwm.sh on session reconnect
13 years ago
Jay Sorg
856783ba95
no logic changes, remove warnings and coding style changes
13 years ago
norrarvid
4d4ebbf363
Initial syslog support in XRDP
13 years ago
Jay Sorg
3ada04b8ca
X11rdp needs bpp to match to reconnect / resize
13 years ago
Jay Sorg
4c603d9855
X11rdp can resize sessions now
13 years ago
Jay Sorg
4f88bf83c1
fixes for bell function
14 years ago
Nicola Ruggero
3ba752e7b7
Removed dead code re-introduced erroneously in commit 4cf06dbbcb
14 years ago
Nicola Ruggero
d797b2cf49
Implemented client IP logging
14 years ago
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.)
14 years ago
Nicola Ruggero
36ef046e3c
Improved logging. Patch by aaron
14 years ago
jsorg71
e83b4c43f5
added X11DisplayOffset sesman option
15 years ago
jsorg71
abba73f9bc
fix for session persistence
15 years ago
jsorg71
00ec87700b
remove some dead code
15 years ago
jsorg71
328649af9b
g_thread_sck set outside of lock fix and g_cfg should always be a pointer to a struct
15 years ago
jsorg71
52af655800
use type when looking for a session
15 years ago
jsorg71
32292b5353
wait for xserver to start
15 years ago
jsorg71
df8527b251
pass domain, program, and directory to sesman and use directory and program
16 years ago
jsorg71
9922d2aef6
added x_server_running_check_ports
16 years ago