Commit Graph

48 Commits

Author SHA1 Message Date
matt335672 ce355fc235 Allow for xrdp not being able to delete PID file
If xrdp is running with dropped privileges it won't be able to delete
the PID file it's created. Places where xrdp is stopped need to cater
for this.

It's prefereable to do this than make the PID file writeable by xrdp
with dropped privileges, as this can still lead to DoS attacks if an
attacker manages to modify the PID file from a compromised xrdp
process.
2024-07-01 11:11:21 +01:00
matt335672 bd49d2f690 Regenerate keymap files in new format 2024-05-24 16:34:19 +01:00
Roland Kaufmann a9eb5a17d2 Detect and setup Programmer Dvorak keyboard layout
This patch will add the keyboard layout identifier for the Programmer
Dvorak keyboard layout, so that if a Windows client has that layout
active, it will be mapped to the corresponding xkeyboard-config layout
in the X server.

An XFreeRDP client knows about this layout too, and will correspondingly
map it to the identifier given here, making the layout propagate
correctly through X-to-X connections as well.

To replicate the full Windows keyboard layout several options have to
be set as well as the main layout. To avoid having these options spill
over to other layouts that are dumped, the old settings are stored
before the dump and then restored afterwards.
2020-08-26 17:55:25 +02:00
Koichiro IWAO a20f99d3d1
Remove xrdp.sh from Makefile and document as well 2019-12-11 17:09:08 +09:00
netromnetrom ee1c24dd47
Update Makefile.am 2019-02-05 16:54:38 +01:00
Koichiro IWAO 258a7a12ac
add Spanish (Latin Amarican) keyboard
Closes #1237.
2018-11-01 09:24:51 +09:00
Koichiro IWAO 72b5088449
FreeBSD: separate rc script into xrdp and xrdp-sesman
to improve fscd(8)[1] compatibility. fscd(8) monitors daemons and
restarts after daemons crashed. We usually want to start, stop, and
restart xrdp and xrdp-sesman separately because restarting xrdp-sesman
means losing existing sessions. This change will enable fscd(8) not to
restart xrdp-sesman together when only xrdp daemon crashes.

Now rc.d/xrdp mainly has following commands:

* start      - starts xrdp
* stop       - stops xrdp
* restart    - stops xrdp, then starts it again
* allstart   - starts both xrdp and xrdp-sesman
* allstop    - stops both
* allrestart - stops both, then start them again
* status     - returns status of xrdp

rc.d/xrdp-sesman doesn't have all- prefixed commands.

[1] https://www.freshports.org/sysutils/fsc/
2018-05-30 01:27:23 +09:00
Vraiment 09712d70ad Added PAM support for MacOS 2018-02-07 21:21:59 +09:00
Soedarsono 3c3eb9ed73 Add dvorak keyboard layout 2017-11-01 10:24:54 -07:00
Koichiro IWAO 22dc148802 instfiles: don't include generated *.services files in distribution
Solves #848.
Pointed out by: Fuminobu TAKEYAMA (@ftake)
2017-08-16 13:50:52 +09:00
Koichiro IWAO e879cf5fce add TODO comments 2017-05-31 16:27:23 +09:00
Koichiro IWAO bedf04cd9f instfiles: substitute directories in systemd service files
Do not expect prefix is always /usr. /usr/local is often used when users
compile xrdp manually.
2017-05-31 16:27:23 +09:00
Pavel Roskin 8a1de8dbc4 Remove trailing whitespace 2017-02-08 13:30:56 +09:00
Pavel Roskin c21b9a78f4 Distribute all files except git and github specific data
It is better to distribute a few useless file than not to distribute
needed files.
2016-12-18 00:00:11 -08:00
Westporch be58f2d547 Sort alphabetically 2016-12-14 15:27:03 +09:00
Westporch 2bac73eba3 Add Korean keymap 2016-12-14 14:41:11 +09:00
Koichiro IWAO d1dc5b7814 instfiles: unify km-*0411.ini into km-00000411.ini
as they're identical and no longer need to duplicate them after
commit 5725200.
2016-11-30 18:38:41 +09:00
Koichiro IWAO cab8955ea4 add Finnish keyboard
Closes #70
2016-11-02 14:49:47 +09:00
Koichiro IWAO f62b55c547 switch newly added keymaps to 8 hex digit 2016-10-24 15:21:14 +09:00
Koichiro IWAO c654c86206 Switch to 8 hex digit keymapfile
as the value keyboardLayout is actually 32-bit unsigned integer.
See [MS-RDPBCGR] - v20160714 p.45.
2016-10-24 15:19:23 +09:00
Itamar Reis Peixoto d4f350758b add km-040a.ini keyboard 2016-10-21 16:33:57 -02:00
Pavel Roskin 7e8863b0f2 Add UK English keyboard and code to generate it 2016-09-05 22:12:17 -07:00
Pavel Roskin 22e6f3e2f7 Use SCRIPTS for executable scripts, don't use "chmod 755" 2016-02-22 23:13:16 -08:00
Pavel Roskin 7642675ddf Use "dist_" prefix to minimize use of EXTRA_DIST
"dist" is ignored in presense of "noinst", so keep noinst_man_MANS.
2016-02-22 22:11:57 -08:00
Pavel Roskin 9a1dea8e50 Fix sloppy formatting in instfiles/Makefile.am
Use spaces around = and +=, indent by 2 spaces.
2016-02-12 23:52:45 -08:00
Koichiro IWAO 7136fe608f instfiles: add km-100c.ini to Makefile.am
Closes neutrinolabs/xrdp#280.
2015-11-11 11:01:00 +09:00
Itamar Reis Peixoto 04f8982f5e add missing .ini files into extra_dist, so they will appear in xrdp tarball after a make dist 2015-08-30 19:03:12 -03:00
itamarjp c5cac75593 add more missing files into extra_dist 2015-07-14 12:16:25 -03:00
Koichiro IWAO 0f8f03e9cf instfiles: merge rc script from FreeBSD
- merge rc script from FreeBSD
- modify Makefile.am to detect OS and install suitable files
2015-06-18 16:25:39 +09:00
speidy 8904252a98 instfiles: Add line seperator to makefile 2015-05-02 11:51:38 +03:00
jsorg71 830a93d824 Merge pull request #235 from metalefty/init-scripts-on-systemd
instfiles: init.d/xrdp shouldn't be installed on systemd system
2015-05-01 17:45:06 -07:00
Koichiro IWAO 2ce05038fd instfiles: default/xrdp is not needed as well on systemd 2015-04-27 09:28:27 +09:00
Thomas Spalinger 04b729ccd1 finish for supporting swiss german keyboard 2015-04-19 16:33:26 -07:00
Koichiro IWAO ea0aba4ae3 instfiles: init.d/xrdp shouldn't be installed on systemd system
On systemd system, at least CentOS 7, `service foo start` command
works as wrapper of `systemctl start foo`.  However, xrdp installs
init script into /etc/init.d/xrdp.  This script is not necessary
for systemd system, and, what is worse,  if init.d/xrdp exists,
`service xrdp start` works as wrapper to run init.d/xrdp. Maybe
this is inconvinient for many users.
2015-04-17 10:07:42 +09:00
Koichiro IWAO 67570b45de Add Japanese keymap 2014-12-01 16:32:18 +09:00
Michał Górny cc3231272d Install and enable 0415/pl keymap 2014-10-27 12:53:19 +01:00
Jay Sorg 1d1eb037f3 added defautl.pa 2014-05-20 00:50:41 -07:00
Congyi Wu 171aa36a51 Fix absolute path in instfiles/Makefile.am 2013-10-23 00:43:54 -04:00
cocoon ec7d1b4c38 dynamically insert prefix path into init script
using sed -i when running make install
2013-07-05 21:55:14 +02:00
Gustavo Homem ec0f41df3c fix xrdp init script permissions 2013-03-20 11:57:16 +00:00
Gustavo Homem 4c24a5605d Changes related to integration 2013-03-18 22:06:10 +00:00
Itamar Reis Peixoto a3d63eb5e0 add systemd support into xrdp 2012-05-26 14:15:45 -03:00
Itamar Reis Peixoto 350c3c2488 include more files missed in make dist 2010-11-20 22:13:50 -02:00
jsorg71 90bf3cd911 update keymaps 2009-10-09 08:03:15 +00:00
jsorg71 85ae1cd27e keymap changes 2009-08-12 01:53:34 +00:00
jsorg71 a34ca6793a remove /etc/init.d changes and auto keygen 2009-08-08 01:35:28 +00:00
jsorg71 f1ebdf189e added post install hook 2008-08-17 23:08:17 +00:00
jsorg71 70321aa6c6 add instfiles 2008-08-17 07:17:58 +00:00