summaryrefslogtreecommitdiffstats
path: root/sesman/session.c
Commit message (Collapse)AuthorAgeFilesLines
* Disable SHM access between XUP and Xorg as they are not running on the same ↵Timothy Pearson2019-03-171-0/+2
| | | | machine
* Don't try connecting to remote node if preliminary node allocation has ↵Timothy Pearson2019-03-171-7/+17
| | | | failed for any reason
* Fix mergeTimothy Pearson2019-03-171-6/+6
|
* Add master node session recovery supportTimothy Pearson2019-03-171-7/+30
|
* Fix a number of problemsTimothy Pearson2019-03-171-10/+158
| | | | System is now mostly stabilized
* Add preliminary Raptor session managementTimothy Pearson2019-03-171-2/+52
|
* Fix recently introduced warnings in session.cPavel Roskin2016-04-211-10/+10
| | | Use of tabs is fixed as well.
* sesman: do not hardcode Xorg/X11rdp/Xvnc executablesKoichiro IWAO2016-04-071-7/+20
| | | | | | | | | | | | | | | | 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
* fix warnings, move some calls to os_callsJay Sorg2016-03-161-6/+7
|
* Fix typosPavel Roskin2016-02-131-3/+3
|
* Fix connection month display in xrdp-sesadminPavel Roskin2016-02-131-1/+1
| | | | | | | 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.
* sesman: remove the threadJay Sorg2015-12-111-175/+45
|
* Simplify session match logic.Jan Losinski2015-10-251-20/+2
| | | | | | | | | | | | | | | | | 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>
* sesman: close sync and term sockets after forkJay Sorg2015-09-271-0/+5
|
* Allow to reconnect with a different size while using the Xorg moduleBlindauer Emmanuel2015-08-191-1/+1
|
* sesman: don't use hard code path for XorgJay Sorg2015-08-031-2/+2
|
* sesman: add copyright noice for code from OpenSSHKoichiro IWAO2015-06-161-0/+5
|
* sesman: merge FreeBSD local patch for session.cKoichiro IWAO2015-06-161-0/+36
| | | | | net/xrdp: effective login name is not set by xrdp-sesman https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=157282
* sesman: avoid creation of .vnc directory if not vnc sessionJay Sorg2014-11-111-1/+7
|
* sesman: only check vnc auth file if vnc sessionJay Sorg2014-11-111-1/+1
|
* sesman: more checks when looking for a free displayJay Sorg2014-08-061-0/+30
|
* coverity: improper use of negative valueLaxmikant Rashinkar2014-07-261-12/+18
|
* coverity: fixed resolution leak issuesLaxmikant Rashinkar2014-07-191-0/+6
|
* sesman: added SessionVariables to sesman.ini and some indent cleanupJay Sorg2014-05-091-4/+10
|
* Merge branch 'master' of https://github.com/neutrinolabs/xrdp into develspeidy2014-04-221-0/+6
|\
| * Merge pull request #102 from bartw72/lock-on-addjsorg712014-04-171-0/+6
| |\ | | | | | | Set lock when adding new displays to the chain
| | * Set lock when adding new displays to the chainBart Warmerdam2013-12-161-0/+6
| | |
* | | sesman: more options for session lookup from Fredy PaquetJay Sorg2014-04-201-16/+43
| | |
* | | sesman: indentation fixspeidy2014-03-221-2/+2
| | |
* | | sesman: do reconnect to an exisitng Xorg sessionspeidy2014-03-221-0/+3
| | |
* | | added support for using Xorg driver modelLaxmikant Rashinkar2014-03-081-3/+34
|/ /
* | clean up temp files in /tmp/.xrdpLaxmikant Rashinkar2014-02-241-0/+1
| |
* | sesman: Fedora bug 821569Jay Sorg2013-10-011-70/+77
| |
* | hook up the kill disconnect timeout to the sesman config fileJay Sorg2013-08-241-0/+7
|/
* copyright year updateJay Sorg2013-06-081-1/+1
|
* sesman: cleanup, close xrdp to sesman socket listener when starting a ↵Jay Sorg2013-05-281-0/+2
| | | | session / forking
* sesman: cleanup, close xrdp to sesman socket when starting a session / forkingJay Sorg2013-05-281-0/+2
|
* o moved from GNU General Public License to Apache License, Version 2.0Laxmikant Rashinkar2012-09-191-797/+856
| | | | | o applied new coding standards to all .c files o moved some files around
* sesman: run sessvc and chansrv as user, not rootJay Sorg2012-07-221-2/+4
|
* sesman: exit after fork if reconnectwm.sh does not existJay Sorg2012-07-161-1/+2
|
* sesman: added option to run reconnectwm.sh on session reconnectJay Sorg2012-07-161-4/+60
|
* no logic changes, remove warnings and coding style changesJay Sorg2012-06-101-12/+12
|
* Initial syslog support in XRDPnorrarvid2012-05-271-38/+74
|
* X11rdp needs bpp to match to reconnect / resizeJay Sorg2011-08-241-1/+2
|
* X11rdp can resize sessions nowJay Sorg2011-08-231-0/+11
|
* fixes for bell functionJay Sorg2010-11-181-1/+1
|
* Removed dead code re-introduced erroneously in commit ↵Nicola Ruggero2010-11-041-1/+0
| | | | 4cf06dbbcb8522be5fa069976c8f361fc874039f
* Implemented client IP loggingNicola Ruggero2010-11-041-5/+7
|
* Major code cleanup:Nicola Ruggero2010-11-031-10/+25
| | | | | | | - Initialized and zeroed out local variables - Check for some null pointers - Fixed some typos - Other minor changes (beautify, etc.)
* Improved logging. Patch by aaronNicola Ruggero2010-10-261-0/+1
|