Commit Graph

37 Commits

Author SHA1 Message Date
Koichiro IWAO
021b79ba55 docs: remove IdleTimeLimit until it is actually implemented
it gives users false hope and finally disappoints them.
2017-01-31 05:07:06 -03:00
Pavel Roskin
9cbf3d1bb8 Change default Xorg logfile to .xorgxrdp.%s.log
The log file is created in the home directory, %s is replaced with the
display number (e.g. 10).

If Xorg is run setuid root, it can refuse to run if the log path is
absolute.
2016-12-06 15:10:01 -08:00
Pavel Roskin
15c4c47811 Remove "-ac" from X server parameters, it's insecure and unnecessary
Fedora patches sesman.ini to remove "-ac", and that doesn't cause any ill
effects.
2016-11-21 22:37:41 -08:00
Koichiro IWAO
cb1960e0fc config: use semicolon to comment out descriptions in config files
and use number sign to comment out actual configurations.
For example:

    ; if set to true, enables foobar
    #foobar=true
2016-11-16 14:15:44 +09:00
Koichiro IWAO
4f2d94505a config: unify all boolean values in config to true/false 2016-11-16 14:15:44 +09:00
Pavel Roskin
0d72cced46 Omit numbers from the "param" keys, they are not needed
Users assume that they need to renumber the parameters. That makes
parameter editing more involved than it needs to be.
2016-11-15 20:55:03 -08:00
Dominik George
c90bc13d39
Move -logfile /dev/null option for easier commenting in debug scenarios. 2016-10-28 16:45:05 +02:00
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
2016-04-07 18:34:43 +09:00
Jay Sorg
380c1f6b7d sesman: change from using PULSE_CONFIG to PULSE_SCRIPT 2014-05-10 16:08:58 -07:00
Jay Sorg
49fcc23673 sesman: added SessionVariables to sesman.ini and some indent cleanup 2014-05-09 16:02:19 -07:00
Jay Sorg
1934c9ea00 sesman: more options for session lookup from Fredy Paquet 2014-04-20 00:42:19 -07:00
Jay Sorg
03a5914609 chansrv: make fuse mount directory configurable
Conflicts:

	sesman/sesman.ini
2014-04-19 17:14:34 -07:00
Jay Sorg
261d35eaac misc fixes for Xorg and compile 2014-03-14 12:23:12 -07:00
Jay Sorg
c34ba69ad8 sesman: add -nolisten tcp to the ini file for Xorg 2014-03-12 23:48:16 -07:00
Laxmikant Rashinkar
6e85223a8a xorg driver module: we now access xorg driver module from /usr/lib/xorg 2014-03-09 15:50:16 -07:00
Laxmikant Rashinkar
ac6717e32e fixed some connection issues when using xorg driver mode 2014-03-09 11:24:30 -07:00
Laxmikant Rashinkar
883650700f added support for using Xorg driver model 2014-03-08 16:41:37 -08:00
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
2014-02-28 19:28:31 -08:00
Jay Sorg
6700eb18d7 kill disconencted, make work like man page and update man page 2013-08-24 18:53:55 -07:00
ArvidNorr
876f356dad deny access if group is undefined 2013-01-31 15:19:58 +01:00
Jay Sorg
099a421c77 log: added path for when --prefix is used 2012-06-10 21:50:57 -07:00
norrarvid
4d4ebbf363 Initial syslog support in XRDP 2012-05-27 17:17:39 +02:00
Jay Sorg
e9c58226ba use unix domain socket for xrdp-X11rdp connection 2012-03-15 21:42:39 -07:00
Jay Sorg
4f88bf83c1 fixes for bell function 2010-11-18 21:05:32 -08:00
Jay Sorg
b6d386e584 no localhost for X11rdp, don't need to set dpi 2010-11-17 22:29:32 -08:00
Jay Sorg
a8e68b0d46 limit X server to localhost and set dpi 2010-10-22 20:03:04 -07:00
jsorg71
e83b4c43f5 added X11DisplayOffset sesman option 2010-04-24 06:41:55 +00:00
jsorg71
4d80c52387 add '-nolisten tcp' to X11rdp and Xvnc params 2009-09-04 03:57:43 +00:00
jsorg71
673aaa36b1 full path for xrdp-sesman.log file 2008-05-06 09:45:25 +00:00
ilsimo
9c4b9f8390 added sessvc as session supervisor
first code for password changing
2007-04-07 16:20:08 +00:00
ilsimo
2637efd4ee Adding MaxLoginRetry configuration option 2006-10-25 19:18:36 +00:00
jsorg71
7cdd7191a4 added ability to put extra Xserver parameters in sesman.ini 2006-09-18 04:40:43 +00:00
ilsimo
153b59ad84 new session list code
added support for new [sessions] configuration options
2006-01-13 15:51:23 +00:00
ilsimo
377181c943 added missing config directives 2005-12-21 20:34:32 +00:00
ilsimo
e7dbdea767 Adding logging functions and adding log options in config files 2005-10-23 21:47:17 +00:00
jsorg71
19d37b565c added user specific window manager startup script and SIGUP to reload sesman configuration 2005-09-25 03:30:09 +00:00
jsorg71
0aff0efb52 added session manager and fixed disconnect problems 2005-01-30 04:34:19 +00:00